You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test: fix docker-warning tests and fragile timing dependencies #1046
`docker-warning.test.ts` is wrapped in `describe.skip` with a stale TODO about a build issue. These 5 tests provide zero coverage.
Token-unset tests rely on `sleep 7` to wait for the 5-second unsetting delay — fragile in slow CI.
Log-command tests use `if (existsSync())` guards that silently pass when logs aren't created — masks real failures.
Acceptance Criteria
Either fix the build issue in `docker-warning.test.ts` and enable the tests, or remove the dead `describe.skip` block entirely if the feature is already covered by `no-docker.test.ts`
In `tests/integration/token-unset.test.ts`: Replace the fixed `sleep 7` with a more robust mechanism (e.g., retry loop checking `/proc/1/environ` with backoff, or a signal file)
In `tests/integration/log-commands.test.ts`: Replace `if (existsSync())` guards with hard `expect(existsSync()).toBe(true)` assertions, or at minimum add `console.warn` when the check is skipped
Activity
github-actions commentedon Feb 25, 2026
🍪 Issue Monster has assigned this to Copilot!
I've identified this issue as a good candidate for automated resolution and assigned it to the Copilot agent.
The Copilot agent will analyze the issue and create a pull request with the fix.
Om nom nom! 🍪
test: fix docker-warning tests and fragile timing dependencies
test: fix docker-warning tests and fragile timing dependencies (githu…