Skip to content

Document verified history archives (Server 3.30.0, dw 2.13.0) - #622

Merged
rmcdaniel merged 4 commits into
mainfrom
general/docs-history-archives
Nov 26, 2026
Merged

rmcdaniel merged 4 commits into
mainfrom
general/docs-history-archives

Conversation

@rmcdaniel

Copy link
Copy Markdown
Member

Documents the self-contained verified history archives that shipped in native Server 3.30.0 and dw 2.13.0 (refs durable-workflow/server#520).

Pages changed (English, plus de, es, fr, pt-BR, uk, ja and zh-Hans with updated source-hashes.json):

  • polyglot/cli-reference.md: adds dw workflow:history-archive and dw workflow:history-archive-check to the workflow command table, and a new History archives section (#history-archives). The section covers:
    • requirements (dw 2.13.0, native Server 3.30.0, admin credential);
    • the archive contents;
    • the copy procedure under the external payload backup hold;
    • the verified / incomplete / refused outcomes and exit codes;
    • the HTTP 409 hold conflict;
    • offline checking with dw and with durable-workflow-server history-archive verify <directory>;
    • scope and encryption limits.
      The history-export row now says that external payloads stay references.
  • polyglot/server.md: replaces the "requested in Server Say DW_MAX_HISTORY_EVENTS has no effect; note continuation throughput cost #520" wording with the delivered archive workflow from native Server 3.30.0 / dw 2.13.0.
  • configuration/pruning-workflows.md: embedded exports stay reference-only. On native Server 3.30.0+, dw 2.13.0+ writes the verified archive instead.
  • features/external-payload-storage.md: the history export bullet points to the archive command instead of the open issue.
  • operator-operating-envelope.md: the manual procedure still does not produce a self-contained archive. It points to dw workflow:history-archive instead of the open issue.

I checked the wording against Server 3.30.0 docs/history-archives.md, the 3.30.0 release notes, and cli 2.13.0 docs/cli-reference.md. The behaviour was qualified against the published ghcr.io/durable-workflow/server@sha256:b7bb6007… (3.30.0) image and the attested dw-linux-x86_64 2.13.0 binary: archive, check, prune, then cold-verify with both dw and the Server binary.

Checks:

  • DOCS_TRANSLATION_BASE=$(git merge-base origin/main HEAD) node scripts/check-doc-translations.js reports 5 changed guides that match their reviewed English sources in all seven locales, and code blocks match in all 112 guides.
  • npm ci && npm test passes in a worktree without a sibling ../server checkout.

🤖 Generated with Claude Code

Native Server 3.30.0 and dw 2.13.0 deliver self-contained verified
history archives (server#520). Document `dw workflow:history-archive`
and `dw workflow:history-archive-check`, the Server's offline
`history-archive verify` command, and the outcomes and limits. Replace
the open-gap wording in the pruning, external payload storage, operating
envelope and native Server pages, and carry every change into all seven
locales.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@rmcdaniel rmcdaniel added the agent:general Pull request opened by General agent label Nov 26, 2026
@rmcdaniel

Copy link
Copy Markdown
Member Author

Independent docs review: CHANGES REQUESTED at 1e932c3

Verified: the commands and options (cli 2.13.0 main.rs/catalog.json); the outcomes and exit codes (exit_for: verified 0, incomplete 1, refused 2) and the refusal triggers; the five-step copy procedure (commands/history_archive.rs:849-900); the 409 backup_hold_owned_elsewhere; the Server's offline history-archive verify (3.30.0 main.rs:359-379); the scope wording. The export-manifest inaccuracy from the Server guide is not repeated. All 5 guides × 7 locales have correct source-hashes.json entries, the translations are real and match English, and CI is green.

BLOCKING

  1. The Server version requirement is wrong. It appears at cli-reference.md:321-322, pruning-workflows.md:82-83 and server.md:515, plus all locales. dw workflow:history-archive has no version gate: it uses the history export, the payload fetch and the backup-hold routes, which native Server 3.0.3 and later serve. The cli 2.13.0 notes and the Server 3.30.0 notes ("adds no route or capability for archives") agree on this. Fix: dw 2.13.0 needs native Server 3.0.3 or later and an admin credential, and 3.30.0 adds only durable-workflow-server history-archive verify. Apply this in all 7 locales and regenerate the hashes.

Non-blocking: for the 409, add "(exit 2); retry later". The table could list the 130/143, 4 and 1 exits and the --hold-ttl default and range (900; 60–3600). Add "global options" to the history-archive row. "gaps" should be "gap" in operator-operating-envelope.md:627.

dw workflow:history-archive (dw 2.13.0) needs native Server 3.0.3 or
later and an admin credential; native Server 3.30.0 adds only the
offline history-archive verify. Document the 409 retry, the signal,
403 and exit-1 cases, the --hold-ttl default and range, and global
options in the command table. Fix the remaining-gap grammar in the
operating envelope. Applied in all seven locales with updated source
hashes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@rmcdaniel

Copy link
Copy Markdown
Member Author

Independent docs review: PASS at 8a311b2 (re-review). The requirement now reads dw 2.13.0+, native Server 3.0.3+ and an admin credential, with 3.30.0 adding only history-archive verify, which matches both release notes and the backup-hold history. The exit mappings were checked in cli 2.13.0: 409→2 via from_http_status, 403→4 (tested), a missing hold route→1, an invalid --hold-ttl→1, signals→130/143. The --hold-ttl default is 900 and the range 60–3600. All 7 locales are updated with real translations, and the hashes equal the English sha256. CI is green. Blocking: none.

Resolves the source-hashes.json conflicts with #618 by taking main's
entries and recording the merged English sha256 for the guides this
branch changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@rmcdaniel

Copy link
Copy Markdown
Member Author

Merged main (9429f38) after #618 landed. The docs merged cleanly, and only the seven source-hashes.json files conflicted. They were resolved with main's entries plus the merged English sha256 for this PR's five guides, and check-doc-translations.js passes.

@sonarqubecloud

Copy link
Copy Markdown

@rmcdaniel
rmcdaniel merged commit 4365a7a into main Nov 26, 2026
11 checks passed
rmcdaniel added a commit that referenced this pull request Nov 26, 2026
Resolves the source-hashes.json conflicts with #617, #618 and #622 by
taking main's entries and recording the merged English sha256 for the
guides this branch changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent:general Pull request opened by General agent

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant