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(skills): cover updates for locked older snapshots - #27478
When an older official skill snapshot matches the updater lock, Orca should still offer its update. This test pins that existing behavior. It does not reproduce the reported Windows installation issue or establish its root cause.
What Changed
Adds an inventory test for an older official snapshot whose tree matches the updater lock. It checks that the skill remains outdated, is eligible for update, and displays update-available.
Why
The current implementation already handles this lock-matched snapshot. The added test protects that case without changing runtime behavior. The reported executable, lock contents, and installed tree were unavailable, so this PR does not claim to repair the reported installation.
N/A. This is a test-only change with no visual or interaction change.
Testing
node_modules/.bin/vitest run --config config/vitest.config.ts src/main/skills/skill-freshness-inventory.test.ts src/main/skills/skill-package-identity.test.ts — 46 tests passed.
git diff --check — passed.
The reported Windows installation behavior was not reproduced.
I manually tested these changes locally
Automated tests added/updated, or explained why not below
AI Disclosure
OpenAI Codex (GPT-6) assisted with review and PR preparation.
Review
Reviewed the single added fixture and its assertions. The test uses the existing inventory helpers and platform-aware path utilities. No production, UI, SSH, agent-integration, or remote behavior changes; no security or performance impact is expected from this test-only change. Windows runtime behavior remains unverified.
Agent skill upstream boundary
Not applicable; this change copies or mechanically translates no upstream skill-installer source, tests, fixtures, registry entries, path tables, comments, or documentation.
Notes
The full lint, typecheck, repository test suite, and build were not run.
Checklist
This PR is small and focused
I explained what changed and why (ELI5, the user-facing before/after, the mechanism, and why over the alternatives)
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)
Author
GitHub: lorenzozanee
X: not linked on the GitHub profile
No actionable comments were generated in the recent review. 🎉
ℹ️ Recent review info
⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Advanced
Run ID: 860ed83a-e86c-43fa-a511-bad1dd5286f7
📥 Commits
Reviewing files that changed from the base of the PR and between e9279b6 and f32a047.
📒 Files selected for processing (1)
src/main/skills/skill-freshness-inventory.test.ts
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.
📝 Walkthrough
Walkthrough
Adds a regression test for a lock-matched older official skill snapshot. The test checks that inventory marks the canonical copy as outdated at release revision 1, includes orca-cli among eligible updates, and reports update-available as its display status.
Priority: ➖ Normal
Severity of issue fixed: Medium
Merge Risk:⚪ Minimal · up to f32a0
No actionable merge-blocking risk is established for this test-only change. Normal checks can proceed before merge.
Pre-merge checks | 4 | 1
❌ Failed checks (1 warning)
Check name
Status
Explanation
Resolution
Linked Issues check
Issue #26841 requires a supported coding solution that realigns installed official skills with the bundled manifest revision. The PR adds only a regression test in skill-freshness-inventory.test.ts.…
Implement at least one supported manifest-alignment path required by #26841, such as manifest-based install/update, an official repair/reset command, or automatic realignment during upgrade. Add automated coverage for the selected path and …
✅ Passed checks (4 passed)
Check name
Status
Explanation
Title check
The title clearly identifies the main change: adding skill update coverage for older locked snapshots.
Description check
The description is complete and focused. It explains the change, reason, linked issue, test-only scope, test results, unverified Windows behavior, and outstanding checks. It also includes the required…
Out of Scope Changes check
The whole PR changes only src/main/skills/skill-freshness-inventory.test.ts. The added fixture and assertions directly cover the lock-matched official snapshot behavior described in #26841. No unrel…
Docstring Coverage
No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1…
Full details: Linked Issues check
Explanation
Issue #26841 requires a supported coding solution that realigns installed official skills with the bundled manifest revision. The PR adds only a regression test in skill-freshness-inventory.test.ts. The test verifies that a lock-matched older snapshot is classified as outdated, remains eligible for update, and displays update-available. It does not change install or update behavior, add a repair/reset path, or add upgrade-time realignment. The reported mismatch between the updater source and current-manifest.json therefore remains unresolved.
Resolution
Implement at least one supported manifest-alignment path required by #26841, such as manifest-based install/update, an official repair/reset command, or automatic realignment during upgrade. Add automated coverage for the selected path and for the reported mismatch condition.
Fix all pre-merge checks with AI
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
When an older official skill snapshot matches the updater lock, Orca should still offer its update. This test pins that existing behavior. It does not reproduce the reported Windows installation issue or establish its root cause.
What Changed
Adds an inventory test for an older official snapshot whose tree matches the updater lock. It checks that the skill remains outdated, is eligible for update, and displays
update-available.Why
The current implementation already handles this lock-matched snapshot. The added test protects that case without changing runtime behavior. The reported executable, lock contents, and installed tree were unavailable, so this PR does not claim to repair the reported installation.
Linked Issue
Fixes #26841
Visual Proof
N/A. This is a test-only change with no visual or interaction change.
Testing
node_modules/.bin/vitest run --config config/vitest.config.ts src/main/skills/skill-freshness-inventory.test.ts src/main/skills/skill-package-identity.test.ts— 46 tests passed.git diff --check— passed.The reported Windows installation behavior was not reproduced.
I manually tested these changes locally
Automated tests added/updated, or explained why not below
AI Disclosure
OpenAI Codex (GPT-6) assisted with review and PR preparation.
Review
Reviewed the single added fixture and its assertions. The test uses the existing inventory helpers and platform-aware path utilities. No production, UI, SSH, agent-integration, or remote behavior changes; no security or performance impact is expected from this test-only change. Windows runtime behavior remains unverified.
Agent skill upstream boundary
Notes
The full lint, typecheck, repository test suite, and build were not run.
Checklist
N/Awith reasonpnpm lint,pnpm typecheck,pnpm test, andpnpm buildpass (or CI will cover; local preferred)Author
GitHub: lorenzozanee
X: not linked on the GitHub profile