Repository navigation
Conversation
There was a problem hiding this comment.
🟢 Approved
The narrow test-only relocation matches the fixtures’ build constraint, preserves both test bodies, and leaves no unresolved findings.
No open issues 🎉
What changed in this PR
This PR isolates the Windows test-compilation fix from the retired worker-cleanup work in #829, without changing production code.
Changes:
- Moves two unchanged connector-start tests into a file guarded by
//go:build unix, matching their fixtures. - Removes the relocated tests and unused
appctximport from the cross-platform test file.
[!TIP]
If you aren't ready for review, convert to a draft PR.
Click "Convert to draft" or rungh pr ready --undo.
Click "Ready for review" or rungh pr readyto reengage.
| File | Description |
|---|---|
internal/commands/connect_start_wait_unix_test.go |
Houses the two existing tests behind a Unix build constraint. |
internal/commands/connect_start_wait_test.go |
Removes Unix-dependent tests and the unused import. |
Review effort: Balanced
|
Ready for review on 936a118: local CI passes and all 31 hosted checks are accounted for (26 successful, 4 conditionally skipped, 1 neutral; none failed or pending). Copilot approved this exact head. There are 0 unresolved review threads and 0 unanswered findings. Cubic's fresh review is unavailable because its monthly quota is exhausted. Nothing merged. |
|
🤖 Local review at 936a118: clean. CI is green on it (27 passed, 4 skipped, 1 neutral). The two moved tests are line-for-line the ones removed, and |
Summary
Move two connector-start tests into a Unix-tagged test file, alongside their Unix-only fixtures. Windows previously tried to compile those tests and failed on missing fixture helpers.
The two test bodies are retained unchanged. No production code, new harness, broad worker cleanup, or additional test system. This saves the narrow portability fix from the retired worker-cleanup work.
Verification
GOOS=windows GOARCH=amd64 CGO_ENABLED=0 go test -c ./internal/commandsfails on the Unix-only fixture references.bin/cipasses.Windows compilation is verified; no Windows runtime test is claimed.
Summary by cubic
Fixes Windows test compilation by moving two connector-start tests into a Unix-tagged test file. The tests reference Unix-only fixture helpers, so Windows builds previously failed to compile them. Test bodies are unchanged; no production code is affected.
Verification
bin/cipasses.Written for commit 936a118. Summary will update on new commits.