Skip to content

ci: publish the Adapter specification preview - #1

Draft
jeremi wants to merge 2 commits into
mainfrom
ci/adapter-spec-pages
Draft

jeremi wants to merge 2 commits into
mainfrom
ci/adapter-spec-pages

Conversation

@jeremi

@jeremi jeremi commented Dec 3, 2026 •

Copy link
Copy Markdown

What changes

  • Build and check the Adapter draft with the shared GovStack specification renderer at a pinned commit. Pull requests upload a downloadable preview. The workflow publishes checked builds from main to GitHub Pages as an unofficial preview.
  • Render the descriptor and health operations as a browsable API reference from the existing OpenAPI file.
  • Fix links produced from free-text contract annotations. Use RFC URLs where available, and keep deployment-specific references in the requirement statement or documentation. Requirement statements and classifications are unchanged, as are the OpenAPI bytes.

Verification

  • actionlint and git diff --check passed.
  • The published renderer passed 145 tests with four optional external-fixture tests skipped. Astro reported zero errors or warnings. Built and served checks covered 20 pages and 57 requirement cards at the /bb-adapter/ base.
  • The baseline failed its built-output check on 11 missing link targets from free-text contract annotations. The updated build passed.

Enable publication

A repository maintainer needs to select GitHub Actions under Settings → Pages → Source. After the PR is merged, the workflow on main publishes to the unofficial preview. If Pages is enabled after merging, run Build and publish the Adapter specification on main from the Actions tab.

Draft verification labels

The renderer derives verification from interaction. It disagrees with the legacy observability value in nine existing requirements: EXP-5, EXP-8, SEC-3, SEC-6, TRC-3, TRC-4, MGT-1, TEN-2 and TEN-4. For example, EXP-5 has AUDITABLE in source and renders as “Tested at the consumed API boundary” because its interaction is CONSUMED_API. The PR preserves both source classifications for specification editors to reconcile.

The local Chromium check passed for the home page, unofficial banner, requirement navigation, and both Scalar operations.

Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>

@taylordowns2000 taylordowns2000 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you!

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.

2 participants