Skip to content

CI: verify example generation is idempotent#10

Open
Copilot wants to merge 7 commits intomainfrom
copilot/add-example-generation-test
Open

CI: verify example generation is idempotent#10
Copilot wants to merge 7 commits intomainfrom
copilot/add-example-generation-test

Conversation

Copy link
Contributor

Copilot AI commented Feb 6, 2026

Adds a check-examples job that regenerates all three example projects (Django, Flask, FastAPI) and fails if any tracked files changed, excluding lockfiles.

  • Runs each example.sh in a subshell, then checks with git diff --exit-code -- . ':!**/poetry.lock'
  • Runs in parallel with the existing test job (no DB dependency needed)
Original prompt

add an action that test that generating example yelds no changes (except changes in lockfiles, which is allowable). do it with git diff --exit-code


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: SupraSummus <15822143+SupraSummus@users.noreply.github.com>
@SupraSummus SupraSummus marked this pull request as ready for review February 6, 2026 18:58
Copilot AI changed the title [WIP] Add action to test example generation with git diff CI: verify example generation is idempotent Feb 6, 2026
Copilot AI requested a review from SupraSummus February 6, 2026 18:58
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