fix(api): hide auto branches from branch listings #79

Merged
admin merged 2 commits from hermes/brencher:fix/hide-auto-branches into main 2026-10-06 19:54:37 +02:00
Contributor

Auto-generated branches use the auto-<version> prefix, while the branch listing filter only excluded the legacy auto/ form. Exclude both forms in GitClone.get_branches() so /branches and WebSocket branch payloads never expose auto branches.

Tests: uv run pytest -q tests/test_git_integration.py tests/test_containertest.py tests/test_processing_initial_branches.py tests/test_cached_env.py tests/test_dummy.py tests/test_caching_step.py (28 passed, 1 skipped).

Auto-generated branches use the `auto-<version>` prefix, while the branch listing filter only excluded the legacy `auto/` form. Exclude both forms in `GitClone.get_branches()` so `/branches` and WebSocket branch payloads never expose auto branches. Tests: `uv run pytest -q tests/test_git_integration.py tests/test_containertest.py tests/test_processing_initial_branches.py tests/test_cached_env.py tests/test_dummy.py tests/test_caching_step.py` (28 passed, 1 skipped).
hermes added 2 commits 2026-09-29 23:45:47 +02:00
refactor(git): centralize auto branch prefix
Python package / build (3.12.3) (pull_request) Successful in 3m11s
Python package / build (3.13) (pull_request) Successful in 2m30s
Python package / build (3.14) (pull_request) Successful in 2m7s
f70d86f519
hermes force-pushed fix/hide-auto-branches from 895cd648e9 to f70d86f519 2026-09-29 23:45:47 +02:00 Compare
admin merged commit cd1fc53688 into main 2026-10-06 19:54:37 +02:00
admin deleted branch fix/hide-auto-branches 2026-10-06 19:54:38 +02:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: admin/brencher#79