Repository navigation
fix(desktop): BK T3 Code finds updates again - #273
Merged
Merged
Conversation
…em feed electron-updater's GitHubProvider reads releases.atom, which lists only the ten newest releases. Stage and mobile builds share the repository and publish many times a day, so production builds fell out of the feed and installed BK T3 Code apps stopped finding updates. Each BK app now uses the generic provider against its own fixed release (bk-desktop-production / bk-desktop-staging). After each dated release is public, the publisher uploads that build's manifest to the fixed release with payload URLs made absolute into the dated release. Multi-range requests are off, because GitHub answers them with 501. A re-run repoints the feed for an already-published build, and the feed never moves to an older version. Also moves the release repository constant to iamtushar324/bkt3code. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Thread transfer impact✅ Thread transfer remains within every enforced ceiling.
Baseline: unavailable · PR result: Scenario and decoded snapshot size10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.
Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed. |
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.
Problem
Installed BK T3 Code apps stopped finding updates. The app used electron-updater's GitHubProvider. That provider reads
releases.atom, and this feed lists only the 10 newest releases. Stage and mobile builds share this repository (last week: 41 stage, 10 mobile, 5 production). So the feed showed no production build, and the app found no update. Todayhttps://github.com/beknown-work/bkt3code/releases.atomlists 10 stage releases and 0 production releases. The repository rename is not the cause, because GitHub redirects the old name.Fix
bk-desktop-productionorbk-desktop-staging, through the generic provider (scripts/build-desktop-artifact.ts,scripts/lib/bk-desktop-brand.ts).publish-bk-desktop-dmg.tsuploads that build's manifest to the fixed release. The payload URLs in this copy are absolute, so they point into the dated release. The fixed release holds only this one small file.useMultipleRangeRequest: false: GitHub answers multi-range requests with 501. Without this flag, each differential download falls back to the full 140 MB ZIP.iamtushar324/bkt3code.Rollout
stagehas its own copies of these files and needs the same change in a separate PR.Known gaps
releaseNotesinto the manifest.Verification
vp test runpassed forscripts/lib/bk-desktop-release.test.ts,scripts/bk-desktop-brand-overrides.test.ts,scripts/publish-bk-desktop-dmg.test.tsandscripts/lib/bk-desktop-brand.test.ts.scriptstypecheck passed.build-desktop-artifact.test.tsfailures on this Linux arm64 host are Windows sidecar tests that need native binaries. CI must confirm them.Done by Claude Opus 5.5 in Claude Code (T3 Code).
🤖 Generated with Claude Code