Skip to content

chore(ci,docs): add Studio PR build, Go race checks, Markdown anchor validation, and contributor templates - #61

Merged
ghchinoy merged 1 commit into
mainfrom
chore/repo-hygiene-and-ci-gates
Nov 11, 2026
Merged

ghchinoy merged 1 commit into
mainfrom
chore/repo-hygiene-and-ci-gates

Conversation

@jigyasujuneja

Copy link
Copy Markdown
Collaborator

Summary

Closes key CI, documentation-hygiene, and contributor-onboarding gaps on main without overlapping files under active development in PR #47:

  1. CI & Makefile Hardening (.github/workflows/build.yml, Makefile):

    • Adds a build-studio CI job (npm --prefix studio ci --no-audit --no-fund && npm --prefix studio run build) on pull requests and main pushes so TypeScript or Vite regressions in studio/ fail immediately on PRs rather than only when cutting a v*.*.* release tag.
    • Enables -race on go test and go -C examples test in test-go.
    • Wires deploy/cloudrun/server/test_label_sets.py, scripts/test_docs_link_check.py, and examples/agy-safety-gate/test_dgem_gate.py into test-matrix.
    • Updates make test (Makefile) to run ./cmd/..., ./pkg/..., and examples/... instead of ./pkg/... alone.
  2. Markdown Heading-Anchor Fixes & Automated Validation (scripts/docs_link_check.py, docs/, docs-site/):

    • Replaces raw $\mathsf{TC}^0$ in the ### Fixed-Depth Circuits (TC0) vs. Test-Time Compute heading of docs/glossary.md (and docs-site/) so both GitHub and Astro Starlight generate #fixed-depth-circuits-tc0-vs-test-time-compute, resolving the broken link in docs/confidence/architecture.md.
    • Fixes the broken #fan-out-to-an-endpoint link in docs/deploy/batch.md (and docs-site/) to point to deploy/batch/README.md#4-fan-out-to-a-running-endpoint, matching the rest of the page.
    • Upgrades scripts/docs_link_check.py (with unit tests in scripts/test_docs_link_check.py) to validate GitHub-flavored Markdown #fragment heading slugs and HTML id anchors across docs/, README.md, CONTRIBUTING.md, and examples/README.md while skipping fenced and inline code spans.
  3. README.md & Contributor Onboarding (README.md, CONTRIBUTING.md, .github/):

    • Updates the README.md release archive snippet from v0.4.1 to v0.4.2, indexes examples/ (Genkit Go v1.14.0 flows and the Antigravity PreToolUse safety hook), and adds a dgem locate CLI example.
    • Expands CONTRIBUTING.md with hermetic Go/Python test commands, four-surface parity rules, studio/ build hygiene, dgem.patch regeneration, and docs/-to-docs-site/ sync checks.
    • Adds .github/pull_request_template.md and .github/ISSUE_TEMPLATE/{bug_report.yml,feature_request.yml,config.yml}.

Verification

  • env -u DGEM_VERTEX_URL make test (./cmd/..., ./pkg/..., and examples/...)
  • env -u DGEM_VERTEX_URL go test -race ./... && env -u DGEM_VERTEX_URL go -C examples test -race ./...
  • python3 -m unittest -v scripts/test_docs_link_check.py deploy/cloudrun/server/test_label_sets.py examples/agy-safety-gate/test_dgem_gate.py scripts/matrix/test_matrix.py
  • npm --prefix studio ci --no-audit --no-fund && npm --prefix studio run build
  • make docs-sync-check && python3 scripts/docs_link_check.py (0 broken links or anchors across 38 files)

@ghchinoy
ghchinoy merged commit 7313ba0 into main Nov 11, 2026
17 checks passed
@ghchinoy
ghchinoy deleted the chore/repo-hygiene-and-ci-gates branch November 11, 2026 15:02
ghchinoy added a commit that referenced this pull request Nov 11, 2026
…3-refs

docs: fix evaluate.md matrix anchor after #30/#61 and align v0.4.3 refs
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