Skip to content

ci: check the VPython catalogue against GlowScript's source - #2

Merged
colinrford merged 1 commit into
mainfrom
ci-catalogue-checks
Sep 14, 2026
Merged

colinrford merged 1 commit into
mainfrom
ci-catalogue-checks

Conversation

@colinrford

Copy link
Copy Markdown
Collaborator

On pushes to main and pull requests that touch spec/vpython/:

  • fetch GlowScript at the pinned commit into the runner's temp directory (third-party, never committed) and refuse to run without it, since the citation checks cannot fail on a missing source;
  • run check_catalog.py (36 checks) and invariants.py;
  • regenerate members.csv and require the columns that are a pure function of GlowScript to match what is committed. Corpus counts need private student labs and the vcpp columns describe one vcpp commit, so those are not compared.

Verified in a clean simulated runner, and negative-tested: a changed citation and a missing GlowScript checkout both fail the job.

Claude-Session: https://claude.ai/code/session_01MCihcaCjLJ6ys7FwvXHDpj

On pushes to main and pull requests that touch spec/vpython/:
- fetch GlowScript at the pinned commit into the runner's temp directory
  (third-party, never committed) and refuse to run without it, since the
  citation checks cannot fail on a missing source;
- run check_catalog.py (36 checks) and invariants.py;
- regenerate members.csv and require the columns that are a pure function of
  GlowScript to match what is committed. Corpus counts need private student
  labs and the vcpp columns describe one vcpp commit, so those are not compared.

Verified in a clean simulated runner, and negative-tested: a changed citation
and a missing GlowScript checkout both fail the job.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MCihcaCjLJ6ys7FwvXHDpj
@colinrford colinrford self-assigned this Sep 14, 2026
@colinrford
colinrford merged commit 8a11e3a into main Sep 14, 2026
1 check passed
@colinrford
colinrford deleted the ci-catalogue-checks branch September 14, 2026 22:15
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