Skip to content

chore(cassettes): Add a script to automate cassettes renewal#130

Merged
timothedelion merged 1 commit intomainfrom
tdelion/APPAI-481/ease-renewal-of-cassettes
Apr 2, 2026
Merged

chore(cassettes): Add a script to automate cassettes renewal#130
timothedelion merged 1 commit intomainfrom
tdelion/APPAI-481/ease-renewal-of-cassettes

Conversation

@timothedelion
Copy link
Copy Markdown
Member

@timothedelion timothedelion commented Apr 2, 2026

Add a script ~/ggmcp/scripts/update-cassettes.sh to automate cassettes renewal :

  1. Preflight — checks gh and uv are available, ensures clean working tree
  2. Branch setup — checks out a fresh chore/update-vcr-cassettes branch from the base branch
  3. Record — runs make update-cassettes with up to 3 attempts (2 retries), 60s delay between retries (same pattern as
    tokenscanner's nightly)
  4. Commit & push — only if cassettes actually changed; uses --force-with-lease so the same branch can be reused
  5. PR — creates a new PR via gh pr create, or prints the existing one if the branch already has an open PR

Usage: cd ~/ggmcp && ./scripts/update-cassettes.sh

See the result : #129

Issue: APPAI-481

@timothedelion timothedelion requested a review from KNedelec April 2, 2026 08:08
@timothedelion timothedelion self-assigned this Apr 2, 2026
@linear
Copy link
Copy Markdown

linear bot commented Apr 2, 2026

@timothedelion timothedelion merged commit dd91d00 into main Apr 2, 2026
5 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