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
fix(ci): repair terminal ownership lint and source-control fixtures - #37195
Repair two inherited CI failures so the browser organization PR can run its checks.
What Changed
Keep live and persisted terminal-surface identity checks in their existing identity owner, with the live validator body unchanged and its type consumers importing that owner directly.
Update four source-control test stores to provide the real remoteOperations state consumed by the component.
Why
The unchanged automation-operations file exceeds the 300-line lint limit. The source-control test mocks still provide a retired derived field and throw when the component reads remoteOperations. Both failures reproduce independently of the browser moves.
Visual Proof
N/A — no rendered behavior changes; a validator moves unchanged and test fixtures adopt the current store shape.
Testing
All 39 source-control tests across the four repaired suites pass.
Six complete-runtime legacy-worker recovery tests pass (orca-runtime.test.ts -t "legacy worker").
pnpm tc:node, all 41 pnpm lint steps, changed-code quality and changed-file formatting pass.
AST comparison confirms the moved method/signature and every other class member are byte-identical. The only production residue is two type-query owner changes.
Both failures reproduced against pristine immutable main source. GitHub CI remains required before merge.
Risk
Level: Low. The validator retains its body and runtime inheritance, with its type consumers updated atomically. Test fixture changes do not affect production. No wire, storage, platform, remote, mobile or folder-workspace contract changes. Revert this PR to undo it.
Agent skill upstream boundary
Not applicable; no upstream skill-installer material is copied or translated.
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 2 remain after this review.
Walkthrough
The terminal surface identity check now resides in HasExactPersistedTerminalSurfaceIdentity. The public argument and result aliases derive their types from that class. Four source-control test fixtures now initialize remoteOperations as an empty array instead of setting inFlightRemoteOpKind to null.
Merge Risk: Minimal · up to 37da1
No merge-blocking issue was identified. Run the required CI checks before merging.
Pre-merge checks: 4 · 1
Failed checks: 1 warning
Check name
Status
Explanation
Resolution
Docstring Coverage
Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Write docstrings for the functions missing them to satisfy the coverage threshold.
Passed checks: 4 passed
Check name
Status
Explanation
Title check
The title names the two changes in the PR: a CI lint repair for terminal ownership and fixture updates for source-control tests. The diff moves the terminal-surface identity check to its owner module,…
Description check
The description follows the repository template. It has an ELI5 section, a What Changed section, a Why section, Visual Proof marked N/A with a reason, Testing with concrete results, a Risk section wit…
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 two changes in the PR: a CI lint repair for terminal ownership and fixture updates for source-control tests. The diff moves the terminal-surface identity check to its owner module, which the lint fix needs, and updates four source-control test fixtures to use remoteOperations. The title is specific and matches the main changes. The 'fix(ci)' prefix is conventional, and the title is a single sentence under the length limit.
Full details: Description check
Explanation
The description follows the repository template. It has an ELI5 section, a What Changed section, a Why section, Visual Proof marked N/A with a reason, Testing with concrete results, a Risk section with a Low level and revert guidance, and an upstream-boundary checkbox. The Linked Issue section is still the template placeholder with 'Fixes #' and no issue number. The template says outside contributors must link an issue, so this is a gap. The author may be a maintainer, and the template allows maintainers to skip new issues. The AI Disclosure section is empty. The author should confirm whether the issue link and AI disclosure apply. The Checklist and Notes sections are also not ticked. The description covers the required content, so the check passes.
Resolution
Confirm whether this PR needs a linked issue. Outside contributors need one. Replace the 'Fixes #' placeholder with the issue number, or remove it if none applies. Fill in or mark the AI Disclosure section. Tick the Checklist items that apply, or note why they do not.
Full details: Docstring Coverage
Explanation
Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 4 functions across 6 files.
Resolution
Write docstrings for the functions missing them to satisfy the coverage threshold.
Finishing Touches
Generate docstrings
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.
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.
ELI5
Repair two inherited CI failures so the browser organization PR can run its checks.
What Changed
remoteOperationsstate consumed by the component.Why
The unchanged automation-operations file exceeds the 300-line lint limit. The source-control test mocks still provide a retired derived field and throw when the component reads
remoteOperations. Both failures reproduce independently of the browser moves.Visual Proof
N/A — no rendered behavior changes; a validator moves unchanged and test fixtures adopt the current store shape.
Testing
orca-runtime.test.ts -t "legacy worker").pnpm tc:node, all 41pnpm lintsteps, changed-code quality and changed-file formatting pass.Risk
Level: Low. The validator retains its body and runtime inheritance, with its type consumers updated atomically. Test fixture changes do not affect production. No wire, storage, platform, remote, mobile or folder-workspace contract changes. Revert this PR to undo it.
Agent skill upstream boundary