IW-637: Remove live Linear API calls from the unit tier #645
No reviewers
Labels
No labels
agent-ready
bug
contract
documentation
duplicate
enhancement
good first issue
help wanted
invalid
needs-human
needs-input
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
iterative-works/iw-cli!645
Loading…
Reference in a new issue
No description provided.
Delete branch "IW-637"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
LinearClientTestcalled the live Linear API in the unit tier. When a developer hadLINEAR_API_TOKENset, a slow or failed call made the pre-push hook fail with no code change. Without the token, one test passed without a check and wrote noise to the output.Defects fixed
SyncBackendStubinLinearClientMockTest. New tests cover a 5xx answer and a connection failure. The live-call tests are removed fromLinearClientTest.Testing
core.testcoversLinearClientMockTestandLinearClientTest(no network access).Follow-ups filed
LinearClient.validateTokenhides the cause of a failed token checkLinearClient.defaultBackendmakes a newHttpClientfor each call and never closes itLinearClientMockTestimportsIssuetwiceRelease notes
See
project-management/issues/IW-637/release-notes.md(Czech).🤖 Generated with Claude Code
Closes #637
Issue: IW-637 Phase: 1 - Live Linear API calls in the unit tier make the unit verdict depend on the network This commit marks the checkpoint for phase 1 context generation. Use dx-fix IW-637 to return to this point. 🤖 Generated with Claude Code Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>Live Linear API calls in the unit tier make the unit verdict depend on the network Artifacts: - phase-01-tasks.md 🤖 Generated with Claude Code Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>