chore(release): v0.12.5

Merged
SA
2mo ago
+113-2

Issue for this PR

Release PR, so there is no issue. It promotes the v0.12.4..main payload to latest as v0.12.5, including #1381, which turns workspaces on by default. Also included: #1360, #1380, #1390, #1394, #1379, #1401, #1308, #1400, #1405, #1395, #1409, #1414, #1397, #1396, #1312, #1413, plus the test-only #1391, #1393 and #1407.

Type of change

  • Other: release

What does this PR do?

Two commits on top of main (c78b284e64):

  • release: v0.12.5: the CHANGELOG entry. It opens with what reaches every signed-in user now that workspaces are on by default, including the link lookups each process sends, and the kill switch.
  • fix(workspace): a workspace missing from the list is "unknown", not "memory off": found by this release's live test on freemium. For a few minutes after a workspace is created, one service replica's /datamates/ list leaves it out (in my test it alternated with every call for about 2–4 minutes, and a deletion lagged the same way). The client read that absence as memory switched off and memoized it. So workspace sync and linking said "Memory is off for this workspace" and sent nothing, and workspace status counted everything as already synced. A missing workspace is now treated as unknown and is not cached, like a failed request. Linking and sync ask for a retry, status shows the unsynced count as unknown, and writes still fail closed. The backend replica issue is separate and is not fixed here.

Release conditions checked:

  • #1360 (web app must serve /workspaces/create-and-link first): the route came in with altimate-frontend 874a6dda2 (2026-09-23), and the live freemium-v1.7.0 deploy (2026-09-29, succeeded) contains it.
  • #1380 (never run against a live workspace; it deletes local memory): run on freemium with this release's binary.
    • A block whose record was archived elsewhere, unchanged locally: removed, with an audit entry DELETE project/<id>.
    • A block edited after the archive: kept.
    • A block with a live record: kept.
    • An archived record with no archived_at: "decides nothing", block kept.

How did you verify your code works?

All release gates were run locally on this branch:

  • bun script/release-preflight.ts --version 0.12.5, pre and tag stages: 9 PASS, 0 WARN, 0 FAIL.
  • bun turbo typecheck: 13/13 packages. Marker guard: clean.
  • Release-critical tests (test/branding/, test/install/): 568 pass.
  • OPENCODE_VERSION=0.12.5 bun run pre-release: all checks pass, and the binary reports 0.12.5.
  • The compiled binary, run from /tmp with no NODE_PATH, reports 0.12.5. The cold-start config regression (test/cli/serve/fresh-start.test.ts against that binary) passes.
  • dbt-tools builds. The bridge file is present, __dirname is not hardcoded, and the import.meta.dirname patch is in.
  • Verdaccio sanity suite (Docker), run against a linux build of this branch: ALL PHASES PASSED.
    • Installation: 13 and 22 checks.
    • Resilience: 14 passed, 1 skipped.
    • Security: 16 checks.
    • The LLM smoke phase was skipped because no ANTHROPIC_API_KEY was set locally.
    • Ran natively on arm64: under amd64 emulation on Apple silicon, the suite's MongoDB container cannot start.
  • Full packages/opencode suite on the release head: 16,726 pass, 8 fail.
    • 6 are the MCP tests that read this machine's real ~/.claude.json (#1386). They fail the same way on main.
    • flushPendingSyncs (a known timeout flake on main, noted in #1380) and run --format json failed once under load. Both pass when rerun on their own (127/127, twice).
  • The fix: new tests in memory-sync.test.ts and manage.test.ts. Each fails with the fix reverted. Two existing tests that meant "memory genuinely off" now stub memory_enabled: false instead of relying on an empty list.
  • Live on freemium with the fixed binary: link --create on a just-created workspace says "2 saved memories did not reach the workspace yet… retry" instead of "memory is off", and status says "2 not yet in the workspace". A substantive memory was then sent. Two near-duplicates were refused by the server's extractor, which is existing server behaviour.

Screenshots / recordings

N/A: CLI/TUI text and docs only.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

🤖 Generated with Claude Code

https://claude.ai/code/session_018fJ3X7pcGT4R9yzjsJnqsV


Summary by cubic

Promotes main (v0.12.4..main) to latest as v0.12.5. The headline change: workspaces are now on by default for signed-in users, covering project linking, workspace skills, memory sync, and the /workspace menu, with ALTIMATE_DISABLE_WORKSPACE=1 as the kill switch and ALTIMATE_WORKSPACE retired. The release also fixes Snowflake connection reopen, credential persistence across restarts, and prompt-cache misses in linked projects; full detail is in the CHANGELOG.

The one code change beyond release notes fixes a workspace missing from the /datamates/ list being read as "memory off". The list can lag a workspace created moments ago, so the client made and memoized a "disabled" verdict: workspace sync and linking sent nothing, status counted everything as synced, and cache-only readers kept serving the stale verdict. A missing workspace is now treated as unknown and not cached, so cache-only readers say unknown too; linking and sync ask for a retry, status reports the outstanding count as unknown, and writes still fail closed. A per-workspace warning logs once while the workspace stays missing.

Summary by CodeRabbit

  • Bug Fixes
    • Workspace memory status now reports an error when a workspace is missing from the workspace list, rather than treating memory as disabled. Memory sync reports an incomplete result instead of indicating that no items need syncing.
  • Documentation
    • Added the 0.12.5 changelog entry, documenting workspace defaults and their disable switch, workspace-related changes, fixes for connections, sign-in, terminal restoration, caching, linking, and memory, plus known limitations.