-
Notifications
You must be signed in to change notification settings - Fork 0
fix(scheduler): fail after summarized action errors #899
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
Closed
seonghobae
wants to merge
3
commits into
main
from
fix/scheduler-action-error-exit-current-main-20260809
Closed
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
41e2e6b
fix(scheduler): fail after summarized action errors
seonghobae 0d771b1
Merge branch 'main' into fix/scheduler-action-error-exit-current-main…
opencode-agent[bot] 56ffdd1
Merge branch 'main' into fix/scheduler-action-error-exit-current-main…
opencode-agent[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| # PR review and merge scheduler | ||
|
|
||
| ## Terminal result policy | ||
|
|
||
| The scheduler isolates a failed mutation or dispatch to its pull request and | ||
| continues the bounded scan. It emits the human-readable lines, job summary, and | ||
| versioned JSON decision payload for every inspected pull request before choosing | ||
| the process result. | ||
|
|
||
| An `action_error` is a material execution failure, so one or more such decisions | ||
| produce a non-zero terminal result after the summary is written. Policy outcomes | ||
| such as `wait`, `block`, `skip`, and deferred capacity do not make an otherwise | ||
| healthy scheduler invocation fail. | ||
|
|
||
| A targeted single-pull-request run and the organization sweep use the same | ||
| terminal policy. The organization sweep preserves each repository's captured | ||
| summary, records that repository as failed, finishes its bounded repository | ||
| walk, and then fails the job. A repository is classified as unavailable only | ||
| when the scheduler fails before emitting its versioned structured payload and | ||
| the error proves that the sweep credential cannot read the repository. | ||
|
|
||
| This separation keeps ordinary governance waits visible without reporting them | ||
| as incidents, while preventing a failed merge, update, auto-merge, or review | ||
| dispatch from producing a passing workflow result. | ||
|
|
||
| ## References (APA 7th) | ||
|
|
||
| GitHub. (n.d.). *Workflow commands for GitHub Actions*. GitHub Docs. Retrieved | ||
| August 16, 2026, from | ||
| https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-commands-for-github-actions | ||
|
|
||
| GitHub. (n.d.). *Workflow syntax for GitHub Actions*. GitHub Docs. Retrieved | ||
| August 16, 2026, from | ||
| https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-syntax |
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.