Skip to content

chore(on.dig.net): drop the 4 unserved legacy status pages (#268) - #10

Merged
MichaelTaylor3d merged 2 commits into
mainfrom
chore/268-drop-legacy-status-pages
Jul 30, 2026
Merged

chore(on.dig.net): drop the 4 unserved legacy status pages (#268)#10
MichaelTaylor3d merged 2 commits into
mainfrom
chore/268-drop-legacy-status-pages

Conversation

@MichaelTaylor3d

Copy link
Copy Markdown
Contributor

Task

on.dig.net slice of epic #268 (web-frontends legacy/dead-code sweep). Removes the 4 extraction-era per-status HTML pages that are no longer served (a report-only audit confirmed them dead — three independent confirmations). v0.5.3 → 0.5.4 (patch, chore(deadcode)).

🚧 Draft anchor — removal in progress.

Dead code being removed (~15.8 KB / 320 lines)

assets/pages/{available,pending,expired,revoked}.html — server-rendered status pages from the pre-#206b design (originally the services/resolver split from hub.dig.net). Dead because:

  1. Not servedbootstrap.rs serves only loader.html, error.html, sw.js, dig-embed.js, dig_client.js, dig_client_bg.wasm; #206b moved status copy client-side onto the loader shell.
  2. Not publishedpublish-assets.sh uploads only JS/wasm; no HTML page.
  3. Already declared dead in ci.yml:101, tests/a11y/axe.test.mjs:10, src/lib.rs:549-550.

Plan (test-first)

  • Drop the 4 rows from src/lib.rs wordmark_tests::PAGES (keep the error rowerror.html IS served).
  • Re-point the wordmark-color regression guard at loader.html (the shell that renders the wordmark on the live surface now) so the regression stays covered — not left guarding only dead pages.
  • Delete the 4 HTML files.
  • Tidy the stale services/resolver-era path references in comments (sw.js, dig-embed.js, loader.html).
  • Full gate green (fmt/clippy/test/coverage/build + commitlint + version-increment).

Preserved (NOT touched — deliberate)

error.html (served), src/domain.rs Domain wire-contract fields (SYSTEM.md → Domain record), sw.js test exports, the aws-gated Lambda handlers, the wasm read-crypto glue.


Generated by Claude Code

MichaelTaylor3d and others added 2 commits July 30, 2026 07:49
Anchor — removal in progress. Bumps 0.5.3 -> 0.5.4 (patch, dead-code drop).

Co-Authored-By: Claude <noreply@anthropic.com>
available.html/pending.html/expired.html/revoked.html are no longer
served — the /__dig/config.json status field + the loader shell's
client-side status copy (#206b) replaced them. Re-point the wordmark
regression guard at error.html (the only remaining page using the
span-based markup); loader.html's SVG wordmark is already guarded by
csp_tests::render_loader_maps_to_loader_csp_and_carries_branded_sentinels.
Also tidy stale services/resolver-era path references left over from
the extraction (#comments only, no behaviour change).

Co-Authored-By: Claude <noreply@anthropic.com>
@MichaelTaylor3d
MichaelTaylor3d marked this pull request as ready for review July 30, 2026 08:08
@MichaelTaylor3d
MichaelTaylor3d merged commit 681e9b9 into main Jul 30, 2026
11 checks passed
@MichaelTaylor3d
MichaelTaylor3d deleted the chore/268-drop-legacy-status-pages branch July 30, 2026 08:08
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