Skip to content

fix(actions): reduce scheduled recovery pressure - #1860

Merged
seonghobae merged 1 commit into
mainfrom
codex/reduce-nonpr-actions-pressure
Sep 4, 2026
Merged

fix(actions): reduce scheduled recovery pressure#1860
seonghobae merged 1 commit into
mainfrom
codex/reduce-nonpr-actions-pressure

Conversation

@seonghobae

Copy link
Copy Markdown
Contributor

Summary

  • distribute the consolidated review-repair recovery across one UTC hour per repository each day instead of admitting 17 workflow runs every hour
  • remove the automatic organization-wide queue sweep while retaining explicit repository_dispatch recovery
  • preserve native PR/review events, auto-merge, and the daily central-repository missed-event recovery

Evidence

  • observed 15 queued Hourly Review Repair runs at the same protected-main head
  • focused scheduler contracts: 77 passed
  • actionlint: passed
  • git diff --check: passed

Scope

Actions-only. No release/build/deploy/publish/package/image/migration behavior is changed.

Signed-off-by: Seongho Bae seonghobae@users.noreply.github.com

Signed-off-by: Seongho Bae <me@seonghobae.me>
@coderabbitai

coderabbitai Bot commented Sep 4, 2026

Copy link
Copy Markdown

Warning

Review limit reached

Next included review available in 9 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Team

Run ID: 4fd71036-2c3b-4743-9614-6cf0894d4103

📥 Commits

Reviewing files that changed from the base of the PR and between f871694 and 0ae0f5d.

📒 Files selected for processing (5)
  • .github/workflows/hourly-review-repair.yml
  • .github/workflows/pr-review-merge-scheduler.yml
  • tests/test_actions_queue_saturation_scheduler_cadence.py
  • tests/test_opencode_agent_contract.py
  • tests/test_pr_review_fix_hourly_contract.py

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@seonghobae
seonghobae merged commit 3f2f21c into main Sep 4, 2026
6 of 18 checks passed
@seonghobae
seonghobae deleted the codex/reduce-nonpr-actions-pressure branch September 4, 2026 17:14
seonghobae added a commit that referenced this pull request Sep 4, 2026
Full-suite run after the first commit surfaced two more casualties of
the same class of issue:

- test_github_hourly_conflict_repair.py::test_central_repository_has_hourly_self_caller
  asserted the same stale hourly cron format (#1860) for the .github
  self-caller entry that the first commit already fixed for the other
  17 hourly-review-repair.yml targets; missed because it lives in a
  different test module than test_hourly_review_repair_callers.py.

- test_docs_only_pr_runner_admission.py's changed-scope byte-identity
  check only stripped lines literally starting with "if:", so it never
  handled a YAML block-scalar `if: >-` condition split across multiple
  lines. #1869 gave strix.yml's changed-scope job exactly that (a
  multi-line if: adding a converted_to_draft skip, intentionally
  scoped to Strix/Noema per that PR's own description and not needed
  by security-scan.yml/sast-semgrep.yml's unrelated SAST/dependency
  jobs), which the test's own normalization couldn't see past --
  flagging a real difference in the job body that does not exist.
  Made the normalization indentation-aware so it skips the entire if:
  block (its continuation lines included), not just its first line.

python3 -m pytest tests/test_github_hourly_conflict_repair.py
tests/test_docs_only_pr_runner_admission.py -q -- 14 passed.
Full coverage run -m pytest tests now at 2851 passed, 1 skipped, 21
subtests passed, 0 failed.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
seonghobae added a commit that referenced this pull request Sep 4, 2026
…ions): preserve hourly review recovery cadence"

This reverts commits 25083c8 and 8340e40.

Both commits reverted hourly-review-repair.yml's daily-staggered cron
cadence (17 targets spread across distinct hour+minute slots, e.g.
"2 0 * * *") back to the old, deliberately-retired hourly format
(e.g. "2 * * * *"), and updated their test oracles to match --
directly undoing #1860's ("reduce scheduled recovery pressure")
intentional fix for the shared 60-job Actions concurrency ceiling.
The daily-staggered cadence is still current main's actual, correct
production behavior (confirmed by diffing origin/main directly), and
this PR's own body already documented "daily-staggered is
already-landed, already-correct production behavior... to cut
Actions congestion" -- these two commits directly contradicted that,
with no investigation notes or rationale in either commit message.

Caught by peer1 before this branch left Draft. Neither commit
originated from this session's own work on this branch.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
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.

1 participant