Skip to content

fix(adr): use full slug in ADR-0005 superseded-by link#184

Merged
Unisay merged 1 commit into
mainfrom
yura/fix-adr-0005-superseder
May 9, 2026
Merged

fix(adr): use full slug in ADR-0005 superseded-by link#184
Unisay merged 1 commit into
mainfrom
yura/fix-adr-0005-superseder

Conversation

@Unisay
Copy link
Copy Markdown
Collaborator

@Unisay Unisay commented May 8, 2026

Summary

Test plan

  • nix develop --command adr build --out ./adr-site --basePath /UPLC-CAPE/adr finishes cleanly with all 12 ADRs generated and no FATAL from log4brains.
  • On merge, the Deploy static content to Pages workflow on main succeeds and the published report's preview section shows Scalus alongside Plinth.

log4brains parses the bracketed link text as the slug of the
superseding ADR. `[0006]` is not a known slug, so `toAdr` is
called without a superseder and throws "You forgot to pass
the superseder", aborting the ADR site build and leaving
`adr-site/` unwritten — which then breaks the Pages deploy at
the `cp -r adr-site deploy/adr` step.

Same shape as commit 77b5a3a; the fix is to spell out the full
slug `0006-standard-builtindata-formats-with-json-type-dispatch`
inside the brackets.
@Unisay Unisay merged commit 92ab4c1 into main May 9, 2026
6 checks passed
@Unisay Unisay deleted the yura/fix-adr-0005-superseder branch May 9, 2026 09:12
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.

ci: pages deploy fails — log4brains "forgot to pass the superseder" on ADR-0005

1 participant