Project field note · 3 min read
Why our page check counted six markers but only three cards
Field note on a raw-marker counting error in a prior release check, the handoff timing mistake recorded alongside it, its correction, and what our bounded same-day observations do and do not prove.
ReleaseLog editorial · Published · Sources checked
AI-assisted draft and independent AI source review. Editorial method & corrections. Project observations and controlled reproductions are scoped to the records below; they are not production performance benchmarks.
Documented behaviour
The problem: a counting assertion that measured the wrong thing
Our prior public release carried a page-level acceptance check that counted raw occurrences of a data attribute marker in served HTML. The recorded acceptance note describes what went wrong: Next's serialized data duplicated a data attribute name, so the served page contained six raw marker occurrences for what parsed to three actual guide cards. The old assertion, keyed to the raw count, failed although three cards existed. A check that counts markers in serialized HTML is not counting rendered articles; it is counting string occurrences, and serialization can inflate them.
Reference: Our first editorial deployment: recorded acceptance and correction
Documented behaviour
The recorded handoff timing mistake and its correction
The same record describes a second, more serious defect, and we state it plainly rather than smoothing it over: the outer switch shell lacked failure propagation and began handoff before the complete candidate HTTP gate had finished. The gate did not work before handoff in that release; a still-running gate was overtaken. Afterward the switch script was changed to require candidate, browser and image-provenance acceptance receipts, to make successful gate completion a prerequisite in that switch path.
Reference: Our first editorial deployment: recorded acceptance and correction
Observed in this project
What the controlled checks and snapshots recorded
The controlled fixture contains six raw marker occurrences and three parsed article nodes. A separate public snapshot of the guides page collected at 09:06 UTC on November 10, before this batch, shows the same counts. This is a historical three-card snapshot, not an assertion about the number of articles on the site today. The prior-release acceptance record separately states that all 20 candidate HTTP routes eventually passed, after handoff had already begun, and that five homepage probes observed during that handoff had no failures. The receipt requirement was added afterward. Those observations do not make the original sequencing correct or prove universal zero downtime.
Reference: Recorded controlled checks for these field notes · Our first editorial deployment: recorded acceptance and correction
Editorial analysis
Why parsed nodes beat raw markers
Counting parsed article nodes counts discrete card elements in the HTML document rather than repetitions inside serialized data. Counting raw marker occurrences measures serialization artifacts, which is why the numbers diverged. The useful change is to measure document elements. Visibility and interaction still need browser checks. We also keep in mind the recorded limit of the fixture method: DOMParser does not hydrate or execute scripts, so the parsed-node count verifies structure, not interactive behavior. Real browser interaction tests remain a separate gate, which is one reason the corrected switch script requires a browser acceptance receipt in addition to the HTTP gate.
There is a second measurement question after counting the cards: which candidate did the acceptance result describe? A browser receipt from an earlier image cannot establish that a later image passed. For this batch, the switch prerequisites are checked against the intended source revision and image. This keeps completion evidence attached to the artifact being considered rather than merely to a familiar filename.
Verification checklist
Checklist: acceptance checks that count what matters
- Count parsed article nodes, not raw attribute-marker occurrences, when asserting rendered card counts.
- Expect serialized data to duplicate attribute names; never key pass/fail to raw string counts.
- Propagate gate failures to the switch shell, and block handoff until every gate has completed rather than merely started.
- Require candidate, browser and image-provenance acceptance receipts before any handoff begins.
- Describe handoff probes as observations from that handoff; keep the later gate correction separate from what was actually checked before traffic moved.
Sources & project records
Documentation and project code can change. Check the cited revision, fixture scope and your own environment before applying a recommendation. Source-check dates describe editorial review, not a feature release date.
- Our first editorial deployment: recorded acceptance and correction ↗
Our project source / record · Checked
- Recorded controlled checks for these field notes ↗
Our controlled-check record · Checked