Skip to content

Sync Aleph to upstream bb 2f5abff036 (17 commits through #6511) - #100

Merged
mistakeknot merged 2 commits into
mainfrom
sync/upstream-2f5abff036
Nov 3, 2026
Merged

mistakeknot merged 2 commits into
mainfrom
sync/upstream-2f5abff036

Conversation

@mistakeknot

@mistakeknot mistakeknot commented Nov 3, 2026 •

Copy link
Copy Markdown
Owner

What this does

Brings Aleph up to upstream bb 2f5abff036 (17 first-parent commits past the recorded base a2829ad9df, through get-bb#6511). UPSTREAM_BASE is rewritten to 2f5abff036; Aleph version unchanged (0.9.0). Two commits:

  1. 5806c94f1 from scripts/upstream-sync.sh prepare: the 16 conflict-free commits, a2829ad9df..0950d00f96 (through Copy visible text for code, formatted spans and plain prose selections get-bb/bb#6487).
  2. a110b9328 by hand: upstream Stop restyling the whole right panel on every resize frame get-bb/bb#6511 (2f5abff036, "Stop restyling the whole right panel on every resize frame"), which conflicts in apps/app/src/components/secondary-panel/useSecondaryPanelResize.ts.

Upstream commits: get-bb#6465 get-bb#6467 get-bb#6469 get-bb#6471 get-bb#6472 get-bb#6473 get-bb#6474 get-bb#6475 get-bb#6478 get-bb#6485 get-bb#6488 get-bb#6490 get-bb#6491 get-bb#6492 get-bb#6494 get-bb#6487 get-bb#6511. No migrations, no workflow, protocol or update-channel files, no dependency changes (only the @get-bb/plugin-sdk version string 0.6.96 to 0.6.97).

get-bb#6511 resolution

Both sides kept, in useSecondaryPanelResize.ts:

  • Upstream: applySwipeWidth, no --secondary-swipe-width write during a drag (isDraggingRef gate), setIsResizing(true) moved into the drag-start branch and applySwipeWidth(last size) then setIsResizing(false) on drag end; the new upstream tests in useSecondaryPanelResize.test.tsx merged unchanged.
  • Fork (Aleph per-width-class layout profiles, ledger row for useSecondaryPanelResize.ts): dragEndTick, widthWriter.pin() at drag start, widthWriter.commit() at drag end, and the class-reconcile effect that skips while isDraggingRef is set.
  • The three conflict hunks: state declarations (both kept), the stray setIsResizing(isDragging) that upstream replaced (dropped, since both branches now set it), and the useCallback dependencies ([applySwipeWidth, setIsResizing, widthWriter]; widthWriter is the fork's replacement for setPersistedWidthPercent in that callback).

Fork surfaces touching the secondary panel (ThreadSecondaryPanel.tsx, the design-wiki thread panel from PRs 97/99) are unchanged by this PR and their tests pass.

Next upstream conflict (not resolved here)

After this step: next conflicting upstream commit is get-bb#6513 8c184323a ("Count source updates from the running commit, not the checkout HEAD"), packages/bb-app/src/app-update/launcher-controller.ts (ledger: signed-update-channel). 198 upstream first-parent commits remain behind.

Gate (clone at thread storage, one suite at a time, nice -n 19 ionice -c3, CI=1, 8 workers)

Suite origin/main 0d107490ae head a110b9328
apps/app typecheck (both tsconfigs) pass pass
apps/server typecheck pass pass
apps/app test 6928 pass, 1 fail 6972 pass, 1 fail
apps/server test 7133 pass, 0 fail 7144 pass, 2 fail (timeouts), then 53/53 pass in isolation
  • Failing at head and not at main: none after re-run. The two apps/server failures at head are the install-machine-script.test.ts "resolves an unset HOME" cases timing out at 60s while the full suite ran (753s run); the same file run alone at head passes 53/53 (242s). They are timing-sensitive under load: they passed at main in this run and passed in the isolated head run.
  • Fails at both main and head (pre-existing, not from this PR): apps/app PluginIcon.test.tsx > resolves every named branding.icon the shipped plugins declare since the fork's design-wiki plugin declares branding.icon: "BookOpen", which isBuiltinIconName rejects. Needs its own fix.
  • The brief's --filter=... selector is rejected by turbo 2.10; the prep ran the same four tasks without it.

Review receipt

Packaged cross-lab review (Clavain 0.6.332 dispatch, role cross-lab-review), reviewer gpt-6.1-sol, producer claude-sonnet-5-5, head a110b93: VERDICT: PASS WITH NOTES.

  • Receipt: /home/mk/.local/state/clavain/reviews/mistakeknot__aleph/100-a110b93285e14d38771aef29116ed4845592e220.json
  • Receipt sha256: 22be4d0ee246a064a0305e15c8872475b315c567796b4ec7040a2a7ccc2e1999
  • policy_hash: 37cc7df3edf9dffb33c78491b9dd259a2066126f611f76ab907581824909ec81
  • Money: none. Reputation/safety: none. Access: none.
  • One P3 note: useSecondaryPanelResize.test.tsx covers swipe-width suppression and release during a drag, but not a width-class change, pinned persistence, post-drag reconciliation or the resizing atom in the merged hook. Left as a follow-up so this head keeps its receipt.

Impact

  • Money: none
  • Reputation/safety: none beyond the usual risk of an upstream sync: UI-only resize behaviour, plugin server cache, and provider model catalog changes from upstream; no auth, update-feed, migration or protocol changes.
  • Access: none

Bead mk-8lcd6.8, card ALPH-272.

🤖 Generated with Claude Code

mistakeknot and others added 2 commits November 3, 2026 12:33
Upstream: 0950d00 Copy visible text for code, formatted spans and plain prose selections (get-bb#6487)
Base:     a2829ad
Release:  0.48.0 (top of upstream CHANGELOG at this commit)

Merged with git merge-tree --merge-base=a2829ad9df0c43ea690c75e2a3373fe26c849209, no conflicts.
Prepared by scripts/upstream-sync.sh.
Upstream: 2f5abff Stop restyling the whole right panel on every resize frame (get-bb#6511)
Base:     0950d00
Release:  0.48.0 (top of upstream CHANGELOG at this commit)

Merged with git merge-tree --merge-base=0950d00f96; one conflict, resolved by hand:
apps/app/src/components/secondary-panel/useSecondaryPanelResize.ts.

Resolution keeps both sides. Upstream: applySwipeWidth, isDraggingRef gating of
--secondary-swipe-width during a drag, and setIsResizing(true/false) moved into the
drag branches with a final applySwipeWidth at drag end. Fork (Aleph width-class
profiles): dragEndTick, widthWriter.pin()/commit(), class-reconcile effect that
reads isDraggingRef. The handleSecondaryPanelDragging dependency list is
[applySwipeWidth, setIsResizing, widthWriter].

Bead mk-8lcd6.8.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@mistakeknot
mistakeknot merged commit 8d37184 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