Skip to content

ci: run Python tests for the antigravity harness sidecar - #296

Merged
joycel-github merged 1 commit into
mainfrom
ci-python-tests-inline-deps
Jul 13, 2026
Merged

ci: run Python tests for the antigravity harness sidecar#296
joycel-github merged 1 commit into
mainfrom
ci-python-tests-inline-deps

Conversation

@joycel-github

@joycel-githubjoycel-github commented Jul 11, 2026

Copy link
Copy Markdown
Collaborator
  • Wires the 17 antigravity harness sidecar tests (python/antigravity/harness_server_test.py) into CI. They have never run automatically — .github/workflows/go.yml only runs go test ./..., which is how the stale assertions fixed in harness/python: fix stale thought summary test assertions #291 slipped through.
  • Adds .github/workflows/python.yml, a dedicated Python workflow kept separate from the Go-only go.yml so each can evolve independently.
  • Adds a test-python Makefile target for local parity.

The 17 tests in python/antigravity/harness_server_test.py have never
run in CI. .github/workflows/go.yml only runs 'go test ./...' and the
Makefile 'test' target likewise only runs Go. That let PR #244 land
with 2 stale assertions unnoticed (fixed in #291).
Adds:
- .github/workflows/python.yml -- dedicated Python workflow (kept
separate from the Go-only go.yml so each can evolve independently).
- Makefile 'test-python' target for local parity.
Test deps are inlined in the workflow rather than added as a separate
requirements-test.txt -- the diff is 2 packages ('pytest>=7.0',
'pytest-timeout>=2.0'), not worth its own file. Version floors match
the upstream google-antigravity SDK's dev extras so this doesn't
drift as pytest evolves.
--timeout=30 --timeout-method=thread guards against hung gRPC servers
so a stuck test can't eat the whole workflow budget.
@joycel-github
joycel-github marked this pull request as ready for review July 11, 2026 00:41
@joycel-github
joycel-github merged commit 8aae23c into mainJul 13, 2026
9 checks passed
rakyll pushed a commit that referenced this pull request Jul 21, 2026
Skill Name and Description were interpolated raw into the
<available_skills> block, so a skill containing < or & or a closing tag
could break out of the surrounding tags or inject new ones into the
planner's system prompt. Run both fields through xml.EscapeText.
rakyll pushed a commit that referenced this pull request Jul 21, 2026
The 17 tests in python/antigravity/harness_server_test.py have never
run in CI. .github/workflows/go.yml only runs 'go test ./...' and the
Makefile 'test' target likewise only runs Go. That let PR #244 land
with 2 stale assertions unnoticed (fixed in #291).
Adds:
- .github/workflows/python.yml -- dedicated Python workflow (kept
separate from the Go-only go.yml so each can evolve independently).
- Makefile 'test-python' target for local parity.
Test deps are inlined in the workflow rather than added as a separate
requirements-test.txt -- the diff is 2 packages ('pytest>=7.0',
'pytest-timeout>=2.0'), not worth its own file. Version floors match
the upstream google-antigravity SDK's dev extras so this doesn't
drift as pytest evolves.
--timeout=30 --timeout-method=thread guards against hung gRPC servers
so a stuck test can't eat the whole workflow budget.
Sign up for freeto 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

@joycel-github@rakyll