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

Log outputGate broken shouldRetryCountsAgainstLimits for alarms #3185

Merged

Conversation

jqmmes
Copy link
Contributor

@jqmmes jqmmes commented Nov 28, 2024

We have some overloaded exceptions that are set as EXCEPTION_IS_USER_ERROR. These errors should be reported back to the alarm-manager as user errors, but some are being reported as internal errors.

This PR adds additional logging and does a hackish check to enforce that broken.exceededMemory errors during the alarm execution are treated as user errors.

@jqmmes jqmmes requested review from a team as code owners November 28, 2024 15:14
@jqmmes jqmmes force-pushed the joaquim/treat-exceeded-memory-during-alarm-as-user-error branch 2 times, most recently from 2b3f34b to 8e07c24 Compare November 28, 2024 16:19
src/workerd/api/global-scope.c++ Outdated Show resolved Hide resolved
src/workerd/api/global-scope.c++ Outdated Show resolved Hide resolved
src/workerd/api/global-scope.c++ Outdated Show resolved Hide resolved
src/workerd/api/global-scope.c++ Outdated Show resolved Hide resolved
src/workerd/api/global-scope.c++ Outdated Show resolved Hide resolved
@jqmmes jqmmes force-pushed the joaquim/treat-exceeded-memory-during-alarm-as-user-error branch from fc4b7fa to e3d9af7 Compare November 28, 2024 19:23
…e exceeded memory overloaded error to be treated as user error
@jqmmes jqmmes force-pushed the joaquim/treat-exceeded-memory-during-alarm-as-user-error branch from 9291835 to d76d464 Compare November 28, 2024 19:30
@jqmmes jqmmes merged commit 21ff08c into main Nov 28, 2024
14 checks passed
@jqmmes jqmmes deleted the joaquim/treat-exceeded-memory-during-alarm-as-user-error branch November 28, 2024 19:54
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.

3 participants