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: update three tests main broke when clashing PRs landed - #28689
Three test files on main broke because PRs that each passed alone but clashed once both landed. Unit tests on main and on every open PR fail until these are updated.
What Changed
The file facade test now expects openMobileFile to take 4 arguments instead of 3.
The headless compiler cache test no longer looks for a push trigger on node-server-tests.yml, which only runs on pull requests now.
#28240 added an optional position argument (open a file at a line and column) to openMobileFile. #27582 landed on main about half an hour later with an arity table that still listed 3. Each PR passed on its own; together they turned test shard 2/5 red on main ("openMobileFile: expected 4 to be 3"). The new argument is intended, so the test is the thing to update.
#28664 removed the push and schedule triggers from node-server-tests.yml, but headless-detector-compiler-cache.test.mjs still read workflow.on.push.paths and threw. Removing the trigger was intended, so the test now checks only the pull request trigger. The ci-cache-warmup.yml checks are unchanged since that workflow still has both triggers.
Linked Issue
N/A, main CI fix.
Visual Proof
N/A, test-only change.
Testing
pnpm vitest run src/main/runtime/orca-runtime-files-artifact-facade.test.ts: 4/4 pass (2 failed before the change)
Anti-slop oxlint on use-mobile-jira-connection-state.test.ts: 2 errors before, 0 after
pnpm vitest run config/scripts/headless-detector-compiler-cache.test.mjs: 13/13 pass (1 failed in CI before the change)
Automated tests added/updated, or explained why not below
Agent skill upstream boundary
Not applicable, or this change copies or mechanically translates no upstream skill-installer source, tests, fixtures, registry entries, path tables, comments, or documentation.
Checklist
This PR is small and focused
I explained what changed and why
Before/after screenshots or videos attached for UI changes, or N/A with reason
Self-reviewed for correctness, security, and performance
Cross-platform, SSH/remote, and path/shortcut impact considered (or N/A)
pnpm lint, pnpm typecheck, pnpm test, and pnpm build pass (or CI will cover; local preferred)
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 3 remain after this review.
📝 Walkthrough
The openMobileFile test fixture now expects an arity of 4 instead of 3. Its expected async status remains true. The workflow-path test now checks that .github/actions/prepare-headless-compiler/** is included for pull_request; it no longer checks push. The Jira connection test helper now uses a client type derived from the hook’s first parameter.
Priority: ⬇️ Low
Merge Risk:⚪ Minimal · up to f6915
This PR updates tests to match the existing method and workflow contracts and adjusts a test-only type annotation. No product behavior change or actionable merge risk is evident.
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. Analyzed 2 functions across 3 files.
Write docstrings for the functions missing them to satisfy the coverage threshold.
Passed checks: 4 passed
Check name
Status
Explanation
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.
Title check
The title clearly identifies the main change: updating three tests after conflicting pull requests landed on main. It is concise and related to the changeset, although the wording is slightly informal…
Description check
The description explains the failure causes, the three test updates, the reason for each change, testing performed, and the absence of product changes. Visual proof is correctly marked N/A. Full repos…
Fix all pre-merge checks with AI
✨ Finishing Touches: 💡 2
📝 Generate docstrings: 💡
Commit to this branch
Create a new PR
🛠️ Fix failing CI checks: 💡
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.
Jinwoo-H
changed the title
test(runtime): expect openMobileFile's fourth position argument
test: update two tests main broke when clashing PRs landed
Oct 14, 2026
Jinwoo-H
changed the title
test: update two tests main broke when clashing PRs landed
test: update three tests main broke when clashing PRs landed
Oct 14, 2026
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
Three test files on main broke because PRs that each passed alone but clashed once both landed. Unit tests on main and on every open PR fail until these are updated.
What Changed
openMobileFileto take 4 arguments instead of 3.pushtrigger onnode-server-tests.yml, which only runs on pull requests now.objecttype, which the anti-slop lint rule rejects (feat(tasks): browse Jira and start workspaces on mobile #28616).No product code changes.
Why
#28240 added an optional
positionargument (open a file at a line and column) toopenMobileFile. #27582 landed on main about half an hour later with an arity table that still listed 3. Each PR passed on its own; together they turned test shard 2/5 red on main ("openMobileFile: expected 4 to be 3"). The new argument is intended, so the test is the thing to update.#28664 removed the
pushand schedule triggers fromnode-server-tests.yml, butheadless-detector-compiler-cache.test.mjsstill readworkflow.on.push.pathsand threw. Removing the trigger was intended, so the test now checks only the pull request trigger. Theci-cache-warmup.ymlchecks are unchanged since that workflow still has both triggers.Linked Issue
N/A, main CI fix.
Visual Proof
N/A, test-only change.
Testing
pnpm vitest run src/main/runtime/orca-runtime-files-artifact-facade.test.ts: 4/4 pass (2 failed before the change)use-mobile-jira-connection-state.test.ts: 2 errors before, 0 afterpnpm vitest run config/scripts/headless-detector-compiler-cache.test.mjs: 13/13 pass (1 failed in CI before the change)Agent skill upstream boundary
Checklist
N/Awith reasonpnpm lint,pnpm typecheck,pnpm test, andpnpm buildpass (or CI will cover; local preferred)