Skip to content

Add CI drift check for vendored Tiny Wire tokens - #3

Merged
LinzLos merged 1 commit into
mainfrom
claude/jolly-gates-fwi4o9
Sep 28, 2026
Merged

LinzLos merged 1 commit into
mainfrom
claude/jolly-gates-fwi4o9

Conversation

@LinzLos

@LinzLos LinzLos commented Sep 28, 2026

Copy link
Copy Markdown
Owner

Adds a GitHub Actions workflow (.github/workflows/tinywire-drift.yml) that runs scripts/check-tinywire-drift.sh on every push and pull request:

  1. Checks out this repo.
  2. Reads the pin from src/lib/.tinywire-version (where the script keeps it — this consumer vendors into src/lib/).
  3. Checks out LinzLos/tiny-wire at the tag matching the pin (v1.6 today — upstream tags releases as v<version>, confirmed via git ls-remote --tags).
  4. Runs the drift check with TW_REPO_DIR pointed at the checkout, since actions/checkout can only place repos inside the workspace, not as a true filesystem sibling.

Validated locally: cloned tiny-wire at v1.6 and ran the script against the current vendored files — passes ("OK — vendored Tiny Wire tokens are in sync (v1.6)").

Note on the contract: because the checkout is pinned to the tag, this check verifies integrity (no hand-edited vendored files, pin consistent with its tagged source, pin pointing at a nonexistent tag fails at checkout) — it will not fail when upstream cuts a new release. If you want CI to flag "upstream moved, re-sync needed," change the checkout ref to main; that's a one-line change.

No vendored files or the pin were modified.

🤖 Generated with Claude Code

https://claude.ai/code/session_01VyfQifAbtgMPPViMovcgGx


Generated by Claude Code

Runs scripts/check-tinywire-drift.sh on push and PR: checks out
tiny-wire at the tag matching src/lib/.tinywire-version and verifies
the vendored files match byte for byte. Verified locally against v1.6.

Claude-Session: https://claude.ai/code/session_01VyfQifAbtgMPPViMovcgGx
@netlify

netlify Bot commented Sep 28, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for dialing ready!

Name Link
🔨 Latest commit 206d050
🔍 Latest deploy log https://app.netlify.com/projects/dialing/deploys/6abacc56cea7c60008cb9cbd
😎 Deploy Preview https://deploy-preview-3--dialing.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@LinzLos
LinzLos merged commit a10608e into main Sep 28, 2026
6 checks passed
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