Skip to content

Commit 0509b39

Browse files
committed
ci(python-tests): diff CLI output against the PR base branch
The agent-facing CLI output differential defaulted to origin/main, so a PR whose base branch is not main (e.g. frontend-control-plane-im-prototype-rfc) failed whenever main moved a shared baseline such as the heartbeat-prompt portfolio. Point LOOPX_CLI_OUTPUT_BASE_REF at the pull request base branch, falling back to origin/main for main pushes.
1 parent 4c8b52e commit 0509b39

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/python-tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ jobs:
5555
run: python -m mypy
5656

5757
- name: Qualify agent-facing CLI output
58+
env:
59+
LOOPX_CLI_OUTPUT_BASE_REF: origin/${{ github.event.pull_request.base.ref || 'main' }}
5860
run: python examples/control_plane/cli-output-budget-regression-smoke.py
5961

6062
- name: Run fast tests

0 commit comments

Comments
 (0)