zitadel/cmd
Livio Spring 7f0378636b
fix(notifications): improve error handling (#8994)
# Which Problems Are Solved

While running the latest RC / main, we noticed some errors including
context timeouts and rollback issues.

# How the Problems Are Solved

- The transaction context is passed and used for any event being written
and for handling savepoints to be able to handle context timeouts.
- The user projection is not triggered anymore. This will reduce
unnecessary load and potential timeouts if lot of workers are running.
In case a user would not be projected yet, the request event will log an
error and then be skipped / retried on the next run.
- Additionally, the context is checked if being closed after each event
process.
- `latestRetries` now correctly only returns the latest retry events to
be processed
- Default values for notifications have been changed to run workers less
often, more retry delay, but less transaction duration.

# Additional Changes

None

# Additional Context

relates to #8931

---------

Co-authored-by: Tim Möhlmann <tim+github@zitadel.com>
2024-12-04 20:17:49 +00:00
..
admin chore: test server for direct resource access 2023-04-24 20:40:31 +03:00
build fix: allow version to be overwritten by build again (#4656) 2022-11-07 09:50:44 +00:00
encryption feat: action v2 signing (#8779) 2024-11-28 10:06:52 +00:00
hooks feat: support whole config as env (#6336) 2024-02-16 16:04:42 +00:00
initialise refactor(eventstore): move push logic to sql (#8816) 2024-12-04 13:51:40 +00:00
key feat: api v2beta to api v2 (#8283) 2024-07-26 22:39:55 +02:00
mirror feat: action v2 signing (#8779) 2024-11-28 10:06:52 +00:00
ready feat(v3alpha): web key resource (#8262) 2024-08-14 14:18:14 +00:00
setup feat(fields): add instance domain (#9000) 2024-12-04 18:10:10 +00:00
start feat: action v2 signing (#8779) 2024-11-28 10:06:52 +00:00
tls fix: enable env vars in setup steps (and deprecate admin subcommand) (#3871) 2022-06-27 10:32:34 +00:00
defaults.yaml fix(notifications): improve error handling (#8994) 2024-12-04 20:17:49 +00:00
zitadel.go fix(mirror): read config correctly (#8330) 2024-07-18 14:00:58 +00:00