Skip to content

Post-v0.2.0 cleanup: diagrams, CI warnings, Docker Hub overview#5

Merged
chris-colinsky merged 6 commits into
mainfrom
chore/release-warnings-and-mermaid-diagram
May 21, 2026
Merged

Post-v0.2.0 cleanup: diagrams, CI warnings, Docker Hub overview#5
chris-colinsky merged 6 commits into
mainfrom
chore/release-warnings-and-mermaid-diagram

Conversation

@chris-colinsky

@chris-colinsky chris-colinsky commented May 21, 2026

Copy link
Copy Markdown
Member

Follow-up cleanup after v0.2.0. No release, no version bump.

Summary

  • Diagram rendering — Replace the box-drawing ASCII "architecture at a glance" diagram with a Mermaid flowchart in README.md and docs/architecture.md. The ASCII version didn't render cleanly on GitHub; the Mermaid block renders natively. Sentiment is labeled optional in both to match the opt-in default.
  • GitHub Actions warnings + hardening — Clear the Node.js 20 deprecation warnings by bumping the flagged actions to their latest Node-24-native majors, and pin every action to a commit SHA (with a version comment) for supply-chain hardening — matching the approach already used in openarmature-python. Bumped: checkout v4→v6, setup-python v5→v6, setup-uv v4→v8, upload-artifact v4→v7, download-artifact v4→v8, action-gh-release v1→v3. Docker actions are SHA-pinned at their current majors (no warning forces a bump, and docker-publish only runs on a release tag).
  • Docker Hub page — Version-control the Docker Hub repo overview as docs/dockerhub-overview.md and sync it (plus the short description) via a dedicated dockerhub-description.yml workflow that triggers on changes to the overview file and on workflow_dispatch. Decoupled from the release cycle, so the page updates whenever the overview changes or on demand — and merging this PR pushes the overview live without a release.

Notes

  • Mermaid render verified in GitHub's file view on the branch.
  • All workflow YAML validated; all actions SHA-pinned (no floating tags). The Node 20 warnings are confirmed gone on this PR's CI run.
  • Release-only action bumps (artifact v7/v8, gh-release v3) and docker SHA-pins are validated on the next release tag; they're the same versions proven in openarmature-python.
  • The Docker Hub sync needs the existing DOCKERHUB_USERNAME / DOCKERHUB_TOKEN secrets.

The box-drawing ASCII diagram did not render cleanly on GitHub. Swap
it for a Mermaid flowchart in both the README and architecture.md so
the two callers and the shared pipeline core display correctly.
GitHub flags every JS action on Node.js 20 as deprecated ahead of the
June 2026 forced migration. Set FORCE_JAVASCRIPT_ACTIONS_TO_NODE24 at
the workflow level in both workflows to run the actions on Node.js 24
now and clear the warnings. Safe to remove once Node 24 is the runner
default.
Copilot AI review requested due to automatic review settings May 21, 2026 03:57

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR updates project documentation and CI configuration as a post-v0.2.0 cleanup: it replaces the ASCII “architecture at a glance” diagrams with GitHub-native Mermaid flowcharts and opts GitHub Actions JavaScript actions into Node.js 24 to silence Node 20 deprecation warnings.

Changes:

  • Replace ASCII architecture diagrams with Mermaid flowcharts in README and architecture docs.
  • Add FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true at the workflow level in CI and release workflows.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
README.md Swaps ASCII architecture diagram for Mermaid flowchart (now needs a small accuracy tweak re: sentiment being optional).
docs/architecture.md Swaps ASCII execution-modes diagram for Mermaid flowchart.
.github/workflows/release.yml Adds workflow-level env var to run JS actions on Node 24 and silence Node 20 warnings.
.github/workflows/ci.yml Adds workflow-level env var to run JS actions on Node 24 and silence Node 20 warnings.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread README.md Outdated
Version-control the Docker Hub repo overview as docs/dockerhub-overview.md
and sync it (plus the short description) on every release via
peter-evans/dockerhub-description in the docker-publish job, so the
Docker Hub page can't drift from the repo. Reuses the existing
DOCKERHUB_* secrets.
@chris-colinsky chris-colinsky changed the title Swap architecture diagram to Mermaid and silence Node 20 warnings Post-v0.2.0 cleanup: diagrams, CI warnings, Docker Hub overview May 21, 2026
Replace the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24 workaround with the
durable fix used in openarmature-python: bump the warning-flagged
actions to their latest Node-24-native majors and pin every action to
a commit SHA (with a version comment) for supply-chain hardening.

Bumped: checkout v4->v6, setup-python v5->v6, setup-uv v4->v8,
upload-artifact v4->v7, download-artifact v4->v8, gh-release v1->v3.
Docker actions are SHA-pinned at their current majors — no Node 20
warning forces a bump, and the docker-publish job runs only on a
release tag.
The README Mermaid diagram showed sentiment as an unconditional core
stage, but it is opt-in (off by default). Label it "sentiment
(optional)" to match docs/architecture.md and the actual default.
Move the Docker Hub overview sync out of the release docker-publish
job into a dedicated workflow triggered on changes to
docs/dockerhub-overview.md and on workflow_dispatch. The page now
updates whenever the overview changes (or on demand) instead of only
when a version ships — and merging a change to the overview pushes it
live without a release.
@chris-colinsky chris-colinsky merged commit 1fbce29 into main May 21, 2026
7 checks passed
@chris-colinsky chris-colinsky deleted the chore/release-warnings-and-mermaid-diagram branch May 21, 2026 04:28
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