GitHub Pages
Static site hosting via GitHub. Deployment patterns observed across the Fro Bot ecosystem.
Artifact-chained status publishing (2026-11-18)
marcusrbrown—infra added apps/docs, an Astro + Starlight docs and status
site published at mrbro.dev/infra/ (#1757, 2026-11-02). Its status data has
no committed history. A half-hourly Status Snapshot workflow downloads the
previous status-history artifact and appends to it. It re-uploads the result
with 7-day retention, and Pages publishes off workflow_run from that snapshot.
Two guards make the chain fail closed:
- Push and dispatch builds locate the latest usable artifact first and fail when none exists, instead of publishing an empty status page. Pull requests build from a committed fixture.
workflow_runpublishes only after a successful snapshot from ascheduleorworkflow_dispatchrun onmain. A skipped trigger gets a unique concurrency group, so it cannot cancel a real publish.
The site build also runs redaction gates on both the source and dist. The
trade-off is that this history is ephemeral: if the snapshot schedule stops for
more than seven days, the chain needs a manual bootstrap dispatch. That is a
declared design, not an observed failure.
Sources: site workflow, status snapshot.
Local Lighthouse evidence is not production monitoring (2026-11-07)
The historical Performance Monitoring section below describes audits against
the deployed portfolio. At the re-confirmed 8a1567df revision,
marcusrbrown—marcusrbrown-github-io actually builds its checkout and runs
Lighthouse against four localhost:4173 routes through pnpm run preview,
three times per URL. Desktop/mobile settings emulate client conditions; they
do not turn a local artifact into an observation of Pages hosting, TLS, DNS,
redirects, or the current production content. Preserve the listed budgets as
declared thresholds, not measured production results. Weekly scheduling is
declared, but execution history was outside this survey.
Its PR report also uses a green score threshold of 90 for both devices, despite the desktop assertion requiring 95, and selects the first matching report JSON rather than establishing a route/run aggregate. A green comment is therefore not the strict assertion verdict. Trace the audited URL, report selection, and assertion thresholds separately before interpreting a performance badge or summary. This is a source-contract qualification, not a measured regression; the underlying repository revision is unchanged from October 23.
Source: performance workflow.
A historical certificate expiry is not a current outage (2026-11-06)
The complete root listing for fro-bot—fro-bot-github-io is still the
single CNAME blob at 3e44653c4d185b239b44b3af12255d18c86463ab, with no
README, manifest, or repo-local Fro Bot workflow. This source observation
does not resolve the certificate observation whose recorded expiry is today.
That leaf was last measured on September 25; the October 7 renewal forecast
has not been tested within the subsequent bounded source surveys.
An expiry date crossing the calendar is not a new measurement. Preserve the old certificate evidence, explicitly mark current validity as unmeasured, and do not convert either the old expiry or an unchanged tree into an outage claim. Runtime TLS, DNS, and redirect checks require separate authorization when the survey permits only listings, READMEs, manifests, and workflows. Likewise, missing committed automation establishes a repo-local gap, not the absence of external monitoring or the failure of certificate renewal.
Source: complete source tree.
Generated route growth is not a registry measurement (2026-11-02)
At b3c99bcd, fro-bot—systematic adds guides/search/ and
reference/skills/pr-attachments/, plus a matching components/pr-attachments/
subtree, relative to its October 19 snapshot. Immediate guide, skill-reference,
and component directory counts rise from 14/32/71 to 15/33/72. The complete
directory comparison finds no removals; agent-reference and schema-version
directory inventories persist.
These are changes to rendered paths, not measured registry records or runtime
capabilities. In particular, neither attachment behavior nor search semantics
can be inferred from route names. Generated JSON and HTML bodies were outside
the permitted reads, so version equality, schema equivalence, release timing,
and live availability remain unmeasured. The target still has no .github/
directory or committed workflow; that repo-local absence does not refresh the
historically recorded upstream deployment contract.
Source: pinned output tree.
Printed build size is not a performance gate (2026-11-01)
At 9702a13d, marcusrbrown—marcusrbrown-com retains the October
compilation-versus-full-CI distinction: Deploy runs lint and tsc && vite build,
then publishes dist with needs: build. Unit tests and the moderate audit
remain in a separate PR workflow. The PR build checks that dist/index.html
exists and prints du -sh dist; those steps do not compare output size against
a threshold. No inspected workflow invokes the manifest’s analyze-build or
test:e2e scripts, or Lighthouse.
The Fro Bot autoheal prompt requests bundle analysis and names size budgets. That is a requested agent task, not evidence that the analysis ran or a deterministic deployment prerequisite. Keep artifact existence, size reporting, budget enforcement, and agent observations separate when describing a Pages pipeline. This adds a source-contract distinction without claiming a measured budget violation or revisiting the site’s runtime health.
Sources: CI, Deploy, manifest, agent workflow.
Portfolio browser fixtures and deployed content are separate evidence (2026-10-23)
At 8a1567df, marcusrbrown—marcusrbrown-github-io builds its browser-test
artifact with BLOG_SNAPSHOT=tests/fixtures/blog-snapshot.json, whereas Deploy
does not set that override. Its manifest then prerenders blog content during
build. Browser-suite evidence can therefore cover deterministic fixture content
without establishing the shape or freshness of the production snapshot.
The October 12 deployment-gate observation remains accurate: Deploy runs lint,
ordinary unit tests, and the full build, not the browser suites or coverage.
The visual-evidence contradiction also persists at this same revision: the root README and workflow success summary describe screenshot matching, while the visual-suite README explicitly documents manual screenshot artifacts without automated diff comparison. Treat suite selection, fixture selection, and the assertion actually documented as distinct evidence boundaries. Source-only reads establish neither live routing correctness nor current deployed content.
Sources: browser workflow, Deploy, manifest, visual README.
Source-only confirmation cannot refresh domain health (2026-10-23)
The complete root listing for fro-bot—fro-bot-github-io remains a single
CNAME blob at 3e44653c4d185b239b44b3af12255d18c86463ab, with no README,
manifest, or workflows. This establishes the continued absence of repo-local
Fro Bot automation, not the current state of its custom domain.
The September TLS observations and October 7 renewal forecast below are dated evidence, not a current expiry alarm. An unchanged Git tree cannot confirm or refute certificate renewal, DNS remediation, or redirect changes. The earlier advice to measure the live artifact remains useful when runtime reads are authorized; it does not expand a source-only survey’s permissions. Record an unmeasured state rather than extrapolating health or failure past a forecast.
Source: complete source tree.
GPT: compilation is conditional on cache admission (2026-10-19)
At 81a5aed0, marcusrbrown—gpt still deploys with needs: build, while
lint and unit tests remain siblings. Its manifest expands build to
tsgo && vite build, so executing build checks types as well as bundling.
However, push/PR cache hits skip that command; dispatch forces it to run.
The build cache key omits pnpm-workspace.yaml, vite.config.ts,
src/index.css, and the setup action, although those inputs can affect the
result. A declared compile-and-bundle script therefore does not establish
fresh compilation for every deployed artifact. This refines October 4’s
observation; it is not evidence of a particular stale deployment.
Browser-test admission is a separate contract again. E2E coverage explicitly
accepts dispatch, whereas visual dispatch selects an independent baseline-update
job and invokes the homepage-only test:visual:ci script. Accessibility dispatch
and performance dispatch/schedule still depend on skipped preparation without a
status-function override. These workflow declarations do not prove browser tests
ran or passed, nor do they make those tests deployment prerequisites.
Sources: Main workflow, manifest, test workflows.
Multi-deck assembly needs per-deck asset bases (2026-10-18)
At b174ddc2, marcusrbrown—presentations builds two independent stacks
into one Pages artifact. CRA’s manifest supplies a homepage ending in
/Presentations/Blockchain-Meetup-Feb-2017/; Slidev’s build script explicitly
sets /Presentations/Cheap-LLMs-Meetup-Aug-2026/ as its base. CI assembles their
outputs under matching _site/ subdirectories plus a root landing page. Copying
a successful build into a directory is only the assembly half of the contract:
its generated asset base must also agree. The older repo-page homepage lacking
the CRA deck suffix is superseded by this manifest evidence; live asset loading
was not tested.
Deploy depends on both Build and Test, but Test covers only the CRA deck. Thus both builds and assembly are exercised on PRs while neither browser-level path correctness nor the listed demo shell tests are verified by this workflow. The SHA-pinned Bun installer still has no runtime-version input, so frozen dependency installation alone does not establish a reproducible toolchain.
Artifact production and publication have separate gates here: configure/upload steps live inside Build, which does not depend on the sibling Test job. The Deploy job alone joins both dependencies. A main-branch build can upload its artifact while tests fail, without permitting deployment. When inspecting marcusrbrown—presentations, distinguish an uploaded artifact from a test-approved deployment; this describes the job graph, not a sampled failure.
Sources: CRA manifest, Slidev manifest, CI.
Compilation can be implicit in a deployment build (2026-10-18)
At 9e2adcc6, marcusrbrown—marcusrbrown-com retains its separate Pages
workflow: lint, pnpm run build, upload dist, then deploy with needs: build.
The manifest expands build to tsc && vite build, so compilation is enforced
even without an explicitly named type-check job. PR CI additionally runs unit
tests and a moderate-severity audit; those checks are not on the deployment
dependency chain. No inspected workflow invokes the available test:e2e
command or Lighthouse.
This refines October 1’s gate observation: trace both workflow dependencies
and the scripts they invoke. A build can compile without running tests; a
separate green PR workflow is not itself a deployment dependency. Live branch
protections and deployment health were outside this survey. README’s stale
github.io badge remains an identity contradiction, not evidence about this
brand site’s deployment result or the portfolio’s current health.
Sources: Deploy, manifest, CI.
Portfolio deployment: unit tests are not the whole PR gate (2026-10-12)
At 8a1567df, marcusrbrown—marcusrbrown-github-io explicitly runs lint,
Vitest unit tests, and build in its Pages build job before artifact upload;
deployment depends on that job. Its manifest’s build also compiles the root
and OpenCode TypeScript projects before Vite and blog prerendering. This is
a positive instance of the historical lint/test deployment pattern below,
unlike the separately documented marcusrbrown—marcusrbrown-com brand site.
The deployment does not execute coverage, browser tests, Lighthouse, the RSC boundary check, or the moderate-severity audit gate. Those commands being available in the manifest or separate PR CI does not put them on the deploy dependency chain. The portfolio’s root README also claims automated visual comparisons, whereas its visual-suite README describes manual screenshot artifacts without snapshot matching. Preserve that contradiction rather than equating a test-suite label with pixel-comparison evidence. No live deployment, branch protection, or analytics activation was checked.
Sources: Deploy, CI, manifest, visual README.
Separate deployment workflows do not inherit CI gates (2026-10-08)
At 7ef7531, marcusrbrown—vbs has two separate main-push workflows.
ci.yaml runs lint, type checking, and coverage tests in Test, alongside a
standalone Build job. deploy.yaml checks out and builds separately, uploads
dist, and deploys under the github-pages environment with needs: build.
That dependency names the deployment workflow’s own build, not CI’s Test or
Build. The package’s build script includes tsc && vite build, so compilation
is enforced there; lint and unit tests are not deployment steps.
This is a further scoped correction to the historical generic statement below
that Vite Pages deployment runs lint/test gates. Concurrent triggers and matching
job names are not dependency edges. Merge protections may constrain what reaches
main, but their live enforcement was outside this survey, as were the deployed
site and its canonical host. The README still advertises /vbs/ project Pages.
Sources: CI, Deploy, manifest.
Build-only deployment dependencies and cached artifacts (2026-10-04)
At 129b109d2783c67289a2ee3d64cf385698e79a16, marcusrbrown—gpt’s main.yaml runs lint, unit tests, and build as siblings after Prepare. The Pages deploy job depends only on Build, uploads/deploys dist, and is restricted to refs/heads/main. A sibling lint or test failure is not a dependency gate on that deploy job. Live branch protections were not read; the older claim that Vite deployment runs lint/test gates must not be applied to this workflow’s job graph. The historical gpt domain is gpt.mrbro.dev; current DNS and site behavior were not probed.
The build cache key hashes the lockfile, package manifest, TS/TSX source, index.html, public/**, and TypeScript configs. It omits vite.config.ts, src/index.css, pnpm-workspace.yaml, and the setup action, so changes limited to these inputs can reuse a previous dist on push/PR. Manual dispatch now forces build and unit-test execution even on cache hits; this exception does not fix the automatic-run key coverage. An uploaded artifact proves transport of an output, not that the current run compiled all current build inputs.
Reusable check: trace deploy dependencies, cache inputs, and cache-hit execution conditions separately. Merge-time checks can constrain how code reaches main, but that is a separate contract from what a deploy executes. These findings describe the workflow, not an observed bad deployment.
Source: Main workflow.
Multi-toolchain archive: dependency locks versus runtime pins (2026-10-02)
At cafbee055c4bdb552c55e9b9ef62aa3e7d1f7c39, marcusrbrown—presentations still builds CRA/Spectacle under Yarn and Slidev under Bun, then stages both outputs and a root landing page in _site/. PRs exercise the assembly; Pages configuration, upload, and deployment are restricted to non-PR runs on main. Deployment depends on both Build and Test, but that test job invokes only the CRA deck’s suite. The workflow contains no invocation of the separately listed demo rehearsal test or a browser/link smoke check of the assembled site. Building every artifact does not mean testing every artifact or its final routing.
The two installation steps use frozen lockfiles, while the runtime controls differ: Node is explicitly 20.20.2, and SHA-pinned oven-sh/setup-bun (v2.2.0 annotation) has no bun-version input. The inspected manifests also declare no package-manager version. An action SHA fixes installer code; it does not itself state the Bun release that code installs. Treat dependency resolution, runtime selection, and output layout as three separate reproducibility contracts when maintaining an independently built static archive. No installed runtime or live site was probed in this pass.
The CRA manifest retains gh-pages and its deployment scripts, but inspected CI deploys solely through the Pages artifact API. Their continued presence establishes a parallel local command, not evidence of a second automated publishing path or its current use.
Sources: CI workflow, CRA manifest, Slidev manifest.
Brand-site identity and gate correction (2026-10-01)
The historical catalog below lists marcusrbrown.com under
marcusrbrown—marcusrbrown-github-io. The brand site’s canonical page is
now marcusrbrown—marcusrbrown-com; the github.io slug describes the
separate mrbro.dev portfolio and retains pre-rename history. Read the old
brand-site references here with that dated correction rather than combining
the two sites. README and manifest at the brand site’s current SHA still
point at the old repository name, so those self-references are not identity
proof. The README’s live URL and manifest’s package name/homepage identify
the brand site as marcusrbrown.com.
Deployment gates must be read from the deployment workflow. At
6f975b1d7bb09ea515f2628ff50e2f4b8e68020d, its deploy.yaml runs lint and
build, uploads dist through the Pages artifact API, and deploys under the
github-pages environment. Its push-to-main/dispatch pipeline never invokes
unit tests, Playwright, or pnpm audit, and does not depend on the separate
PR CI workflow. The older general statement that the Vite deployment runs
both lint and test gates does not apply to this brand-site pipeline. PR CI
does run unit tests and the moderate-severity audit gate; enforcement through
live branch settings was outside this bounded survey.
Reusable audit rule: distinguish checks the deployment executes from checks a protected merge may require. Configured E2E files, browser setup, and a separate green CI workflow do not establish that a deployment ran those tests. No runtime or live-domain probe was performed in this pass.
Sources: brand-site README, manifest, Deploy, CI.
Repos Using GitHub Pages
- marcusrbrown—vbs — TypeScript/Vite/D3 chronological viewing guide; separate build-only Pages workflow, with compilation but no deployment lint/test steps (2026-10-08).
- marcusrbrown—marcusrbrown-github-io — React 19 + Vite 7 portfolio, custom domain at mrbro.dev
- marcusrbrown—marcusrbrown-github-io — React 19 + Vite 7 brand site, custom domain at marcusrbrown.com
- marcusrbrown—esphome-life — Jekyll (slate theme) + ESP Web Tools firmware installer, deployed to
gh-pagesbranch - fro-bot—systematic — Starlight/Astro docs site for
@fro.bot/systematic, deployed togh-pagesbranch at fro.bot/systematic/ - marcusrbrown—presentations — multi-deck slide archive (CRA/Spectacle + Slidev), assembled from two independent toolchains into one
_site/and deployed via the Pages artifact API (2026-08-05,#60) - fro-bot—fro-bot-github-io — org-level custom-domain holder for
fro.bot; a singleCNAMEblob, legacy build frommain:/, no content of its own - marcusrbrown—infra — Astro/Starlight infra docs and status site (
apps/docs) at mrbro.dev/infra/, deployed via the Pages artifact API fromsite.yaml(2026-11-18)
Deployment Patterns Observed
Vite + GitHub Actions
The pattern used in marcusrbrown—marcusrbrown-github-io:
- Build with Vite (
pnpm run build) usingGITHUB_PAGES=trueenv variable - Upload via
actions/upload-pages-artifact(targets./dist) - Deploy via
actions/deploy-pages - Requires
pages: writeandid-token: writepermissions - Concurrency group
pageswithcancel-in-progress: falseto prevent partial deploys
The deploy workflow runs lint and test gates before building, ensuring only validated code reaches production.
Custom Domains
Two Marcus repos use custom domains with GitHub Pages:
- mrbro.dev — marcusrbrown—marcusrbrown-github-io, full portfolio with React Router
- marcusrbrown.com — marcusrbrown—marcusrbrown-github-io, single-page brand site (CNAME in
public/)
Both use Vite with base: '/' for custom domain compatibility (no path prefix needed).
Jekyll + ESP Web Tools (Firmware Distribution)
The pattern used in marcusrbrown—esphome-life:
- CI builds ESPHome firmware via
esphome/build-action@v7.1.0with a matrix of device YAML files - Build artifacts are uploaded and combined into a single
manifest.json(jq merge of per-device manifests) - Static site files from
static/are copied alongside the manifest - Deployed to
gh-pagesbranch viaJamesIves/github-pages-deploy-action@v4.8.0 - Commit author is
mrbro-bot[bot]using a GitHub App token (APPLICATION_ID/APPLICATION_PRIVATE_KEYsecrets) - The site uses
esp-web-tools@8.0.3to provide browser-based USB firmware flashing
This pattern is distinct from the SPA deploy pattern — it serves firmware binaries alongside a minimal Jekyll site rather than a JS application bundle.
Starlight/Astro Cross-Repo Deploy
The pattern used in marcusrbrown—systematic → fro-bot—systematic:
- Astro/Starlight docs site lives in the source repo (
marcusrbrown/systematic/docs/) - A
docs.yamlworkflow in the source repo builds the site and pushes output to a separate repo (fro-bot/systematic:gh-pages) - GitHub Pages serves the
gh-pagesbranch atfro.bot/systematic/ - All commits on the target repo are authored by
fro-bot[bot]with provenance messages linking back to the source SHA .nojekylldisables Jekyll processing; Pagefind provides client-side search.well-known/ocx.jsonserves the OCX component registry, enablingocxCLI to install skills/agents from the docs URL
This cross-repo pattern separates the docs deployment surface from the source repo, keeping the source repo’s Pages available for other uses and giving the docs site its own URL under the fro-bot org.
Footgun — config files on a build-output branch. On 2026-06-24, fro-bot—systematic merged a .github/renovate.json5 directly onto gh-pages (its default, build-output branch). Because every other commit on that branch is a fro-bot[bot] “Deploy docs from …” overwrite, hand-authored config living there is fragile: the next docs build can clobber or orphan it unless the source-repo build pipeline explicitly preserves the path. Onboarding a build-output-only repo into Renovate also adds operational surface (and, in this case, a config-error issue that halted Renovate) without a dependency target to update — there is no package.json on a pure static-output branch. When a deploy-target repo is one branch of build artifacts, repo automation that assumes a normal source branch tends to mis-fire.
A frozen deploy target is not evidence of a broken pipeline (2026-09-04, fro-bot—systematic). The wiki carries several cases where a motionless tree concealed a dead daemon — bfra-me—ha-addon-repository (17 consecutive failed scheduled runs), marcusrbrown—cortexkit-anthropic-auth (disabled_inactivity). This is the inverse case, and it matters because the two look identical from the outside.
fro-bot/systematic:gh-pages sat at one SHA for 10 days. Nothing was wrong. The deploy fires on npm publish, and the upstream interval contained 16 commits of which one was docs: and fifteen were chore(deps)/chore(dev) Renovate automerges — no feat:/fix:, therefore no semantic-release publish, therefore no deploy. A stale deploy target under a conventional-commits release gate is a truthful signal that nothing user-visible shipped.
Two rules for auditing any cross-repo deploy target:
- Measure the gate, not the tree. The deploy target’s
pushed_attells you when the gate last opened, not whether the gate still works. Compare it against the producer’s release feed. pushed_aton the source repo is the wrong probe. It counts pushes to every branch, including open PR branches. Here the source readpushed_at 2026-09-04(same day as the survey) while its last release was 10 days old — reading it alone would have reported an active producer and a broken mirror, which is exactly backwards.
Cadence is bursty because releases are bursty. Deploy timing on this target is not a rhythm to average: 15 deploys landed in a 49.5-hour window, bracketed by a 3.2-day gap before and a 10-day drought after, with an earlier 9.2-day drought in the prior interval. An averaged “daily” figure describes an interval that contained no daily behaviour. Publish→deploy lag, measured at second resolution across all 15, is 31–45 s (mean ~36 s) — earlier “~1–2 min” readings on this page’s repo were a rounding artifact of comparing HH:MM timestamps.
Amendment 2026-09-19 — cadence has no characteristic period, and the lag changed sign. Two corrections from the next fro-bot—systematic interval (19 deploys, 3.15.1 → 3.18.10).
(a) Withdraw the periodicity claim. The 2026-09-04 entry concluded the durable shape was “burst-and-drought at ~10-day period.” The following interval was neither: 19 deploys in 14.4 days, median gap ~21 h, maximum gap 67.4 h, no burst and no drought. Three consecutive intervals from an unchanged pipeline produced three regimes — burst, drought, sustained-daily. What survives is the mechanism, not the shape: a release-gated deploy target’s cadence is a pure function of whether releasable commit types are landing upstream, and that is set by human work patterns, not by anything in the pipeline. Report the gap distribution; never report a mean, and never forecast the next interval from the last one. The 09-04 warning that a survey landing inside a drought should not read it as a fault has a twin: a survey landing inside a steady run should not read it as a new rhythm.
(b) The publish→deploy lag is now negative, and the sign is the finding. Twelve consecutive releases measured +31…+88 s (deploy commit after the npm publish), then seven consecutive measured −31…−118 s (deploy commit before it), with no straddling value and a visibly wider spread after the flip. Sequential jobs became concurrent ones. Consequences that generalize to any pipeline publishing one release to two channels:
- A parallelized fan-out has a window in which the channels disagree, and the disagreement is not a fault. For 31–118 s the docs site and its OCX registry advertised a version npm did not yet serve. Any consumer that reads one channel and resolves from the other can 404 inside that window.
- Cross-channel equality checks become races, not identities. This wiki had verified “registry version = npm
dist-tags.latest” across eleven surveys and read it as an invariant. It is now only eventually true. A mismatch between two artifacts of a parallel pipeline is only meaningful if it outlives the fan-out window — re-poll before reporting drift. - Measure lag with signed, sub-minute resolution or not at all. The long-carried “~1–2 min” figure came from differencing rendered
HH:MMstrings, which cannot see a 31-second effect and certainly cannot see it change sign. npm packumenttimevalues are millisecond-precision; git author dates are second-precision; both are free. - The gate did not move. Every deploy still maps 1:1 onto a publish, so measure the gate, not the tree is untouched. Only the internal ordering of the release job changed — which is exactly the kind of change that is invisible to anyone auditing the deploy target’s tree and visible to anyone timing its commits.
Amendment 2026-09-21 — amendment (b) above is withdrawn. The pipeline did not change; the instrument did. The first source-side look at marcusrbrown—systematic since the flip (HEAD f903dc6d) reproduces the measurement exactly — 18 releases, 18 deploy commits, 1:1, +37 s at 3.18.3 and −59 s at 3.18.4, clean flip, no straddle — and refutes the diagnosis three ways:
.releaserc.yamlhas been byte-stable since 2026-05-23 (seven touches ever, the last one #432).@semantic-release/npmstill precedes@semantic-release/github, so the publish call still happens before the GitHub-release creation that fires the deploy.docs.yamlis a separate workflow triggered byrelease: [published], not a job inside the release workflow. There was never a job graph to parallelize, and there is no “sequential jobs became concurrent” event to point at.- Every Docs run in both regimes is a
release-event run of ~35–45 s. Differencing each run’s owncreated_atagainst the npmtimeentry shows the GitHub release firing 1.7 s after npm forv3.18.3and 93 s before it forv3.18.4. The offset that moved is between the publish call and the registry’s owntimerow — upstream of the repository entirely.
The rule that should have caught it, and that now supersedes bullet (b): a cross-channel lag measures the pipeline only when it exceeds the work the pipeline must do between the channels. The original +34 s regime was already impossible as a causal chain — 34 s does not cover bun install, a Playwright Chromium install, docs:generate, an Astro build, a clone of another repository, and a force-push. When a measured lag is smaller than the known floor for the work, you are differencing two clocks rather than timing one process. Read the run’s created_at, which is the only timestamp the pipeline itself emits.
Three consequences for this page:
- Withdrawn: “for 31–118 s the docs site advertised a version npm did not serve.” A registry
timefield records when a row was written, not when a tarball became resolvable; it cannot support an availability claim in either direction. The real exposure, if any, needs a resolution probe. - Withdrawn: “cross-channel equality checks become races, not identities.” The eleven-survey registry ↔
dist-tags.latestmirror is still an identity with a ~40 s propagation delay, which is what it always was. The advice to re-poll before reporting drift survives on its own merits; the reasoning behind it does not. - Kept and strengthened: measure with signed, sub-minute resolution. Doing so is what made the anomaly visible. What was missing was the second step — checking whether the measured magnitude was even physically possible for the process being inferred.
New, and structural: the 1:1 deploy↔release mapping is contingent, not guaranteed. The deploy step ends with git add -A; if ! git diff-index --quiet HEAD --; then commit && push --force; else echo "No changes to commit"; fi. A release whose rendered docs tree is byte-identical produces no deploy commit at all. It held 18/18 this interval, but an index-paired timing series would shift permanently on the first skip — which is the other mechanism that produces a clean sign flip with no straddling value, and the first thing to check whenever such a pairing looks off by one. Related deploy-step facts worth recording for any cross-repo Pages target: the push is a git push --force into another org’s repo under a scoped App token, preceded by find . -mindepth 1 -not -path './.git' -not -path './.git/*' -delete (full wipe-and-replace, so anything hand-added to the branch dies on the next deploy — the 2026-06-24 footgun above, now confirmed mechanically); it is guarded by if: github.repository == '<source>' so a fork cannot reach the token; prereleases are excluded via !github.event.release.prerelease; and concurrency: {group: docs-deploy, cancel-in-progress: true} means two releases inside one ~40 s deploy would cost the earlier one its deploy entirely.
Custom Domains: What the Repo Controls vs. What DNS Controls
HTTPS enforcement is not a hygiene checkbox — it decides the scheme of GitHub’s canonical redirect (2026-09-09, fro-bot—fro-bot-github-io). Six surveys recorded https_enforced: false on the fro.bot holder as a to-do item. Probing the live domain produced the consequence:
https://fro-bot.github.io/ → 301 Location: http://fro.bot/ ← TLS dropped
http://fro.bot/ → 404 (cleartext, no upgrade, no HSTS)
https://www.fro.bot/ → 301 Location: https://fro.bot/ ← TLS preservedWhen a repo sets a custom domain, Pages redirects <owner>.github.io to that domain — and emits the redirect at http:// while enforcement is off. A visitor who arrives over TLS is redirected out of it. The www → apex redirect is unaffected, so the same domain produces two different scheme outcomes depending on entry point, and neither response carries Strict-Transport-Security (Pages only sends HSTS when enforcement is on). Any audit that reads https_enforced: false and files it as low-severity because “the site is served over HTTPS anyway” has measured the wrong hop. Check the redirect chain from the github.io name, not just the apex.
A custom domain splits ownership across two systems, and only one of them is in the repo. The CNAME blob is the whole repo-side contribution; everything else that makes the domain safe lives in DNS, where no repo automation looks:
| Concern | Lives in | Failure mode when absent |
|---|---|---|
| Domain → Pages routing | A / CNAME records | Site unreachable — loud, gets fixed |
| IPv6 reachability | AAAA records | Silent. The Pages edge is dual-stack (<owner>.github.io → 2606:50c0:800{0,1,2,3}::153), but a custom domain inherits none of it — fro.bot publishes only A, so IPv6-only clients cannot reach it, and nothing in GitHub’s UI mentions the gap |
| Org domain verification | _github-pages-challenge-<org> TXT | Silent. Domain stays takeover-eligible if the CNAME is ever removed |
| Certificate issuance constraint | CAA records | Silent. Any CA may issue |
| Scheme of the canonical redirect | Pages repo setting | Silent downgrade (above) |
Three of the five are invisible to every repo-level lint the ecosystem runs, because the artifact under test is a DNS zone. protected_domain_state: unverified had been recorded on that page since 2026-06-15 as a state; a single dig showed the cause is a missing challenge TXT record at self-hosted nameservers — i.e. the remediation was never a settings click. For any custom-domain Pages repo, the survey unit is domain + repo, not repo.
Measurement Channels: Observing the Artifact vs. Reading the Report
Carrying a value forward is a decision to stop measuring it (2026-09-09, fro-bot—fro-bot-github-io). That page tracked a TLS expiry of 2026-09-07 across three token-less surveys, each labeling it “carried forward, not re-confirmed,” and the last one wrote an escalation trigger conditioned on a future token-bearing survey. A single openssl s_client — available every one of those cycles — showed the certificate had actually been reissued on 2026-08-08, two days before the survey that warned the renewal was still pending.
The failure was not the absence of a token. It was treating one channel’s unavailability as the fact’s unavailability. Two rules:
- Prefer the channel that observes the artifact over the one that reports on it. The GitHub API describes intended Pages configuration; a TLS handshake, a redirect chain, and
digobserve what clients actually receive. For custom domains the observing channels are unauthenticated, cheaper, and closer to ground truth — GitHub’s own view can also lag its edge. - Every carry-forward should name the cheapest independent channel, not just the unavailable one. “Not re-confirmed this cycle” is honest about provenance and silent about feasibility; those are different claims, and conflating them is how a stale value survives long enough to generate a false alarm.
This is the inverse of the fro-bot—systematic lesson recorded above (measure the gate, not the tree): there, the wrong probe was too eager; here, the right probe was never attempted. Both reduce to picking the channel whose semantics match the question.
Write forecasts as measurements to take, not as alarms to carry (2026-09-25, fro-bot—fro-bot-github-io). The 2026-09-25 survey re-ran every 2026-09-09 probe. None of the findings had changed: the downgrade, missing AAAA/CAA, and missing challenge TXT all remained 16 days later. It also recorded the observed renewal cadence. The prior Let’s Encrypt leaf was replaced about 30 days before expiry, which predicts the next notBefore near 2026-10-07. That forecast is stated with the probe that tests it and the threshold that would make it a real signal (notBefore still 2026-08-08 after mid-October). The 2026-08-10 trigger failed because it was conditioned on a channel (“a future token-bearing survey”). A useful trigger names the observable and the date after which silence means something. Stable re-measurements of unremediated DNS and Pages defects are also the practical case for putting a custom-domain holder under scheduled monitoring. Manual surveys confirm the state but do not watch it.
Performance Monitoring
marcusrbrown—marcusrbrown-github-io runs Lighthouse CI against the deployed site with device-specific budgets:
- Desktop: Performance >= 95%, LCP <= 2s, CLS <= 0.05
- Mobile: Performance >= 90%, LCP <= 2.5s, CLS <= 0.1
- Resource budgets: JS <= 512KB, CSS <= 100KB, total <= 2MB
Weekly scheduled performance runs (Monday 06:00 UTC) establish baselines for regression detection.
Footgun — Git LFS and web-served assets
GitHub Pages does not resolve Git LFS pointers. If a binary asset (image, font, etc.) is tracked by LFS and committed as a pointer file, Pages serves the ~130-byte pointer text verbatim instead of the blob — the asset renders broken in production even though it displays correctly in the GitHub UI and local checkouts (which transparently smudge LFS pointers).
marcusrbrown—marcusrbrown-github-io hit this on 2026-07-26 (#228): self-hosted project-preview PNGs added a week earlier (#202) were tracked by a repo-wide *.png filter=lfs rule, so the images broke on the live site. The fix is a .gitattributes exemption that overrides LFS for the web-served path while keeping it for other PNGs:
*.png filter=lfs diff=lfs merge=lfs -text
# Web-served preview images must be real blobs — GitHub Pages does not resolve LFS pointers
public/project-previews/*.png filter= diff= merge= -textThe empty filter=/diff=/merge= values unset the inherited LFS attributes for the narrower glob, forcing those files to commit as real blobs. General rule: any binary that ships in a Pages build output (dist/, public/) must be a real Git blob, not an LFS pointer.
Build-time-gated, self-hosted analytics on a Pages SPA
marcusrbrown—marcusrbrown-github-io added a privacy-preserving web-analytics subsystem on 2026-08-01 (#256/#257) that is a reusable template for adding telemetry to a static Pages site without violating a no-unconsented-telemetry baseline:
- Self-hosted processor, not a SaaS vendor. The tracker points at a self-hosted Umami instance (
metrics.fro.bot, an marcusrbrown—infra app), so no third-party analytics script loads and no data leaves the operator’s own infrastructure. - Build-time injection gated on a repo variable. Because a Pages SPA has no server, activation is a build-time decision: a GitHub repo variable (
UMAMI_WEBSITE_ID) is mapped to a Vite env var (VITE_UMAMI_WEBSITE_ID) only on the build step ofdeploy.yaml(step-scoped, so it can’t leak into unrelated steps). Vite injects exactly one tracker tag only when the variable is set; unconfigured builds and dev builds ship no tag. Leaving the variable unset is the fail-closed default — the deployed artifact contains no tracker until a human sets it. - Human activation gate + operator runbook.
docs/analytics.mdcarries a Go/No-Go matrix that blocks activation until version-controlled infrastructure evidence proves the retention boundary. The gate lives in docs + process, not in code, because the code already fails closed. - CSP-safe static bootstraps. To keep a strict Content-Security-Policy (no inline
<script>), executable SPA bootstraps (theme preload, SPA redirect/restore for the 404-rewrite trick) were moved from inlineindex.htmlinto testedpublic/scripts/*.jsfiles served as real static assets. This is a general Pages-SPA pattern: inline bootstrap logic that a redirect/theme flash needs must become external scripts to satisfy CSP, and they can be unit-tested in isolation.
General rule for Pages SPAs: telemetry activation is a build-time env decision (fail closed when unset), the processor should be self-hosted to honor a no-unconsented-telemetry baseline, and any bootstrap that would otherwise be an inline <script> should be an external, testable public/scripts/*.js asset for CSP compatibility.
Multi-toolchain _site assembly on the artifact API (2026-09-01)
marcusrbrown—presentations publishes two decks built by two unrelated toolchains — Create React App under Yarn/Node 20, and Slidev under Bun — from a single Build job, without a monorepo, a workspace, or a shared package manager. The shape is worth reusing for any repo that hosts several independently-versioned static artifacts:
-
Build each artifact in its own
working-directorywith its own toolchain (yarn build; thenoven-sh/setup-bun+bun run build). -
Assemble in an explicit staging step, not by pointing the uploader at a source directory:
- name: Assemble Pages site working-directory: . run: | mkdir -p _site/Deck-A _site/Deck-B cp index.html _site/index.html cp -R Deck-A/build/. _site/Deck-A/ cp -R Deck-B/dist/. _site/Deck-B/ -
actions/configure-pages→actions/upload-pages-artifact(path_site) → a separateDeployjob runningactions/deploy-pages.
Three properties that make this good rather than merely working:
- Least privilege by job.
pages: write+id-token: writelive only on theDeployjob;BuildandTestkeep workflow-levelcontents: read. The elevated grant covers one step. - The assembly step is unguarded; the Pages steps are not.
configure-pages,upload-pages-artifact, and the wholeDeployjob carryif: github.ref == 'refs/heads/main' && github.event_name != 'pull_request', but themkdir/cpruns on every PR. A PR that breaks the site layout fails in review, not at deploy. - Each sub-artifact must know its own base path at build time. The Slidev deck hard-codes
--base /Presentations/Deck-B/in its build script. Static-site generators emit absolute asset URLs; the staging layout and the per-artifact base path are one coupled decision, and getting them out of sync produces a site that builds green and 404s every asset.
Migration note: adopting the artifact API orphans the older gh-pages-branch path. In this case the CRA deck retained gh-pages as a dependency plus predeploy/deploy scripts that nothing invokes — and Renovate independently flagged gh-pages as abandoned upstream. Deleting the old deploy path is part of the migration, not a follow-up.
Project Pages inherit the user site’s custom domain
When a user Pages site (<user>.github.io) has a custom domain, every project Pages site under that account is served from the custom apex, not from github.io. marcusrbrown—presentations’s canonical URL moved from marcusrbrown.github.io/Presentations/ to mrbro.dev/Presentations/ with no change to its own Pages configuration — the move happened because marcusrbrown.github.io is the marcusrbrown—marcusrbrown-github-io portfolio, whose CNAME is mrbro.dev.
Practical consequences:
- A repo’s canonical Pages URL can change without that repo changing. Anything asserting the old host — READMEs, QR codes,
homepagefields, wiki pages, external links — silently becomes a redirect at best. Here thesettings.ymlhomepagewas updated but the CRA deck’spackage.jsonhomepagestill hard-codeshttps://marcusrbrown.github.io/Presentations/…. - Prefer relative or
--base-relative asset paths over absolute URLs containing the host, so the artifact is host-agnostic. - Compare fro-bot—fro-bot-github-io, which exists solely to hold the org-level
CNAME— the same coupling from the other side: one repo owns the domain, every sibling inherits its consequences.