Skip to content

fix(app): same-day re-attach of an artifact is a no-op (change 0458) - #335

Merged
danielhanold merged 5 commits into
mainfrom
fix/attach-refuses-a-same-path-same-day-re-attach-with-verify-de
Sep 25, 2026
Merged

danielhanold merged 5 commits into
mainfrom
fix/attach-refuses-a-same-path-same-day-re-attach-with-verify-de

Conversation

@danielhanold

Copy link
Copy Markdown
Owner

↩ Change 0458 — Attach refuses a same-path same-day re-attach with verify-delta invalid-state

Summary

Re-attaching the same plan or results path to a change on the same day failed with invalid-state at verify-delta ("a declared path is not an actual change"). changeAttachOp.Plan now declares the change record only when its bytes actually change, mirroring the existing guard in change_groom.go. A same-path same-day re-attach now returns no-op with no commit.

Tests

  • New TestChangeAttachIdenticalReattachIsNoOp (attach-plan and attach-results, inline board on): red before the fix, green after.
  • Full suite green at the head below.

Review

docket-review-lean (all tasks routed economy; small diff): clean, no findings.

command: go run ./cmd/docket development test
result: green
head_sha: bcb2603
ran_at: 2026-09-25T14:32:55Z

@danielhanold
danielhanold merged commit e827204 into main Sep 25, 2026
7 checks passed
@danielhanold
danielhanold deleted the fix/attach-refuses-a-same-path-same-day-re-attach-with-verify-de branch September 25, 2026 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant