Skip to content

feat(ci): add cassette recording workflow for auto-sync PRs#1534

Closed
tychtjan wants to merge 1 commit intomasterfrom
feat/cassette-record-workflow
Closed

feat(ci): add cassette recording workflow for auto-sync PRs#1534
tychtjan wants to merge 1 commit intomasterfrom
feat/cassette-record-workflow

Conversation

@tychtjan
Copy link
Copy Markdown
Contributor

@tychtjan tychtjan commented Apr 13, 2026

Summary

Adds a lightweight workflow that records VCR cassettes for auto-generated SDK sync PRs.

When the gdc-nas implement agent creates a PR with integration tests that reference missing cassettes, this workflow:

  1. Checks out the PR branch
  2. Runs the specific tests against staging with OVERWRITE=1
  3. Commits the recorded cassettes back to the PR branch

Triggers:

  • repository_dispatch (automated from gdc-nas after implement)
  • workflow_dispatch (manual with PR number + test node IDs)

No staging clean/load — assumes demo data is already present. Runs only the targeted tests (~5 min vs ~2 hours for full cassette regen).

risk: nonprod
jira: INFRA-4341

Lightweight workflow that runs specific integration tests against staging
with OVERWRITE=1 to record missing VCR cassettes, then commits them back
to the PR branch.

Triggered via repository_dispatch from gdc-nas after the implement agent
creates a PR with integration tests that need cassettes, or manually
with a PR number and test node IDs.
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.

2 participants