Repository navigation
fix: read home update metadata from the immutable tag when GitHub omits it - #41
Merged
Merged
Conversation
Keep the leftover home-update metadata fix in the fork feature inventory after cherry-picking it onto local fork-main.
CI failed on Number.NaN, test formatting, and pre-existing max-lines. Split the over-limit files instead of disabling the rule.
Anti-slop CI fails closed on Reflect.get. Read named fields after the object check instead.
disable-next-line only covers the next statement, so the earlier assertion two lines down still failed the changed-code quality gate.
Mixin extracts cannot pass `this` where collaborators are protected or private; bind a public host bag instead. Restore the spawn store import, drop wall-clock updater asserts, and clear stale path-literal and workspace-record ratchet entries so preflight can finish.
switchOriginatingPane belongs after the focus mixin so the host bag can call it. Register fork-live-status and the CLI launcher tests so the runner gate sees them.
The five unit shards failed on fork-main drift, not the AppImage fallback. Keep nested owner identity, unpublished/cross-runtime surfaces, and guarded PTY focus, and update the matching tests.
A working nested child still yields to the owner's next session, but an idle live process keeps resume identity. Guarded PTY reveal now asks main's layout for tab and pane instead of the record copies.
This was referenced Nov 5, 2026
karlorz
added a commit
that referenced
this pull request
Nov 5, 2026
On this personal fork, Blacksmith CI labels never get a machine, so PR jobs sit in queue forever. Keep Blacksmith on stablyai/orca; use GitHub-hosted runners only when the repo is karlorz/orca. Updates matching exact-label contract tests. CI-only; no PR #41 home-update work.
… runner fallback.
Owner
Author
|
Merged current |
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.
ELI5
Linux home AppImage update checks were treating a GitHub release list that forgot to mention
orca-update-protocol.jsonas “this release has no protocol file.” The file can still exist at the tag download URL. This change looks there next, and still stops if that file is missing or wrong.What Changed
Before: If the GitHub Releases API snapshot did not list
orca-update-protocol.json, the updater treated the pin as a protocol mismatch and asked a person to attend it, even when the file was already published on that immutable tag.After: When the API list has no metadata descriptor, the updater reads
orca-update-protocol.jsonfrom the same tag’s GitHub download URL. Duplicate or invalid listed URLs still fail closed with no fallback. A real 404 or bad file still blocks the update.Mechanism: Protocol fetch moved into
src/main/home-appimage-protocol-metadata.ts.readHomeReleaseProtocolfalls back toreadHomeProtocolFromTagonly when the snapshot lists zero metadata assets. Gate logs now include tag, stage, and time.This is leftover work from
releasefix/m349-metadatacherry-picked onto currentfork-main. It is not a merge of that old sync branch.Why
GitHub’s release asset list can omit a descriptor while the immutable
/releases/download/<tag>/…object is present. Failing closed on a missing list entry blocked a valid pin. Fetching a listed URL that is off-tag, duplicated, or attacker-controlled would be worse, so those still do not fall back.Cherry-picking the leftover commit onto current
fork-mainkept the original tests and applied cleanly. Merging the 730-commit-behind leftover branch would not.Linked Issue
Fork leftover landing. No new GitHub issue. Original worktree:
releasefix/m349-metadata.Visual Proof
N/A — this is the Linux home AppImage updater’s protocol-metadata fetch path. There is no UI or layout change.
Testing
src/main/home-appimage-updater.test.ts(omitted-descriptor success, duplicate/invalid descriptors, 404/invalid/503/transport fallback failures, live-daemon recheck after fallback)node config/scripts/run-vitest.mjs run --config config/vitest.config.ts src/main/home-appimage-updater.test.ts— 40 passedpnpm test/ native node-pty rebuild not run here (this host has no C++ toolchain). CI should cover the rest.Linux home updater only. No macOS/Windows/SSH/mobile UI change.
AI Disclosure
Cursor Grok 4.6 reviewed leftover local worktrees and cherry-picked the existing Oct 23 leftover commit onto current
fork-main.Review
Agent skill upstream boundary
Notes
Linux-only home AppImage updater. Metadata URLs stay on the immutable tag. Invalid listed descriptors never fall back. Logs do not include URLs or secrets.
Checklist
N/Awith reasonpnpm lint,pnpm typecheck,pnpm test, andpnpm buildpass (or CI will cover; local preferred)