Skip to content

ci: don't gate regen PR on cargo check/test#49

Merged
zfarrell merged 1 commit into
mainfrom
ci/drop-regen-compile-gate
Jun 9, 2026
Merged

ci: don't gate regen PR on cargo check/test#49
zfarrell merged 1 commit into
mainfrom
ci/drop-regen-compile-gate

Conversation

@zfarrell

@zfarrell zfarrell commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Regeneration aborted before Create PR whenever the generated crate didn't compile, so a regen that orphaned part of the hand-written ergonomic layer (e.g. the sandbox removal) failed silently with no PR to act on. Drops the cargo check/cargo test --no-run step — integration-tests.yml already runs cargo test --all-features on every PR to main, so breakage now surfaces as red CI on the filed PR instead of a buried workflow run. The grep-based regen-safety guard (ergonomic layer / auth + logging hooks) stays.

@claude claude Bot 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.

Verified: the regen PR is created with the GitHub App token (not the default GITHUB_TOKEN), so it does trigger integration-tests.yml on pull_request: [main] — the change's premise holds. That job's cargo test --all-features --test '*' compiles the lib + integration targets under all features, preserving the compile coverage dropped here, and the regen-safety guard for the ergonomic layer / auth + logging hooks still runs. Trade-off (PR-as-artifact over silent abort) is sound and well documented.

@zfarrell zfarrell merged commit c8ad74a into main Jun 9, 2026
3 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