Small fixes: core #762
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
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
iterative-works/iw-cli#762
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
OtherHeadreading,finishprints "CI is still running for ", but the gate is waiting for the forge to report the head (core/model/CiGate.scala:367).phase-mergehas the same text. Found in IW-690 (risk 4 of its analysis).From IW-707 follow-ups:
PhaseAdvanceHarnessTestrepeats theassertWarnedcheck that is private toCiGateHarnessTest; move it to shared test support —core/test/PhaseAdvanceHarnessTest.scala:347-356,core/test/CiGateHarnessTest.scala:779.From IW-712 (review-state card location):
WorktreeKeyResolver.fromFlagOrBranchrepeatsfromArgOrBranchexcept for theInvalid <flag>:prefix andteamPrefix = None; let one delegate to the other — IW-712 phase 1 review (composition, architecture).--issue-idhelp text says the key is "for the card's display and the log file names", but log names come fromCiLog.fileName(runRef, job.name)—core/commands/CiGateCommand.scala:53, IW-712 phase 1 review (security).ReviewStateLocation.safeSegmentaccepts control characters, so a--sliceor pointer with a newline breaks the one-line stdout ofreview-state path—core/model/ReviewStateLocation.scala:182, IW-712 phase 1 review (security).cardLocationstests and the harness test "write: a pointer for another effort gets the remedy" assert only a prefix/suffix of the error, not the full message or that no card was written —core/test/ReviewStateLocationTest.scala,ReviewStateHarnessTest.scala, IW-712 phase 1 review (testing).Found during IW-513 — three small fixes around the forge-wait start stamp:
CiGateformats its wait stamp inline withInstant.ofEpochMilli(...).toStringinstead ofWaitStart.toStamp—core/commands/CiGate.scala:326,347.ForgeWait.Within.startedAtMsduplicates the start held instampToWrite, andPhasePrignores it —core/model/ForgeWait.scala:17.forge_wait_startedafterwards —core/test/PhasePrHarnessTest.scala:1511-1533.Intake: needs-human
Workflow: waterfall
Reason: G7 a standing [fix] finding of the final review (items 7-9:
WaitStartand the inline stamps are already on main; onlyWaitStart.toStampis new on IW-513); also G8 waits for IW-513 (PR #782) for items 7-9Analysis: project-management/issues/IW-762/analysis.md on branch IW-762