Small fixes: core #707

Closed
opened 2026-10-04 14:12:06 +00:00 by claude · 2 comments
Member

Collector for small fixes in the core module (filed from IW-702 follow-ups).

  • Move the WorktreeGitDir tests out of core/test/ServiceDeclarationTest.scala into their own WorktreeGitDirTest.scala (the class name does not say what they test).
  • ReviewStateWrite.tryUpdate prints Error: Warning: Failed to update review-state: ...; the doubled prefix predates IW-702 (ReviewStateMove prints Warning: ...). — core/commands/ReviewStateWrite.scala
  • core/commands/CiGate.scala: the doc comment of CiGate.poll sits above startOfWait (it predates IW-702), so poll has no doc comment and startOfWait has two.
Collector for small fixes in the `core` module (filed from IW-702 follow-ups). - [ ] Move the `WorktreeGitDir` tests out of `core/test/ServiceDeclarationTest.scala` into their own `WorktreeGitDirTest.scala` (the class name does not say what they test). - [ ] `ReviewStateWrite.tryUpdate` prints `Error: Warning: Failed to update review-state: ...`; the doubled prefix predates IW-702 (`ReviewStateMove` prints `Warning: ...`). — `core/commands/ReviewStateWrite.scala` - [ ] `core/commands/CiGate.scala`: the doc comment of `CiGate.poll` sits above `startOfWait` (it predates IW-702), so `poll` has no doc comment and `startOfWait` has two.
Author
Member

From IW-718 follow-ups:

  • Card writes are not crash-atomic: LiveCommandEnv.fs.write uses os.write.over with no temp file and rename, so a crash during the write can leave a partial card. — core/commands/LiveCommandEnv.scala:91-95
From IW-718 follow-ups: - [ ] Card writes are not crash-atomic: `LiveCommandEnv.fs.write` uses `os.write.over` with no temp file and rename, so a crash during the write can leave a partial card. — `core/commands/LiveCommandEnv.scala:91-95`
Author
Member

Intake: agent-ready
Workflow: waterfall
Reason: all gates passed
Analysis: project-management/issues/IW-707/analysis.md on branch IW-707

Intake: agent-ready Workflow: waterfall Reason: all gates passed Analysis: project-management/issues/IW-707/analysis.md on branch IW-707
mph closed this issue 2026-10-10 21:36:52 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
iterative-works/iw-cli#707
No description provided.