Commit Graph
305 Commits
Author SHA1 Message Date
pingqiuandClaude Opus 5.5 73ec053d7f build: the draft v1.1 store format gets its own tag, apart from the cap lift
swblock_v11_format now turns on the draft v1.1 store format;
swblock_lab_bigvol lifts only the create cap and the headroom refusal.
A build with the format tag names itself in its revision
("LAB BUILD(swblock_v11_format)"), so the image refusal keys on it as it
does on the cap tag, and the CI tag check refuses either tag outside its
allowlist. CI tests each tag alone and both together.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 11:12:42 -08:00
pingqiuandClaude Opus 5.5 68045d9698 durable: remove the smartwal and parallel-walstore engines
- The provider refuses the removed names and, under every selector and
  before any selector comparison, a volume carrying their magic (SWAW;
  SWPW in either header slot), reading the file read-only and never
  modifying it. blockvolume --durable-impl and the launcher refuse the
  names with the same advice; the chart schema allows walstore only.
- core/storage/smartwal, core/storage/parallelwal and
  cmd/sw-block-testutil (whose one command corrupted smartwal records)
  are deleted, with the helm smartwal-corruption scenario and the
  parallel-walstore gate script.
- The replication harness runs on walstore; tests that ran on a removed
  engine only because a stub needed some store move to walstore, and the
  state_convergence label test moves to the in-memory BlockStore.
- sw-block cluster.check drops the removed engines' cases.
- Ledger: INV-OPEN-REMOVED-ENGINE-REFUSED-001 and
  INV-OPEN-REMOVED-ENGINE-NAME-REFUSED-001, an OpenRefused edge in M1, and
  the rows citing the removed tests updated. Docs: block-design 1.3 now
  describes the removal, the smartwal deep-dive and figure are gone, the
  scripts default to walstore, and the v1.1 notes carry the removal.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 20:38:54 -08:00
pingqiuandClaude Opus 5.5 549524f537 lab tag: a lab binary names itself and no image can hold one
A lab build's revision carries LAB BUILD(swblock_lab_bigvol), so -version and
the volume's /status show it. Every image Dockerfile runs
scripts/refuse-lab-binary.sh right after its go build: a binary that is a
lab build, or cannot answer -version, stops the image build, so neither
the publish workflow nor the image scripts can push one. lab-tag-check.sh
now fails closed: an allowlist of the files that may name the tag (git grep;
a scan that cannot run fails), plus the wiring (each Dockerfile refuses
after its last build; the publish workflow builds only from those, with no
go build of its own). Controls cover each contamination and the refusal
script's stand-in binaries. The lab headroom test asserts the warning, and
both invariant rows name the lab exception.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 06:22:45 -08:00
pingqiuandClaude Opus 5.5 9379f5c059 fix(k8s-alpha): escape the image for sed as the install scripts do
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 18:27:33 -08:00
pingqiuandClaude Opus 5.5 3ff0a640fd fix(k8s-alpha): render the failback executor with the selected image
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 18:21:01 -08:00
pingqiuandClaude Opus 5.5 20a93fc09c feat(sw-block): ops failover for standalone; the alpha stack deploys the manual failover
sw-block ops failover is the operator's failover of a standalone
deployment: one call to blockmaster's admin-only FailbackService over
mutual TLS with the expected current line, after the operator confirms the
old node is off or cut from its clients. blockmaster decides the move.

The alpha stack now deploys what its notes describe: blockmaster serves
the failback RPC, and the failback executor (admin client Secret,
execution on) runs in kube-system; install applies the CRD and executor,
uninstall removes both.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 17:38:32 -08:00
pingqiuandClaude Opus 5.5 ce5b5f691a chart: refuse an admin or blockmaster Secret for the CSI node or status operator
The chart sees Secret names, not roles: rendering fails when
tls.clientSecrets.csiNode or .operatorStatus names the CSI controller's,
the failback executor's or blockmaster's own Secret. A test renders the
chart with each such override and expects the refusal. The operator
guide says the CSI node's certificate must have the viewer role in the
role file.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 01:02:44 -08:00
pingqiuandClaude Opus 5.5 cf09289a57 k8s: server ids are checked per DNS label; the cert helper reissues and keeps ids
The launcher and the alpha certificate helper both refuse a server id
whose Secret name has an empty or malformed DNS label (a..b, a.-b, a
label over 63 characters). The helper reissues a leaf that no longer
verifies against its CA (the CA was regenerated), and keeps the server
ids issued by earlier runs in the role file and the applied Secrets.
Node certificates are client-only, so they carry no subjectAltName. The
operator guide says how to upgrade a blockmaster started with
--insecure-external-bind.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 00:49:10 -08:00
pingqiuandClaude Opus 5.5 f7f3b56298 k8s: each in-cluster client gets its own certificate with the least role
The CSI node and the status operator mount viewer certificates; the CSI
controller (it deletes volumes) and the failback executor mount admin
ones. The alpha certificate helper issues one certificate, role-file line
and Secret per client, and the chart takes one Secret per client
(tls.clientSecrets). A chart-render test fails when a client mounts a
Secret other than its own, when an admin Secret appears outside the CSI
controller and the failback executor, or when the role file gives a
client more than its role. A node's refused reattach event is one log
line and is not retried.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 00:41:00 -08:00
pingqiuandClaude Opus 5.5 e82abea6b8 k8s: Kubernetes installs run blockmaster with mutual TLS; the plaintext off-host bind flag is refused
blockmaster refuses --insecure-external-bind (a non-loopback --listen needs
mutual TLS; the runtime HTTP listener stays on loopback), and
--launcher-master-tls-secret-prefix makes each generated volume mount its
server's node certificate Secret and dial with it. The chart, the launcher
renderer, the alpha/g15b/g15d manifests and gate scripts mount the Secrets
and pass the TLS flags; network.externalStatus and the frontend runtime
HTTP option fail the render. scripts/k8s-alpha-certs.sh issues development
certificates and the role file. The systemd startup gate runs its
off-loopback master with mutual TLS.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 00:20:11 -08:00
pingqiuandClaude Opus 5.5 db3f092607 testops: the no-promotion hold fails as unproven without inventory reads; the recovered primary must report frontend ready
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 13:04:11 -08:00
pingqiuandClaude Opus 5.5 7d07c10349 testops: the node-loss gate checks no automatic promotion, then the same primary serves again
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 12:59:26 -08:00
pingqiu ebe1b0bd13 test: include reproducible manifest scaling qualification checker 2026-11-18 21:50:16 -08:00
pingqiuandClaude Opus 5.5 63dcb49a54 docs: delete outdated docs, simplify the rest, and split the design reference with diagrams
- Delete the stale roadmap and eight wiki planning pages (git history keeps
  them); move the only unique content (Phase 166-170 write-path experiment
  results) into docs/releases/nvme-tcp-supported-lab.md.
- Simplify the remaining user docs; duplicated non-claim lists link to
  docs/kubernetes-status.md; lab host names and local paths are removed.
- Split docs/design/block-design.md into core, agent-workspace-design.md and
  kubernetes-block-design.md; add four SVG diagrams of the on-disk and remote
  structures and new mermaid diagrams.
- mkdocs.yml nav and README links follow the new layout; the two gate
  scripts drop the one check each that read a deleted file.

Docs only; no product code changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 16:16:02 -08:00
Ping Qiu 49b726d6dd durable: remove successful write logging without weakening I/O drain (#105) 2026-11-15 10:18:02 -08:00
pingqiu 67499939d3 test: classify mounted NVMe write shape 2026-08-01 04:31:30 -07:00
pingqiu 470d0b0056 test: declare mounted NVMe network class 2026-08-01 04:22:53 -07:00
pingqiu 46aa2e122d obs: profile mounted NVMe write phases 2026-08-01 04:18:38 -07:00
pingqiu 3ae66df58d obs: attribute NVMe write phases 2026-08-01 04:05:08 -07:00
pingqiu 6d88dc40bf test: record phase174 NVMe source commit 2026-08-01 03:49:47 -07:00
pingqiu d79d280458 test: distinguish phase174 NVMe stability scopes 2026-08-01 03:48:11 -07:00
pingqiu 9fb03057f3 test: add phase174 NVMe fixed-work attribution 2026-08-01 03:44:12 -07:00
pingqiu c2c353ac98 test: rebuild recycled phase174 replicas 2026-08-01 03:26:43 -07:00
pingqiu 57e82db212 test: stop phase174 remote helpers on failure 2026-08-01 03:23:23 -07:00
pingqiu 87617aedad fix: require recovery before peer queue reset 2026-08-01 03:19:51 -07:00
pingqiu e8f02591de test: accept prebuilt phase174 RF3 helper 2026-08-01 03:06:24 -07:00
pingqiu 42dca2190d test: add phase174 distinct-node RF3 gate 2026-08-01 03:04:34 -07:00
pingqiu 8b9cbfd046 test: attribute phase174 RF1 write boundaries 2026-08-01 02:45:55 -07:00
pingqiu f44d3245e0 test: reverse phase174 independent sample order 2026-08-01 02:32:28 -07:00
pingqiu c7624e55bb test: reset phase174 flusher measurement phase 2026-08-01 02:18:13 -07:00
pingqiu d427ed8efa test: add phase174 comparable pipeline work 2026-08-01 02:11:18 -07:00
pingqiu 3045f140ec test: await PV deletion before CSI teardown 2026-08-01 01:36:16 -07:00
pingqiu 5c6d6e39c0 qa: make phase173 controls attribution-only 2026-08-01 01:18:58 -07:00
pingqiu 36c3c71346 test: parse noisy phase173 adapter benchmark 2026-08-01 01:16:23 -07:00
pingqiu 426d5339a3 qa: fail closed on unstable phase173 controls 2026-08-01 01:14:17 -07:00
pingqiu 46016f727d test: reuse preconditioned phase173 control stores 2026-08-01 01:11:34 -07:00
pingqiu 6165755950 test: isolate phase173 control samples 2026-08-01 01:08:54 -07:00
pingqiu c5356bf85a test: pin phase173 controls to comparable CPUs 2026-08-01 01:05:57 -07:00
pingqiu cf6e95217b test: attribute phase173 control heap variance 2026-08-01 01:03:39 -07:00
pingqiu 3b0bf6d746 test: stabilize phase173 architecture controls 2026-08-01 01:00:52 -07:00
pingqiu 5043bd951c storage: add phase173 architecture controls 2026-08-01 00:55:06 -07:00
pingqiu a1f4aac92b qa: complete phase173 attribution summary 2026-08-01 00:39:54 -07:00
pingqiu d4ecfe9c84 qa: scope phase173 memory attribution honestly 2026-08-01 00:37:50 -07:00
pingqiu 86222889cd storage: add exact shipped-path attribution gate 2026-08-01 00:34:52 -07:00
pingqiu f394379f9f qa: align fixed-work flusher phase 2026-08-01 00:15:53 -07:00
pingqiu 550fb6742d qa: precondition persistent fixed-work stores 2026-08-01 00:10:35 -07:00
pingqiu 3437afe19d qa: isolate fixed-work device state 2026-08-01 00:04:53 -07:00
pingqiu 1ea8dacd95 qa: account for WAL wrap padding writes 2026-07-31 23:49:55 -07:00
pingqiu 1f9bee2b4d qa: stabilize fixed-work admission samples 2026-07-31 23:48:05 -07:00
pingqiu bb7bd66fa1 storage: add deterministic fixed-work baseline gate 2026-07-31 23:41:19 -07:00