A stuck Windows job could hold a runner for the default six hours, so each job now has a timeout: ten minutes for the alpha plan step and thirty for the build jobs.
Pushes and pull requests that only touch documentation, readmes or repository templates no longer start the full verification, which keeps the queue for changes that can break the build.
The repository had three script roots with three test entry points. The automation scripts now live in scripts/ci and run through scripts/test.mjs, which gained a quick automation profile and includes them in the ci and release profiles.
The workflows keep checking the scripts out from the workflow commit, never from the PR branch. stateKey now returns its fallback explicitly, because the file is inside the empty-catch guard once it sits under scripts/. The review and diagnosis exclude lists also skip the generated frontend wordmark module.
A cache entry cannot be overwritten, so the fixed key restored the same old
snapshot on every later run and no progress made after it survived. Save each
run under its own key and restore the newest one, and cache the OCR session
records only: the checkout is rebuilt from scratch every run, which is what
keeps files the new head deleted out of the review.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The review switch read the previous-review record before it was fetched, so
every automatic review would have thrown before publishing anything.
Also fixed: a reused checkout now drops files the new head deleted; the round
loop merges every round's findings instead of keeping only the last; the
session cleanup honours its keep switch and leaves other files alone; the state
cache keeps one entry per pull request instead of one per run; and the job
timeout covers all three review rounds.
A resumed review still keeps its full budget.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
OpenCodeReview settles files one by one and records each verdict, but the
workflow deleted every session when the job ended, so a review that ran out of
its token budget had to buy the same files again next time. A large pull
request could never finish.
Keep the session records and the checkout between runs, continue a same-range
review up to two extra rounds, and resume from the last incomplete review of
this very revision. A new push still reviews its own range, and an incomplete
review never anchors an incremental one: that would leave its unfinished files
unreviewed.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* ci: retry issue triage when the model is rate limited
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* ci: suggest the upstream tracker only for complete bug reports
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* ci: fix the triage comment test
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* ci: triage new issues and diagnose the code regularly
Guide reporters to missing details, possible duplicates, and the right
repository. The triage model has no tools and can only pick fixed values.
Scan one area of the client twice a week and open verified issues.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* ci: read every page of past diagnosis issues
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* ci: raise PR review token budgets
Most medium and large reviews stopped on the token budget before covering
the whole diff. Raise the budgets and time limits, keep partial results when
some review tasks fail, and log actual token usage.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* ci: report why OCR review items failed
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Alpha releases were rare because each one needed a manual tag. A scheduled
workflow now runs at 00:00 Beijing time (16:00 UTC), picks the newest
fix:/fix(scope):/fix!: commit on main, tags it vX.Y.Z-alpha.N and calls
release.yml, so release tests, smoke and artifact checks still apply.
It skips commits already in the latest stable tag or already released as
an alpha, and retries the same tag when an earlier run pushed it but failed
to publish. release.yml gains a workflow_call entry and reads the tag from
env instead of interpolating it into the script.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Resolve merge conflicts with main in frontend/src/i18n.ts and internal/i18n/i18n.go, migrate the 12 i18n keys added on main since branching (CoW backing chain diagnostics and About open-source license viewer) into locales/{zh-CN,en-US}/*.json, and regenerate catalogs via cmd/i18ngen.
Ignore .debug/ locally and add scripts/debug/ helpers (tmp, work, worktree, check, and tests) to enforce workspace hygiene. Run the hygiene check and self-test in CI, and document the .debug/ contract in AGENTS.md and docs/architecture.md.
- scripts/build-release-notes.ps1 extracts the `## <tag>` section and wraps
it with download, stable runtime, license and compare links; it fails if
the section is missing or empty.
- CI checks that CHANGELOG.md has notes for the version in version.go.
- release.yml uses those notes instead of --generate-notes, checks out the
dispatched tag, fails on gh errors, and backfills notes on an existing
release whose body is empty or only the auto "Full Changelog" link.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Only reims-go.exe ships now; reims-go-cli.exe is gone. Without
arguments it opens the window, with a command it runs command-line mode
(cmd/reims-go moved to internal/cli). Missing standard handles are
attached to the parent console; handles the caller passes in (pipes,
files) are kept, so scripts and agents get output and exit codes.
`vm start` hands the VM to the window process so it gets Guest Tools
and the Win10 cold-reboot watcher, which a command that exits could not
run:
- a running window gets the request through Wails' single-instance
protocol and stays hidden;
- otherwise the command launches the window tray-only (--background),
detached from the caller's console and handles;
- the window writes the outcome, with the VM's last log lines on
failure, to <DataRoot>\tmp\cli-start-*.json (it accepts no other
path) and the command reports it.
With --data-root the VM still starts in the command itself.
The window now takes a single-instance lock: a second double-click
brings the running window forward. `wails dev` builds use their own
lock name.
Tested on Win10 19045 with macos-tahoe: start from the command line
with no window running (4 s, exit 0) and with one running (3 s, exit 0,
same process); the cold-reboot monitor was held by the window.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Runtime channel "candidate" is now "alpha"; configs, the --candidate flag
and SetRuntimeChannel("candidate") still map to alpha.
- ListRemote follows GitHub's Link pagination so stable runtimes are not
pushed off the first page by daily alphas.
- patches/series.txt is the single patch queue for CI and pack-runtime.ps1;
pack-runtime takes -Patches and derives allowed changed files from the
patches (fixes a false "undeclared change" with the coroutine patch).
- build-runtime.yml runs daily: resolves upstream HEAD, skips commits already
released, applies the queue via apply-patch-series.ps1 (skips patches
already upstream, stops on conflicts), gates with check-runtime-alpha.ps1,
publishes an alpha prerelease, keeps the 7 newest alphas, and files issues
on failure or merged patches. Stable promotion stays manual.
- AGENTS.md and runtime docs updated for the alpha channel.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>