feat(ci): add cassette recording workflow for auto-sync PRs#1534
Closed
feat(ci): add cassette recording workflow for auto-sync PRs#1534
Conversation
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.
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.
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:
OVERWRITE=1Triggers:
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