Skip to content

Sync Aleph to upstream bb 8c184323a0 (#6513, resolves launcher-controller.ts) - #101

Merged
mistakeknot merged 1 commit into
mainfrom
sync/upstream-8c184323a
Nov 3, 2026
Merged

mistakeknot merged 1 commit into
mainfrom
sync/upstream-8c184323a

Conversation

@mistakeknot

@mistakeknot mistakeknot commented Nov 3, 2026 •

Copy link
Copy Markdown
Owner

Upstream sync, one commit: get-bb/bb 8c184323a0 "Count source updates from the running commit, not the checkout HEAD (get-bb#6513)", base 2f5abff (UPSTREAM_BASE now 8c18432, release 0.48.0). scripts/upstream-sync.sh probe reports clean-through 0, so get-bb#6513 is the next step and the only commit in this PR. Bead mk-8lcd6.11.

Conflict resolution

One conflict, packages/bb-app/src/app-update/launcher-controller.ts, check-source case (ledger class signed-update-channel):

  • fork side: assertGenericUpdateAllowed(); before the source check (Aleph builds never use the generic updater; they follow the signed Aleph channel).
  • upstream side: the source check becomes args.repoRoot === null || args.current.kind !== "source" and passes running: args.current.commit.
  • resolved: both. The fork guard stays first and unchanged, then upstream's condition. The auto-merged stageTarget path keeps its two assertGenericUpdateAllowed() calls around inspectSourceCheckout.

Diff against main in that file is three lines (the two source conditions and the running: argument). No signature, manifest, release-lock or update-source code is touched; nothing points Aleph at upstream's channel, and no verification step is relaxed or skipped. Other files come in clean from upstream (source-checkout.ts, source-shim.ts, launcher.ts, two bb-app tests).

Gate (clone, one suite at a time, nice 19, CI=1, VITEST_MAX_WORKERS=8)

Typecheck passes at main and head for packages/bb-app, apps/app, apps/server.

suite main head
packages/bb-app 274 pass / 4 fail 277 pass / 4 fail (same 4)
apps/app 6972 pass / 1 fail 6972 pass / 1 fail (PluginIcon, known, mk-8lcd6.10)
apps/server 7146 pass / 0 fail 7146 pass / 0 fail

Failing at head and not at main: none. The 4 bb-app failures (test/index.test.ts, startup-only config restart notices) are at main too; they come from the agent session's BB_* environment variables (BB_SERVER_URL and others) reaching the launcher test. With those unset, test/index.test.ts passes 69/69 and the full bb-app suite at head passes 281/281. The install-machine-script HOME tests did not time out this run.

Review

Packaged cross-lab review (dispatch.sh --role cross-lab-review, reviewer gpt-6.1-sol, producer claude-sonnet-5-5): Findings none. Money none, Reputation/safety none, Access none. VERDICT: PASS.

  • Receipt: /home/mk/.local/state/clavain/reviews/mistakeknot__aleph/101-2b640a44aafb71d3e301495bbc862e081ce07293.json
  • sha256: 2d22b93c7e19cd2a7c98bd6ee588e5364333a5531c93928243319c0577df22fe
  • policy_hash: 37cc7df3edf9dffb33c78491b9dd259a2066126f611f76ab907581824909ec81
  • Head 2b640a4, base main 8d37184

Money / Reputation / Access

  • Money: none
  • Reputation/safety: none beyond the signed-update surface below; the fork guard and all verification are unchanged
  • Access: none

🤖 Generated with Claude Code

Upstream: 8c18432 Count source updates from the running commit, not the checkout HEAD (get-bb#6513)
Base:     2f5abff
Release:  0.48.0 (top of upstream CHANGELOG at this commit)

Merged with git merge-tree --merge-base=2f5abff036. One conflict, in
packages/bb-app/src/app-update/launcher-controller.ts (check-source case):
kept the fork's assertGenericUpdateAllowed() guard (signed-update-channel,
Aleph builds never use the generic updater) and took upstream's
args.current.kind === "source" check and running commit. No signature,
manifest or update-source code is touched.

Bead mk-8lcd6.11.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@mistakeknot
mistakeknot marked this pull request as ready for review November 3, 2026 19:39
@mistakeknot
mistakeknot merged commit 109f566 into main Nov 3, 2026
3 checks passed
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