Skip to content

fix(settings): show "Up to date" for current skills in settings sidebar - #9086

Merged
brennanb2025 merged 2 commits into
mainfrom
skills-status-up-to
Jul 17, 2026
Merged

brennanb2025 merged 2 commits into
mainfrom
skills-status-up-to

Conversation

@brennanb2025

@brennanb2025 brennanb2025 commented Jul 16, 2026 •

Copy link
Copy Markdown
Contributor

What

In the Settings sidebar, freshness-tracked skills now show a green Up to date badge only when the freshness inventory proves every discovered placement is current. Skills with an eligible update still show Update available.

Uncertain states stay honest:

  • Before the freshness inventory loads: Installed
  • Blocked, inaccessible, unrecognized, newer-known, or ineligible outdated placements: Installed
  • Every discovered placement is current: Up to date

Voice still says Installed because its status tracks speech-model readiness, not skill freshness.

Screenshots

Settings sidebar with the change — Orchestration and Computer Use show the green Up to date badge; Voice keeps its own presence status (Not installed here, since this dev profile has no speech model).

Settings sidebar: Orchestration and Computer Use show Up to date, Voice shows Not installed

Full settings window Full Orca settings window showing the sidebar skill badges

Why

The sidebar already had the inventory needed to distinguish current skills from updateable skills, but absence of an eligible update is not itself proof that a copy is current. Reusing the same classifier as the existing skill-freshness pill keeps both surfaces aligned and avoids claiming that an unsafe or unrecognized installation is current.

Implementation

  • Add the dedicated up-to-date navigation status.
  • Centralize freshness display classification and reuse it in both the sidebar and SkillFreshnessStatusPill.
  • Preserve presence/loading precedence for Not installed and Checking.
  • Reuse the existing localized SkillFreshnessStatusPill.upToDate key and success tokens.
  • Regenerate resources/skills/current-manifest.json so current skill metadata matches package version 1.4.144-rc.2.

Performance

No new effects, subscriptions, IPC, polling, or subprocess work. Classification runs only from the existing memoized inventory path in Settings, performs a bounded scan of the already-loaded placements, exits on the first non-current placement, and removes the prior filtered-array allocation from the shared status pill.

Testing

  • pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/lib/skill-freshness-display-status.test.ts src/renderer/src/components/skills/SkillFreshnessStatusPill.test.tsx src/renderer/src/components/settings/SettingsSidebar.test.tsx — 17 passed
  • pnpm run typecheck — passed
  • Changed-file oxlint and oxfmt --check — passed
  • Localization catalog and coverage checks — passed
  • Max-lines ratchet — passed
  • Skill bundle manifest and bundled-guide verification — passed
  • Full local suite: 2,911 test files / 30,881 tests passed; 7 unrelated files failed under local Node 26 because localStorage was unavailable and the inherited Git environment duplicated config entries.
  • Repository-wide switch-exhaustiveness still has the pre-existing failure in skill-freshness-group.tsx:101; changed files are clean.

Orchestration and Computer Use showed a green "Installed" badge in the
settings sidebar even when freshness tracking knows the copy is current.
Add an "up-to-date" nav status so a present, no-update skill reads
"Up to date" (pairing with the existing "Update available" state), while
Voice — which tracks model readiness, not skill freshness — keeps
"Installed".
@coderabbitai

coderabbitai Bot commented Jul 16, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

📝 Walkthrough

Walkthrough

Skill freshness display status is centralized in a new helper with tests for update-available, up-to-date, and installed states. Settings navigation and sidebar rendering now support the up-to-date status, while freshness inventory drives capability status computation. The skill manifest and affected entries are updated from version 1.4.144-rc.1 to 1.4.144-rc.2.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Title check ✅ Passed The title matches the main change: showing "Up to date" for current skills in the settings sidebar.
Description check ✅ Passed The description covers Summary, Screenshots, Why, Implementation, Performance, and Testing, but omits AI Review Report, Security Audit, and Notes.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai

coderabbitai Bot commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Caution

Review failed

An error occurred during the review process. Please try again later.


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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Only label a skill Up to date when every discovered placement is current. Keep Installed for unloaded, blocked, inaccessible, or unrecognized inventories, and share the classifier with the existing freshness pill. Regenerate the current skill manifest so its app version matches the package release and the required verification gate passes.
brennanb2025 added a commit that referenced this pull request Jul 16, 2026
@brennanb2025
brennanb2025 merged commit 9003973 into main Jul 17, 2026
14 checks passed
enrick-dev pushed a commit to enrick-dev/orca that referenced this pull request Oct 15, 2026
…ar (stablyai#9086)

* fix(settings): show "Up to date" for current skills in sidebar

Orchestration and Computer Use showed a green "Installed" badge in the
settings sidebar even when freshness tracking knows the copy is current.
Add an "up-to-date" nav status so a present, no-update skill reads
"Up to date" (pairing with the existing "Update available" state), while
Voice — which tracks model readiness, not skill freshness — keeps
"Installed".

* fix(settings): require freshness proof for current badge

Only label a skill Up to date when every discovered placement is current. Keep Installed for unloaded, blocked, inaccessible, or unrecognized inventories, and share the classifier with the existing freshness pill. Regenerate the current skill manifest so its app version matches the package release and the required verification gate passes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant