Skip to content

docs(cli): document cora upgrade — self-upgrade was undocumented - #549

Merged
ajianaz merged 1 commit into
developfrom
docs/541-cora-upgrade-cli-reference
Aug 31, 2026
Merged

docs(cli): document cora upgrade — self-upgrade was undocumented#549
ajianaz merged 1 commit into
developfrom
docs/541-cora-upgrade-cli-reference

Conversation

@ajianaz

@ajianaz ajianaz commented Aug 31, 2026

Copy link
Copy Markdown
Collaborator

What

Closes #541: cora upgrade is implemented and wired but absent from the docs.

  • docs/cli-reference.md: new Self-Upgrade section — cora upgrade --check, the default flow (OS/arch detection → latest GitHub release asset → SHA-256 checksum verification → binary replacement), and cora upgrade -y for CI/automation.
  • Notes the background update notification (non-blocking startup check, 24 h cache at ~/.codecora/cora-code/update-cache.json, stderr-only) and the cargo-from-source caveat.
  • README.md: upgrade note under the install methods + a row in the command table.

Why

Self-upgrade is a user-facing command with zero documentation: users have no discoverable way to update cora, and the startup update notification references behavior that is documented nowhere. This adds the missing reference so the command and its safety properties (checksum verification) are discoverable.

Correction vs the issue body

The issue proposed documenting a --no-update-check flag — that flag does not exist. The background check is disabled via the CORA_NO_UPDATE_CHECK=1 environment variable (main.rs), so the docs document the env var.

Testing

Docs-only change; no code paths touched.

Add a Self-Upgrade section to docs/cli-reference.md (--check, default
flow with SHA-256 checksum verification, -y for CI), a README install/
upgrade note and a command-table row, per #541.

Correction vs the issue body: the background update check is disabled
via the CORA_NO_UPDATE_CHECK=1 environment variable — no
--no-update-check flag exists.

Closes #541
@ajianaz
ajianaz merged commit 11f8988 into develop Aug 31, 2026
17 of 18 checks passed
@ajianaz
ajianaz deleted the docs/541-cora-upgrade-cli-reference branch August 31, 2026 04:42
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.

docs: document cora upgrade in cli-reference (self-upgrade is undocumented)

1 participant