You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test(browser): wait for skill rows and the account key commit - #4163
Two browser scripts quarantined until 2026-12-18 failed their first attempt in CI for async fixture data that was not
ready yet. Both now wait for the exact state they read, and both entries leave the browser quarantine. Test-only.
agent-skill-menu-demo-regression: the OpenCode @ case asserted a skills-only menu while file results could
already arrive. It now holds the file results until after the skills-only assertion, then releases them and waits
for the combined menu (scripts/skill-menu-cases/opencode-at.ts); startup waits for the connected chat composer.
relay-dashboard-browser-qa: pairings were seeded before the account key was committed. The fixture subscribes to
the IndexedDB transaction before sign-in and waits for the key's commit (replacing a polling read).
Validation
CI runner image (herdr-ci-runner:local, BROWSER_WORKERS=6, BROWSER_RETRY=0), 10 passes: both 10/10.
bun run check fast: green.
Not run: the other browser scripts (CI runs them on this PR).
agent-skill-menu-demo-regression: the recovered OpenCode light/320 CI
case found file rows in the skills-only snapshot at opencode-at.ts:23-31.
Composer renders cached skill rows before adding the asynchronous file
search results, so the first row did not identify which state was read.
Gate the demo file response before typing @, then release it and wait
for the combined menu. The November 18 retry summary separately timed
out at the header's .conn-live wait (line 100); use the connected chat
composer's enabled Attach files control for readiness.
relay-dashboard-browser-qa: first-attempt logs reported 'no account key
after the sign-in' (November 15-18, qa script lines 1370, 1293 and 1296).
The account shell appears while its directory is still loading; the
controller creates the key after reading the directory and pairings.
Observe the key transaction's complete event from the return document
before the app boots, then seed using that committed key instead of
repeatedly reading IndexedDB.
Browser runs are left to the CI runner; lane caps had no script site.
Co-authored-by: sisyphus-dev-ai <[email protected]>
Auto incremental reviews are disabled on this repository.
Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.
You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.
Use the checkbox below for a quick retry:
Trigger review
No actionable comments were generated in the recent review.
Summary
Summary by CodeRabbit
Tests
Browser checks now verify that the chat attachment control is enabled before continuing.
Sign-in checks confirm account setup is complete, and skill-menu checks more reliably validate the displayed skills and files.
Removed two browser checks from the quarantine list.
Browser regression scripts now wait for committed account-key writes or enabled composer controls. The skill-menu test holds an empty-query files response during assertions. Two CI quarantine entries were removed.
The initialization script marks completed account-key writes, and signed-in setup waits for that marker. The fixture removes its separate IndexedDB preflight check. The quarantine entry for the relay dashboard test is removed.
The test holds the empty-query files response during assertions, then restores fetch, releases the response, and disposes the browser handle in a finally block.
devswha/ovis#4026 — The issue reports flaky relay dashboard browser QA attempts. This PR changes account-key synchronization in that test, but does not establish that the reported flakes are fully resolved.
Merge Risk: Minimal · previous review fadcc
This change only touches browser test scripts and makes their readiness checks more deterministic. It removes two scripts from CI quarantine. No product behavior changes, and no concrete merge-blocking risk was found.
Pre-merge checks: 4
Check name
Status
Explanation
Title check
The title names the main change: browser test waits for skill rows and the account key commit. It matches the changeset's readiness fixes in the browser QA scripts and the @-menu test. Test-only scope…
Description check
The description follows the template. It has a Change section that explains the problem (async fixture data not ready), the resulting behavior, and the two affected scripts. It also has a Validation s…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Title check
Explanation
The title names the main change: browser test waits for skill rows and the account key commit. It matches the changeset's readiness fixes in the browser QA scripts and the @-menu test. Test-only scope is clear from the 'test(browser)' prefix.
Full details: Description check
Explanation
The description follows the template. It has a Change section that explains the problem (async fixture data not ready), the resulting behavior, and the two affected scripts. It also has a Validation section listing the CI runs, the fast check, and the browser scripts not run. The template asks for an issue link for features only, which does not apply to this test-only fix. The changelog reference in the template is not addressed, and the description does not say whether a changelog.d entry is needed.
Resolution
Optionally confirm whether a changelog.d/ entry is required for this test-only change, as the template's header comment points to it.
Finishing Touches
Generate unit tests (beta)
Commit to this branch
Create a new PR
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.
Reviewing files that changed from the base of the PR and between 9bc69ae and fadccc5.
Files selected for processing: 5
scripts/agent-skill-menu-demo-regression.ts
scripts/ci-browser-quarantine.ts
scripts/relay-dashboard-browser-qa.ts
scripts/relay-dashboard-fixtures.ts
scripts/skill-menu-cases/opencode-at.ts
Files with no reviewable changes: 2
scripts/ci-browser-quarantine.ts
scripts/relay-dashboard-fixtures.ts
Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 5 remain after this review.
Merged through pr-merge at head 11859d6da. Seen before the merge was asked for: required checks green, no unresolved thread, no conflict, no hold, main not red, no release in progress. CodeRabbit said it did not review (a limit or a skip) since this head.
Test-only: agent-skill-menu holds the file results until its skills-only check and relay-dashboard waits for the account key's IndexedDB commit; both quarantine entries are removed. Reviews: dori review CLEAR at fadccc5; then a merge of main (no new review for a test-only merge). Merged by the lane on the lead's standing word (t10k). Evidence: both 10/10 in the CI runner image, check fast green; two unrelated scripts flaked once in its CI (diff-line-notes, terminal-bundled-mono) and passed on rerun.
Release 0.5.5.
- `package.json` and `herdr-plugin.toml`: 0.5.4 -> 0.5.5.
- `REMOTE_BUNDLE_VERSION` 48 -> 49 (`shared/machines.ts`): the release
guards require it, since the remote bundle's inputs changed after
`remote-v48`. After this merges, `remote-v49` is tagged on the merge
commit and the Remote PC bundles run publishes it before the Release
run. Until the Release run is done, nothing touching `server/`,
`shared/`, `bun.lock` or `patches/` merges.
- `CHANGELOG.md`: the Unreleased notes and all 101 `changelog.d/`
fragments folded under 0.5.5 (dated 2026-11-19), with outside
contributors credited (`by @login` on each of the 26 PRs by authors
outside the maintainer's accounts, checked against each PR's author).
- `release-summaries.json`: the 0.5.5 lists (new 4, improved 4, fixed 5)
in en, ko, ja and zh.
- `telemetry/deployed.json` is unchanged: the Worker sources
(`telemetry/worker.ts`, `shared/telemetry.ts`) match the deploy recorded
in #3922, so this release needs no Worker deploy.
This PR prepares the release only; it waits for the maintainer's word to
merge, and no tag is pushed and no Release run started from it.
## Validation
- `bun scripts/release-guards.ts`: in order ("Release 0.5.5: remote
bundle, telemetry Worker and release metadata are in order"), before and
after the rebase onto main.
- `bun run typecheck`: passed, before and after the rebase.
- Release metadata tests on the host: `scripts/changelog-fold.test.ts`,
`scripts/conventions.test.ts`, `scripts/release-guards.test.ts`,
`scripts/release-notes.test.ts`, `server/release-notes.test.ts`: 93
pass, 0 fail.
- `bun run check fast` in the CI runner container (no network): workflow
syntax, generated types and themes, typecheck, build and unit tests all
ok; unit 19133 pass, 0 fail, 65 skip in 993 files (this includes
`server/updater.test.ts`, kept off the host because it kills processes
by pid).
- `check fast` ran on the tree before the rebase onto #4179 and #4163,
which change only browser regression scripts and their fixtures;
typecheck and the release guards were re-run after it.
- Not run locally: integration and browser suites (CI runs them).
---------
Co-authored-by: sisyphus-dev-ai <[email protected]>
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
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.
Summary
Two browser scripts quarantined until 2026-12-18 failed their first attempt in CI for async fixture data that was not
ready yet. Both now wait for the exact state they read, and both entries leave the browser quarantine. Test-only.
agent-skill-menu-demo-regression: the OpenCode@case asserted a skills-only menu while file results couldalready arrive. It now holds the file results until after the skills-only assertion, then releases them and waits
for the combined menu (
scripts/skill-menu-cases/opencode-at.ts); startup waits for the connected chat composer.relay-dashboard-browser-qa: pairings were seeded before the account key was committed. The fixture subscribes tothe IndexedDB transaction before sign-in and waits for the key's commit (replacing a polling read).
Validation
herdr-ci-runner:local,BROWSER_WORKERS=6,BROWSER_RETRY=0), 10 passes: both 10/10.bun run check fast: green.