8000 docs(spec): binding consumer tests per PR, release and publish by adityamukho · Pull Request #662 · project-minigraf/minigraf · GitHub
[go: up one dir, main page]

Skip to content

docs(spec): binding consumer tests per PR, release and publish - #662

Merged
adityamukho merged 1 commit into
mainfrom
docs/binding-consumer-tests-spec
Oct 20, 2026
Merged

adityamukho merged 1 commit into
mainfrom
docs/binding-consumer-tests-spec

Conversation

@adityamukho
Copy link
Copy Markdown
Collaborator

Design spec: every binding repo tests its packaged artifact the way a user installs it.

  • Per PR: package.yml builds the release artifacts, and consumer-test/run.sh local installs them into an empty project and runs the README quick start (checked verbatim against the README) plus a fixed contract: in-memory, file-backed reopen, error type, installed version.
  • Release: the same test runs on the exact artifacts, built from the prepared sha, before the tag is pushed. publish uploads those artifacts and builds nothing (Swift: it builds only the swift-releases commit and tag).
  • After publish: verify-published.yml installs from the registry by version, with retries. If it fails, the run goes red and an issue labelled release-broken is opened.

§2 records today's local check of every published binding:

  • Android has been unusable in every version (empty classes.jar).
  • The Java 2.x README names a package that no released jar contains.
  • The C Windows zip has no import library.

The decisions you made today are recorded in §6 and §8:

  • a post-publish failure fails the run and opens an issue;
  • the Java README is fixed on v2.x, and the package rename waits for v3;
  • the Android fix ships in v2.0.9.

Codex review: four points, all addressed (Node's existing pack test, the Swift tag order, the SPM path: root, the Java v2.x gate).

🤖 Generated with Claude Code

https://claude.ai/code/session_01PtCdzbJMSS1V8qEPaJ4jXz

Every binding repo installs its own artifacts into an empty consumer
project and runs the README quick start plus a fixed contract: on each
PR, on the exact release artifacts before the tag, and from the public
registry after publishing (fail and open an issue). Records the
2026-10-20 local check of every published binding: Android AAR empty in
every version, Java README package wrong on 2.x, C Windows zip without an
import library.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PtCdzbJMSS1V8qEPaJ4jXz
@codecov
codecov Bot commented Oct 20, 2026
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@adityamukho
adityamukho merged commit 8cce509 into main Oct 20, 2026
22 checks passed
@adityamukho
adityamukho deleted the docs/binding-consumer-tests-spec branch October 20, 2026 15:55
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

0