Skip to content

ci: add downstream integration tests for peat-node and peat-gateway#77

Draft
kitplummer wants to merge 1 commit intomainfrom
ci/downstream-integration-tests
Draft

ci: add downstream integration tests for peat-node and peat-gateway#77
kitplummer wants to merge 1 commit intomainfrom
ci/downstream-integration-tests

Conversation

@kitplummer
Copy link
Copy Markdown
Collaborator

Summary

Adds downstream consumer testing to prevent regressions like the one caught during the 0.8.2 rollout. Builds and runs the test suites of peat-node and peat-gateway against the current peat-mesh revision before any release.

  • Release workflow: downstream tests are a required gate before crates.io publish (fail-fast: true)
  • CI workflow: downstream tests run on push to main after unit tests pass (fail-fast: false, non-blocking)
  • Uses sed to replace the crates.io dependency with a path dependency pointing at the checked-out peat-mesh

Setup required

Create a DOWNSTREAM_PAT repository secret with a GitHub PAT that has read access to:

  • defenseunicorns/peat-node
  • defenseunicorns/peat-gateway

Test plan

  • Verify DOWNSTREAM_PAT secret is configured
  • Merge and confirm downstream jobs appear in CI on next push to main
  • Verify release workflow gates publish on downstream success

Build and test downstream consumers against the current peat-mesh
before publishing to crates.io. Uses path dependency override to
test against the exact revision being released.

- Release workflow: downstream tests gate the publish step (fail-fast)
- CI workflow: downstream tests run on push to main (non-blocking)
- Requires DOWNSTREAM_PAT secret with read access to peat-node and
  peat-gateway repos
@kitplummer kitplummer marked this pull request as draft April 5, 2026 16:03
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