Skip to content

Document starting and stopping one isolated application, and per-node drop results - #750

Draft
kriszyp wants to merge 5 commits into
mainfrom
docs/isolated-app-scoped-start-stop-and-drop-results
Draft

kriszyp wants to merge 5 commits into
mainfrom
docs/isolated-app-scoped-start-stop-and-drop-results

Conversation

@kriszyp

@kriszyp kriszyp commented Oct 23, 2026 •

Copy link
Copy Markdown
Member
Change My Mind meme redraw with one trash can button fanning out to four sleeping servers while a worker robot waves goodbye

📝 Summary

Documents Start and stop one isolated application without restarting the shared workers (harper#3339), which ships in v5.4.0:

  • A new isolated application's first restart=true deploy starts only its own worker, and that worker is the release's canary.
  • Dropping an isolated application stops its worker, with or without restart. drop_component removes the application's forks by default; keepBranches: true keeps them but fails with restart: true. A node that does not have the application restarts nothing.
  • The drop response reports node, componentRemoved, workerStopped and branchesRemoved, with each peer's outcome in replicated.
  • The per-PR preview recipe gets a one-call cleanup for clusters where every node runs v5.4.0. The per-node recipe stays for mixed-version clusters.

🔧 Changes

✅ Verification

  • Each behavior claim was checked against harper#3339's code: dropApplication, dropPeerResults and the deploy restart scope in components/operations.js, the keepBranches validator, and harper-pro's peer answer path for the replicated shape.
  • npm run format:write, npm run format:check, npm run build, npm run typecheck, npm run lint, npm run test:workflows, and npm run test:examples pass. The local cross-repository fixture comparison is skipped by default; there are no broken links or anchors.

Review follow-up on existing content

The rebase preserves the prior PR content. Its own review should qualify certification for linked directories, date the earlier preview restart cross-reference, and distinguish single-file restart from application shutdown. The one-call cleanup intentionally trusts the Operations API's completed response; worker-originated early answers use a different route. Release-tag and runtime verification remain deferred below.

Depends-on: HarperFast/harper#3339

🤖 Generated by Anthropic Claude and OpenAI Codex; posted via @kriszyp.

Related PRs: #751 overlaps, #671 overlaps
Complexity: easy

Deferred findings

  • c8efa0c731826211 nit documentation — reference/components/applications.md — v5.4.0 behavior claims not verified against the shipped v5.4.0 tag — NOT FILED

Review-Coverage: authored=codex; ran=gemini,cursor-composer,cursor-grok; late=cursor-grok:adjudicated; adjudicated=domain; declined=muse,claude; rounds=6; full=1 @ 88db998

Review-Attention: read ~3m (decisions: cleanup-evidence; raised: degraded review) @ 88db998

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the documentation across several files to reflect the new behaviors introduced in version 5.4.0, specifically regarding isolated applications, worker restarts, branched database forks, and the drop_component API. The feedback recommends avoiding the use of the <VersionBadge> component at the start of a paragraph in running prose within reference/components/applications.md to maintain a clean reading flow.

Comment on lines +534 to +536
<VersionBadge version="v5.4.0" />

The response reports this node's outcome, and each peer's in `replicated`:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Avoid using the <VersionBadge> component at the start of a paragraph in running prose. Instead, use plain text (e.g., 'As of v5.4.0') to maintain a clean and consistent reading flow, reserving <VersionBadge> for standalone placement directly under headings.

Suggested change
<VersionBadge version="v5.4.0" />
The response reports this node's outcome, and each peer's in `replicated`:
As of v5.4.0, the response reports this node's outcome, and each peer's in `replicated`:
References
  1. Avoid using the component at the start of a paragraph in running prose. Use plain text (e.g., 'As of vX.Y.Z') instead, reserving for standalone placement after headings.

@github-actions

Copy link
Copy Markdown

🚀 Preview Deployment

Your preview deployment is ready!

🔗 Preview URL: https://preview.harper-documentation.harperfabric.com/pr-750

This preview will update automatically when you push new commits.

kriszyp and others added 5 commits October 29, 2026 07:19
… results

For HarperFast/harper#3339 (v5.4.0): a new isolated application's first
restart deploy starts only its own worker, as its canary; drop_component
stops an isolated application's worker with or without restart, removes its
forks by default (keepBranches keeps them), restarts nothing on a node that
does not have the application, and reports each node's outcome. Adds the
one-call preview cleanup for clusters on v5.4.0, and a 5.4 release note.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015gDmwTaExpc8uXcdBNr8eA
Dispatch-Task: harper-3045
Dispatch-Task: documentation-750-rebase
Co-Authored-By: GPT-5 Codex <noreply@openai.com>
… check every node's outcome

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015gDmwTaExpc8uXcdBNr8eA
Dispatch-Task: harper-3045
Dispatch-Task: documentation-750-rebase
Co-Authored-By: GPT-5 Codex <noreply@openai.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015gDmwTaExpc8uXcdBNr8eA
Dispatch-Task: harper-3045
Dispatch-Task: documentation-750-rebase
Co-Authored-By: GPT-5 Codex <noreply@openai.com>
…hen the shared workers restart

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015gDmwTaExpc8uXcdBNr8eA
Dispatch-Task: harper-3045
Dispatch-Task: documentation-750-rebase
Co-Authored-By: GPT-5 Codex <noreply@openai.com>
…e the issue that set log-only removal

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015gDmwTaExpc8uXcdBNr8eA
Dispatch-Task: harper-3045
Dispatch-Task: documentation-750-rebase
Co-Authored-By: GPT-5 Codex <noreply@openai.com>
@kriszyp
kriszyp force-pushed the docs/isolated-app-scoped-start-stop-and-drop-results branch from 37fb942 to 88db998 Compare October 29, 2026 13:36
@github-actions

Copy link
Copy Markdown

🚀 Preview Deployment

Your preview deployment is ready!

🔗 Preview URL: https://preview.harper-documentation.harperfabric.com/pr-750

This preview will update automatically when you push new commits.

This branch was successfully deployed

1 active deployment
pr-750 — 88db9987 Deployed Oct 29, 2026 by github-actions[bot]
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