A release before 0.4.0 is told the one line that upgrades it (martha#196) #219

Manually merged
terra merged 4 commits from pallas/196-upgrade-path into main 2026-11-26 05:42:20 +00:00
Member

Refs #196.

Purpose (defect): a person on martha 0.3.x is told the one command that upgrades them, in the two places they look, instead of a 404 to interpret.

The defect

martha install on 0.3.x runs the installer that release pins, and that installer reads releases only from ghcr.io. Releases moved to git.macula.io/macula-pub (martha#114), so the command answers 404 — from a binary published before the move, which nobody can teach to look elsewhere.

The fix

Documentation, because the shipped code cannot carry the fix: the installer in this tree already reads macula-pub, so a ghcr 404 never reaches it, and the release that 404s cannot be changed. So both pages a person upgrading reads now name the bootstrap line:

  • docs/getting-started.md — "Upgrading Martha" says plainly what 0.3.x refuses with and why, then the line that upgrades it once: the bootstrap npx line with the registry the README uses, and the npm view line that prints the exact installer version to put in it. The "What a refusal means" entry that said "the bootstrap line" without showing it now points at that section by name.
  • README.md — "Upgrading an installed Martha" says the same in three lines and links to the line it already holds, so its "never with the bootstrap line above" is no longer wrong for a 0.3.x reader.

No version is written in the tree: <exact version> stays a placeholder, as the README has it, and the registry URL is the one package.json names, so the installer's test that holds every install line to those names reads the same value.

Done when

  1. A 0.3.x user is told the one line. — the "Upgrading Martha" paragraph and its two commands in getting-started.
  2. It is where they look. — getting-started (served at macula.io/martha/docs/getting-started) and the README section the page's refusal table already named.
  3. No new check. — no code changed, and nothing was added for the notice.

Verified locally

  • run_the_installer_job.ts (CI's installer job, which holds the README's install lines to the names in its package.json): every step passed, 168/168.
  • check:restated-values, check:marthas-names: green. check:private: nothing private on the range.
  • check:links cannot be made on this machine: no lychee binary. The two links added are ../README.md#from-the-published-package and #upgrading-martha, both present in their files; CI's job carries the check.
Refs #196. Purpose (defect): a person on martha 0.3.x is told the one command that upgrades them, in the two places they look, instead of a 404 to interpret. ## The defect `martha install` on 0.3.x runs the installer that release pins, and that installer reads releases only from ghcr.io. Releases moved to git.macula.io/macula-pub (martha#114), so the command answers 404 — from a binary published before the move, which nobody can teach to look elsewhere. ## The fix Documentation, because the shipped code cannot carry the fix: the installer in this tree already reads macula-pub, so a ghcr 404 never reaches it, and the release that 404s cannot be changed. So both pages a person upgrading reads now name the bootstrap line: - `docs/getting-started.md` — "Upgrading Martha" says plainly what 0.3.x refuses with and why, then the line that upgrades it once: the bootstrap `npx` line with the registry the README uses, and the `npm view` line that prints the exact installer version to put in it. The "What a refusal means" entry that said "the bootstrap line" without showing it now points at that section by name. - `README.md` — "Upgrading an installed Martha" says the same in three lines and links to the line it already holds, so its "never with the bootstrap line above" is no longer wrong for a 0.3.x reader. No version is written in the tree: `<exact version>` stays a placeholder, as the README has it, and the registry URL is the one `package.json` names, so the installer's test that holds every install line to those names reads the same value. ## Done when 1. A 0.3.x user is told the one line. — the "Upgrading Martha" paragraph and its two commands in getting-started. 2. It is where they look. — getting-started (served at macula.io/martha/docs/getting-started) and the README section the page's refusal table already named. 3. No new check. — no code changed, and nothing was added for the notice. ## Verified locally - `run_the_installer_job.ts` (CI's installer job, which holds the README's install lines to the names in its package.json): every step passed, 168/168. - `check:restated-values`, `check:marthas-names`: green. `check:private`: nothing private on the range. - `check:links` cannot be made on this machine: no lychee binary. The two links added are `../README.md#from-the-published-package` and `#upgrading-martha`, both present in their files; CI's job carries the check.
the one line a 0.3.x release upgrades with (martha#196)
Some checks failed
dependency advisories / advisories (pull_request) Has been cancelled
dependency advisories / node in . (pull_request) Has been cancelled
dependency advisories / node in carry_marthas_own_node/try_a_single_executable (pull_request) Has been cancelled
dependency advisories / node in installer (pull_request) Has been cancelled
dependency advisories / node in . (container) (pull_request) Has been cancelled
dependency advisories / node in carry_marthas_own_node/try_a_single_executable (container) (pull_request) Has been cancelled
dependency advisories / node in installer (container) (pull_request) Has been cancelled
c4 model / c4-model (pull_request) Has been cancelled
c4 model / c4-model-1 (pull_request) Has been cancelled
CI / links resolve (pull_request) Has been cancelled
CI / gate coverage (pull_request) Has been cancelled
CI / structural floor (pull_request) Has been cancelled
CI / Martha's names are its own (pull_request) Has been cancelled
CI / no import cycle (pull_request) Has been cancelled
CI / the relay loads in the recorded host (pull_request) Has been cancelled
CI / the host drift check bites (pull_request) Has been cancelled
CI / the engine drift check bites (pull_request) Has been cancelled
CI / the posted text check bites (pull_request) Has been cancelled
CI / the clean-install proof removes its container (pull_request) Has been cancelled
CI / the ring reaches the owner on the live run's tmux (pull_request) Has been cancelled
CI / workflows are valid (pull_request) Has been cancelled
CI / installer (pull_request) Has been cancelled
CI / nothing private (pull_request) Has been cancelled
CI / no test the base passed goes missing (pull_request) Has been cancelled
CI / the pictures change only with the version (pull_request) Has been cancelled
CI / no literal restates a defined value (pull_request) Has been cancelled
CI / every check runs in a job (pull_request) Has been cancelled
CI / every job has a timeout (pull_request) Has been cancelled
standalone / standalone Martha runs alone (ubuntu-latest) (pull_request) Has been cancelled
standalone / the pinned Node is nodejs.org's (pull_request) Has been cancelled
8368e83cbb
A release before 0.4.0 pins an installer that reads its releases only from
ghcr.io, where nothing is published any more, so its own `martha install`
refuses with a 404 and no shipped installer can be told otherwise. The
getting-started page and the README now name the bootstrap line, in the two
places a person upgrading looks, so the upgrade is one copied line and not a
404 to interpret.
the boundary is 0.4.1, and the README's upgrade line names its exception (martha#196 r=1)
Some checks failed
dependency advisories / node in . (pull_request) Successful in 9s
dependency advisories / node in carry_marthas_own_node/try_a_single_executable (pull_request) Successful in 8s
dependency advisories / node in . (container) (pull_request) Has been skipped
dependency advisories / node in carry_marthas_own_node/try_a_single_executable (container) (pull_request) Has been skipped
dependency advisories / node in installer (pull_request) Successful in 8s
dependency advisories / node in installer (container) (pull_request) Has been skipped
dependency advisories / advisories (pull_request) Successful in 0s
c4 model / c4-model-1 (pull_request) Successful in 3s
c4 model / c4-model (pull_request) Successful in 0s
CI / links resolve (pull_request) Successful in 4s
CI / structural floor (pull_request) Successful in 24s
CI / Martha's names are its own (pull_request) Successful in 26s
CI / no import cycle (pull_request) Successful in 24s
CI / the engine drift check bites (pull_request) Successful in 21s
CI / the posted text check bites (pull_request) Successful in 9s
CI / the host drift check bites (pull_request) Successful in 1m8s
CI / the ring reaches the owner on the live run's tmux (pull_request) Successful in 9s
CI / workflows are valid (pull_request) Successful in 11s
CI / nothing private (pull_request) Has been skipped
CI / no test the base passed goes missing (pull_request) Successful in 39s
CI / installer (pull_request) Successful in 2m3s
CI / the pictures change only with the version (pull_request) Successful in 19s
CI / every check runs in a job (pull_request) Successful in 18s
CI / every job has a timeout (pull_request) Successful in 16s
standalone / the pinned Node is nodejs.org's (pull_request) Successful in 18s
CI / no literal restates a defined value (pull_request) Successful in 51s
standalone / standalone Martha runs alone (ubuntu-latest) (pull_request) Successful in 32s
CI / the relay loads in the recorded host (pull_request) Successful in 15m8s
CI / the clean-install proof removes its container (pull_request) Successful in 21m16s
CI / gate coverage (pull_request) Failing after 7s
89fe0bd951
The r=1 review read the tags: v0.4.0's tree still pins installer 1.1.1, whose
releases live only on ghcr.io, and the first release on macula-pub is 0.4.1.
So the 404 reaches 0.4.0 as well, and both pages now say older than 0.4.1.
The README no longer opens its upgrade section with "never with the bootstrap
line" one paragraph above the exception it makes for exactly that.
run 5159 ended at checkout on build00, so the same tree goes again (martha#196)
Some checks failed
CI / the relay loads in the recorded host (pull_request) Successful in 15m15s
dependency advisories / node in . (pull_request) Successful in 8s
dependency advisories / node in carry_marthas_own_node/try_a_single_executable (pull_request) Successful in 8s
dependency advisories / node in . (container) (pull_request) Has been skipped
dependency advisories / node in installer (pull_request) Successful in 8s
dependency advisories / advisories (pull_request) Successful in 0s
dependency advisories / node in carry_marthas_own_node/try_a_single_executable (container) (pull_request) Has been skipped
dependency advisories / node in installer (container) (pull_request) Has been skipped
CI / links resolve (pull_request) Successful in 4s
CI / structural floor (pull_request) Successful in 21s
c4 model / c4-model-1 (pull_request) Successful in 3s
c4 model / c4-model (pull_request) Successful in 0s
CI / Martha's names are its own (pull_request) Successful in 22s
CI / no import cycle (pull_request) Successful in 21s
CI / the clean-install proof removes its container (pull_request) Failing after 22m19s
CI / the host drift check bites (pull_request) Successful in 1m2s
CI / the engine drift check bites (pull_request) Successful in 20s
CI / the posted text check bites (pull_request) Successful in 8s
CI / the ring reaches the owner on the live run's tmux (pull_request) Successful in 14s
CI / workflows are valid (pull_request) Successful in 17s
CI / nothing private (pull_request) Has been skipped
CI / no test the base passed goes missing (pull_request) Successful in 38s
CI / the pictures change only with the version (pull_request) Successful in 19s
CI / no literal restates a defined value (pull_request) Successful in 1m11s
CI / every check runs in a job (pull_request) Successful in 20s
CI / installer (pull_request) Successful in 2m34s
CI / every job has a timeout (pull_request) Successful in 14s
standalone / the pinned Node is nodejs.org's (pull_request) Successful in 19s
standalone / standalone Martha runs alone (ubuntu-latest) (pull_request) Successful in 38s
CI / gate coverage (pull_request) Has been cancelled
9bdf8ba63c
The ci.yml run 5159 at 89fe0bd9 did not fail in the code: its job ended in the
checkout, on build00's DNS. Nothing in the tree changes, and Mars's r2 PASS on
8368e83c..89fe0bd9 carries over to this same tree.
Merge remote-tracking branch 'origin/main' into pallas/196-upgrade-path
All checks were successful
CI / the clean-install proof removes its container (pull_request) Successful in 19m55s
dependency advisories / node in . (pull_request) Successful in 13s
dependency advisories / node in carry_marthas_own_node/try_a_single_executable (container) (pull_request) Has been skipped
dependency advisories / node in installer (container) (pull_request) Has been skipped
c4 model / c4-model-1 (pull_request) Successful in 3s
dependency advisories / node in . (container) (pull_request) Has been skipped
c4 model / c4-model (pull_request) Successful in 0s
dependency advisories / node in installer (pull_request) Successful in 14s
dependency advisories / node in carry_marthas_own_node/try_a_single_executable (pull_request) Successful in 14s
CI / links resolve (pull_request) Successful in 4s
dependency advisories / advisories (pull_request) Successful in 0s
CI / structural floor (pull_request) Successful in 23s
CI / Martha's names are its own (pull_request) Successful in 35s
CI / no import cycle (pull_request) Successful in 36s
CI / the engine drift check bites (pull_request) Successful in 35s
CI / the posted text check bites (pull_request) Successful in 15s
CI / the host drift check bites (pull_request) Successful in 1m9s
CI / the ring reaches the owner on the live run's tmux (pull_request) Successful in 13s
CI / workflows are valid (pull_request) Successful in 11s
CI / nothing private (pull_request) Has been skipped
CI / no test the base passed goes missing (pull_request) Successful in 36s
CI / the pictures change only with the version (pull_request) Successful in 18s
CI / no literal restates a defined value (pull_request) Successful in 59s
CI / every check runs in a job (pull_request) Successful in 15s
CI / every job has a timeout (pull_request) Successful in 16s
standalone / standalone Martha runs alone (ubuntu-latest) (pull_request) Successful in 31s
standalone / the pinned Node is nodejs.org's (pull_request) Successful in 17s
CI / installer (pull_request) Successful in 3m47s
CI / the relay loads in the recorded host (pull_request) Successful in 15m43s
CI / gate coverage (pull_request) Successful in 18m39s
73b8108873
terra manually merged commit d888d727e7 into main 2026-11-26 05:42:20 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
martha-ai/martha!219
No description provided.