feat(core): handle inline hook execution errors#9082
Draft
wangsijie wants to merge 1 commit into
Conversation
COMPARE TO
|
| Name | Diff |
|---|---|
| packages/console/src/cloud/types/router.ts | 📈 +249 Bytes |
| packages/console/src/consts/tenants.ts | 📈 +29 Bytes |
| packages/console/src/contexts/SubscriptionDataProvider/use-subscription-data.ts | 📈 +506 Bytes |
| packages/console/src/types/skus.ts | 📈 +28 Bytes |
| packages/core/src/mocks/cloud-connection.ts | 📈 +29 Bytes |
| packages/core/src/libraries/inline-hook.test.ts | 📈 +7.21 KB |
| packages/core/src/libraries/inline-hook.ts | 📈 +6.13 KB |
| packages/core/src/libraries/jwt-customizer.ts | 📈 +149 Bytes |
| packages/core/src/libraries/logto-config.ts | 📈 +1.91 KB |
| packages/core/src/queries/logto-config.test.ts | 📈 +1.74 KB |
| packages/core/src/queries/logto-config.ts | 📈 +705 Bytes |
| packages/core/src/queries/tenant-usage/types.ts | 📈 +48 Bytes |
| packages/core/src/tenants/Libraries.ts | 📈 +125 Bytes |
| packages/core/src/test-utils/mock-libraries.ts | 📈 +119 Bytes |
| packages/core/src/utils/custom-jwt/local-vm.test.ts | 📈 +3.46 KB |
| packages/core/src/utils/custom-jwt/local-vm.ts | 📈 +3.61 KB |
| packages/core/src/utils/subscription/index.ts | 📈 +350 Bytes |
| packages/core/src/utils/subscription/types.ts | 📈 +11 Bytes |
| packages/phrases/src/locales/en/errors/session.ts | 📈 +55 Bytes |
| packages/schemas/src/types/logto-config/index.test.ts | 📈 +1.2 KB |
| packages/schemas/src/types/logto-config/index.ts | 📈 +683 Bytes |
| packages/schemas/src/types/logto-config/inline-hook.ts | 📈 +1.9 KB |
902c353 to
c6d1802
Compare
ff82d5c to
1c83c98
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
onExecutionErrorfail-mode decisions for inline hook execution failures.session.hook_denied_accesserror phrase for PostSignIn denials.Testing
Unit tests