GeezerVison is showing github.com — ci: fast PR tier, full main tier — cancel-in-progress + PR slimming (Phases 1+2) by dezren39 · Pull Request #827 · developing-today-forks/opencode
Conversation
dezren39
commented
Oct 29, 2026
•
edited by blacksmith-sh
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
Fleet CI redesign, opencode slice of Phases 1+2. Design: developing-today/code#1779 (ci-fast-pr-full-main.md §2.2/§3.4/§4). Refs developing-today/code#1780, developing-today/code#1781, developing-today/code#1599.
Phase 1 — cancel-in-progress (#1780)
publish.yml, publish-vscode.yml, publish-github-action.yml, release-github-action.yml: string-form concurrency (cancel unset → false) → block form, cancel-in-progress: true; push-to-main, tag pushes and manual dispatches keyed by run_id so a release is never cancelled mid-publish; branch pushes stay ref-keyed and cancel on supersede. publish.yml keeps its version/bump group suffix.
nix-eval.yml, storybook.yml: ref-keyed group → §4 standard group (run_id on push-to-main).
- Full 32-workflow audit: issue/PR bots (
duplicate-issues, triage, review, opencode, pr-management, pr-standards) already carry per-issue/per-PR groups with queue: max + cip=false — bursts queue per item; left unchanged. Scheduled singleton/deploy workflows keep cip=false deliberately. Verified no workflow pairs queue: max with a cancel expression that can evaluate true for issues/pull_request_target events (the openchamber#84 trap).
Phase 2 — PR-tier slimming (#1781)
test.yml: PR tier = affected + unit (affected packages only). build and e2e move to push-to-main + nightly schedule (0 3 * * *) + dispatch; schedule runs the full non-affected suite. The e2e aggregator still reports the branch-required e2e (<os>) checks on PRs (tier-skipped suite = expected). pull_request restricted to branches: [main] — push is already main-only, so push+pull_request can't fire the same suite twice for one commit.
nix-eval.yml: PR trigger paths-gated to nix inputs (**.nix, flake.lock, nix/**, the workflow); push-to-main unfiltered = full evaluation.
check.yml unchanged — typecheck IS the PR tier's core.
- New
.github/ci-policy.md: the §3.3 change-class table as in-repo data + this repo's tier mapping; every touched workflow carries a header comment pointing at it. Nothing removed from PRs vanishes: push-to-main + nightly cover the old PR matrix (affected/unit/build/e2e).
Validation
- All 32 workflows parse (yq YAML parse on the worktree; edited files also inspected via full diff).
- Concurrency trap-scan clean (see above).
- Expected runs per PR push after this lands: check (typecheck) + test (affected+unit only) + nix-eval only when nix paths change + storybook only on its paths. Per merge to main: check + full test (affected/unit/build/e2e) + full nix-eval.
Phase 3 (main-broken watcher, #1782) follows in a separate PR; JULES_API_KEY is absent from this repo, so the watcher will file queue/queued breakage issues without the Jules leg (gap reported on #1782).
![Autofix with [code]smith](/api/image?u=https%3A%2F%2Fcamo.githubusercontent.com%2F33b6f70f3541c4e93f4503d29cbfec051fa1b040d8e0ae9313a51c4ece44a627%2F68747470733a2f2f70722d636f6d6d656e74732d6173736574732e626c61636b736d6974682e73682f636f6465736d6974682f6175746f6669782d776974682d636f6465736d6974682d6461726b2d33782e706e67)
Need help on this PR? Tag @codesmith-bot with what you need.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
…Phases 1+2)
Phase 1 (developing-today/code#1780):
- publish.yml, publish-vscode.yml, publish-github-action.yml and
release-github-action.yml: string-form concurrency (cancel unset,
defaulting false) -> block form with cancel-in-progress: true;
push-to-main, tag pushes and manual dispatches are keyed by run_id
so a release is never cancelled mid-publish.
- nix-eval.yml, storybook.yml: ref-keyed group -> standard section-4 group
(run_id on push to main, never cancelled; ref otherwise).
- Audit of all 32 workflows: issue/PR bots (duplicate-issues, triage,
review, opencode, pr-management, pr-standards) already carry
per-issue/per-PR groups with queue: max + cip=false; scheduled
singleton/deploy workflows keep cip=false deliberately. No workflow
pairs queue: max with a cancel expression that can be true for
issues/pull_request_target events.
Phase 2 (developing-today/code#1781):
- test.yml: PR tier is affected + unit for affected packages only;
build and e2e jobs move to push-to-main + nightly schedule
(0 3 * * *) + workflow_dispatch. The e2e aggregator still reports
the branch-required e2e (<os>) checks on PRs (tier-skipped suite =
expected result). Schedule runs the full (non-affected) suite.
pull_request trigger restricted to branches: [main] so push +
pull_request cannot fire the same suite twice for one commit.
- nix-eval.yml: PR trigger paths-gated to nix inputs (**.nix,
flake.lock, nix/**, the workflow itself); push to main stays
unfiltered (full evaluation).
- check.yml unchanged: typecheck IS the PR tier core.
- .github/ci-policy.md: the section-3.3 change-class table as in-repo data
plus this repo's tier mapping; touched workflows carry a header
comment pointing at it.
Refs developing-today/code#1780, developing-today/code#1781,
developing-today/code#1599.
Warning
Review limit reached
You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.
Next included review available in 2 minutes.
Check out review usage here.
View limit details
-
Limit details: You’ve used the included review currently available.
Learn how review limits work.
Review configuration:
Run configuration
-
- Source mode: Auto
- Repository: Unavailable
- Branch: Unavailable
- File: No configuration file from this repository applied
- Commit: Unavailable
- Layers: defaults
- Review profile: CHILL
- Plan: Advanced
- Run ID:
2ba2a50e-df90-4657-8bcf-9096e5905436
Commits
-
Reviewing files that changed from the base of the PR and between 9a8652b and c462ce1.
Files selected for processing: 8
-
.github/ci-policy.md
.github/workflows/nix-eval.yml
.github/workflows/publish-github-action.yml
.github/workflows/publish-vscode.yml
.github/workflows/publish.yml
.github/workflows/release-github-action.yml
.github/workflows/storybook.yml
.github/workflows/test.yml
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
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.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c462ce17d7
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Comment on lines
+37
to
+38
|
|
group: ${{ github.workflow }}-${{ ((github.event_name == 'push' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/'))) || github.event_name == 'workflow_dispatch') && github.run_id || github.ref }}
|
|
|
cancel-in-progress: true
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Preserve serialization for manual release dispatches
When two releases are dispatched on the same branch before either finishes, the new run_id grouping lets both execute concurrently instead of queuing the second run. In this workflow, github/script/release reads the latest tag and computes its successor before publishing it, so overlapping runs can select the same version rather than producing successive releases. The script has no locking or conflict-retry mechanism. Keep a stable per-ref concurrency group with cancel-in-progress: false for this release workflow so releases are neither interrupted nor allowed to race.
Useful? React with 👍 / 👎.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Codex Review Summary
This comment shows the latest Codex review activity on this pull request.
| Review |
Status |
Commit |
Review trigger |
| 📝 Code Review |
✅ Completed 2026-10-29T05:30:21.956743Z |
c462ce1 |
PR opened |
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review" or "@codex security review".
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Oct 29, 2026
|
This PR doesn't fully meet our contributing guidelines and PR template.
What needs to be fixed:
- PR description is missing required template sections. Please use the PR template.
Please edit this PR description to address the above within 72 hours, or it will be automatically closed.
If you believe this was flagged incorrectly, please let a maintainer know.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Hey! Your PR title ci: fast PR tier, full main tier — cancel-in-progress + PR slimming (Phases 1+2) doesn't follow conventional commit format.
Please update it to start with one of:
feat: or feat(scope): new feature
fix: or fix(scope): bug fix
docs: or docs(scope): documentation changes
chore: or chore(scope): maintenance tasks
refactor: or refactor(scope): code refactoring
test: or test(scope): adding or updating tests
Where scope is the package name (e.g., app, desktop, opencode).
See CONTRIBUTING.md for details.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
The following comment was made by an LLM, it may be inaccurate:
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Oct 31, 2026
Reviewers
1 more reviewer
Reviewers whose approvals may not affect merge requirements
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.
|