Repository navigation
docs(spec): binding consumer tests per PR, release and publish - #662
Merged
Merged
Conversation
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 Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Design spec: every binding repo tests its packaged artifact the way a user installs it.
package.ymlbuilds the release artifacts, andconsumer-test/run.sh localinstalls 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.publishuploads those artifacts and builds nothing (Swift: it builds only theswift-releasescommit and tag).verify-published.ymlinstalls from the registry by version, with retries. If it fails, the run goes red and an issue labelledrelease-brokenis opened.§2 records today's local check of every published binding:
classes.jar).The decisions you made today are recorded in §6 and §8:
v2.x, and the package rename waits for v3;Codex review: four points, all addressed (Node's existing pack test, the Swift tag order, the SPM
path:root, the Javav2.xgate).🤖 Generated with Claude Code
https://claude.ai/code/session_01PtCdzbJMSS1V8qEPaJ4jXz