Skip to content

ci: read the platform contract from the dispatch payload - #11

Merged
pbertsch merged 1 commit into
mainfrom
ci/contract-from-dispatch
Nov 8, 2026
Merged

pbertsch merged 1 commit into
mainfrom
ci/contract-from-dispatch

Conversation

@pbertsch

@pbertsch pbertsch commented Nov 8, 2026

Copy link
Copy Markdown
Member

Summary

The drift check downloaded the platform contract from raw.githubusercontent.com, but awsys-shortener is private, so it always got a 404 and the job failed before it could report drift.

The platform dispatch now sends the contract (gzip + base64 in client_payload.contractGzB64, with contractSha256; see AlphaWaveSystems/awsys-shortener ci PR). This step decodes it through env: only, verifies the SHA-256 and checks it parses as JSON. A scheduled run (no payload) checks the vendored copy and says so.

Test plan

  • YAML valid; decode + sha256 round trip verified locally against contract 1.0.14
  • Next platform contract dispatch runs green

🤖 Generated with Claude Code

https://claude.ai/code/session_018tpBsXGDfaicezLgmDaWkv

…d of the private repo 404s)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018tpBsXGDfaicezLgmDaWkv
@pbertsch
pbertsch merged commit a1f0caf into main Nov 8, 2026
2 of 15 checks passed
@pbertsch
pbertsch deleted the ci/contract-from-dispatch branch November 8, 2026 13:36
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