Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve global error handler #1394

Merged
merged 6 commits into from
Aug 6, 2024

Conversation

gonzalojaubert
Copy link
Contributor

Description

Changes

  • Add ScheduleCommandHandler metadata
  • Add EventHandler metadata
  • Add Reducer metadata
  • Add Projection metadata
  • Add EventHandler envelope
  • Add Reducer envelope
  • Add Projection envelope

Checks

  • Project Builds
  • Project passes tests and checks
  • Updated documentation accordingly

@gonzalojaubert gonzalojaubert marked this pull request as draft April 11, 2023 09:28
@what-the-diff
Copy link

what-the-diff bot commented Apr 11, 2023

PR Summary

  • Improve GlobalErrorHandler
    Enhanced error handling capabilities
  • Update Error Handlers with New Parameters
    Increased context and information available when handling errors
  • Modify and Add Tests
    Ensure new features work as expected and maintain quality
  • Remove Deprecated ReadModelGlobalError
    Clean up codebase by removing unused and deprecated error handler
  • Rename and Update ScheduleCommandGlobalError
    Clarify error handler's purpose and provide more context for scheduled commands errors

@ghost
Copy link

ghost commented Apr 11, 2023

👇 Click on the image for a new way to code review

Review these changes using an interactive CodeSee Map

Legend

CodeSee Map legend

@DKarandikar
Copy link
Contributor

Hi @gonzalojaubert, we're just engaging with the global error handler in our Booster deployment and this looks like a useful set of changes. It would be great for us if we could get these changes in, pending approval from the Booster folks

Castro and others added 4 commits May 6, 2024 17:06
…handler

# Conflicts:
#	common/config/rush/pnpm-lock.yaml
#	packages/framework-core/src/booster-event-dispatcher.ts
#	packages/framework-core/src/booster-global-error-dispatcher.ts
#	packages/framework-integration-tests/integration/provider-unaware/functionality/errors.integration.ts
#	packages/framework-integration-tests/src/common/app-error-handler.ts
#	packages/framework-types/src/concepts/global-error-handler-metadata.ts
#	packages/framework-types/src/errors/snapshot-persist-handler-global-error.ts
…handler

# Conflicts:
#	packages/framework-core/src/booster-global-error-dispatcher.ts
#	packages/framework-core/src/services/event-store.ts
#	packages/framework-core/src/services/read-model-store.ts
#	packages/framework-integration-tests/src/common/app-error-handler.ts
#	packages/framework-types/src/concepts/global-error-handler-metadata.ts
#	packages/framework-types/src/errors/index.ts
#	website/docs/03_features/05_error-handling.md
@MarcAstr0
Copy link
Collaborator

/integration sha=959871a03c248e72f83953ae520930aa759fa5cb

@MarcAstr0 MarcAstr0 marked this pull request as ready for review August 5, 2024 16:22
Copy link
Contributor

github-actions bot commented Aug 5, 2024

⌛ Integration tests are running...

Check their status here 👈

Copy link
Contributor

github-actions bot commented Aug 5, 2024

✅ Integration tests have finished successfully!

Copy link
Collaborator

@davidverdu davidverdu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I left some non-blocking comments

@davidverdu davidverdu assigned davidverdu and MarcAstr0 and unassigned davidverdu Aug 6, 2024
@MarcAstr0 MarcAstr0 merged commit 84b93bc into boostercloud:main Aug 6, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants