Repository navigation
desktop: Discover compares the selected revision's sha; worker import fixture names the ticket bot's imports - #4606
Merged
Merged
Conversation
This was referenced Nov 22, 2026
ashhart
force-pushed
the
lead/desktop-revision-sha
branch
from
November 22, 2026 18:36
605983d to
1e3c434
Compare
ashhart
added a commit
that referenced
this pull request
Nov 22, 2026
ashhart
added a commit
that referenced
this pull request
Nov 22, 2026
ashhart
added a commit
that referenced
this pull request
Nov 22, 2026
ashhart
added a commit
that referenced
this pull request
Nov 22, 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Fixes main's two failing
desktopapp tests (900/902 on main's CI).Discover: a selected revision shows as installed again
#4313 (fixes #3799) made Discover mark a cached model as installed only when the revision it would download is the one the app holds:
hub.tscomparesinstalledRevision(repo)with the resolved sha. Butservice.tswiredinstalledRevisiontoModelRevisions.selected, which returns the snapshot directory's path, not the sha. The path never equals a sha, so once a revision was registered, the model never showed as installed and was offered for download again (model-revisions.test.ts:50,'ok' !== 'installed').ModelRevisions.revision(repo)now returns the registered sha from the same validated readselected()uses, andservice.tspasses that (model-hub.tstakes the same function). A different selected revision is still offered for download; a matching one shows as installed; a model with no selected revision shows as installed, as before.Room worker: the reviewed-imports fixture lists the ticket bot's imports
room-worker-effort.test.ts:80evaluates the transpiled worker behind a reviewed-imports gate. 53bbf6d (Solo Kanban bots, fixes #3336) added three imports to the worker (shared/bot-policy,agent/bot-tool-scope,./ticket-bot); the code is right and the fixture was stale, so it now lists them.Checks
npm test(test:agent, 902 files): both tests pass. The 13 failures left in our sandbox need its missing environment (they pass on CI's runners); thedesktopjob is the check.