Skip to content

test: guard Bazel workflow uv setup#12

Merged
haasonsaas merged 1 commit into
mainfrom
codex/mocktopus-bazel-workflow-contract-20260516
May 16, 2026
Merged

test: guard Bazel workflow uv setup#12
haasonsaas merged 1 commit into
mainfrom
codex/mocktopus-bazel-workflow-contract-20260516

Conversation

@haasonsaas
Copy link
Copy Markdown
Contributor

Summary

Verification

  • git diff --check
  • uv run --extra test pytest -q tests/test_bazel_workflow_contract.py

Note

  • bazelisk is not installed locally in this Codex environment, so CI is the Bazel verification authority for this PR.

@cursor
Copy link
Copy Markdown

cursor Bot commented May 16, 2026

PR Summary

Low Risk
Low risk: adds a lightweight test and Bazel runfiles data wiring with no production code changes. Potential risk is only increased test brittleness if the workflow text changes.

Overview
Adds a new pytest contract (tests/test_bazel_workflow_contract.py) that asserts .github/workflows/bazel-rbe.yml contains astral-sh/setup-uv before make bazel-check, preventing accidental CI breakage due to step reordering.

Updates BUILD.bazel to include the workflow YAML in the py_test data runfiles so the guard runs under Bazel as well as plain pytest.

Reviewed by Cursor Bugbot for commit 9942f1e. Bugbot is set up for automated code reviews on this repo. Configure here.

@haasonsaas haasonsaas merged commit 2610f99 into main May 16, 2026
6 checks passed
@haasonsaas haasonsaas deleted the codex/mocktopus-bazel-workflow-contract-20260516 branch May 16, 2026 07:50
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