Pin backend for material-intake lifecycle flake fix #444

Merged
weichen merged 4 commits from fix/material-intake-lifecycle-flake into main 2026-10-12 06:43:19 +00:00
Owner

Summary

  • Pin modules/backend to 5e8ada7 (Backend #176): TestMaterialIntakeAttachmentOnlyLifecycle waits on CardDone + materialActive release instead of systemTexts.
  • Task card + SELF evidence for -count=20 and make test.

Why

deliverNotices runs before defer materialKeyRelease; notice-first waits raced done-dedup and flaked under CI load.

Evidence

  • GATE: Backend #176 CI success (run 2402)
  • SELF: go test ./internal/runmgr/ -run TestMaterialIntakeAttachmentOnlyLifecycle -count=20 PASS
  • SELF: make test PASS (on card)

Test plan

  • Backend CI green / merged
  • Local make test
  • Dev CI green on this PR

Refs: .task/fix-material-intake-lifecycle-flake.md; Backend #176

## Summary - Pin `modules/backend` to `5e8ada7` (Backend #176): `TestMaterialIntakeAttachmentOnlyLifecycle` waits on `CardDone` + `materialActive` release instead of `systemTexts`. - Task card + SELF evidence for `-count=20` and `make test`. ## Why `deliverNotices` runs before `defer materialKeyRelease`; notice-first waits raced done-dedup and flaked under CI load. ## Evidence - GATE: Backend #176 CI success (run 2402) - SELF: `go test ./internal/runmgr/ -run TestMaterialIntakeAttachmentOnlyLifecycle -count=20` PASS - SELF: `make test` PASS (on card) ## Test plan - [x] Backend CI green / merged - [x] Local make test - [ ] Dev CI green on this PR Refs: `.task/fix-material-intake-lifecycle-flake.md`; Backend #176
weichen added 4 commits 2026-10-12 06:39:26 +00:00
Why: establish the authorized task workspace and its initial baseline.

Evidence: preserved precheck receipt in .task/fix-material-intake-lifecycle-flake.md; R0=41a5fb049323663471f1732bcda296f4eeeb3642.

Impact: task metadata only; the feature workspace starts at 41a5fb0493.

Refs: .task/fix-material-intake-lifecycle-flake.md
Why: Backend #176 aligned the test wait with CardDone + materialActive
release so done-dedup no longer races deliverNotices.
Evidence: Backend CI success on c963347; local -count=20 PASS (evidence on card).
Impact: Dev consumes backend@5e8ada7; test-only, no product behavior change.
Refs: Backend #176; fix/material-intake-lifecycle-flake

Co-authored-by: Cursor <cursoragent@cursor.com>
Why: bind the task validation checkpoint to the latest integration baseline.

Evidence: SELF recursive component checks; sync_base=41a5fb049323663471f1732bcda296f4eeeb3642; candidate=cbe753c51f338fb206251dbe46ce205e45177f4d.

Impact: task metadata only.

Refs: .task/fix-material-intake-lifecycle-flake.md
Record post-sync stress and make test evidence
ci / test-pg (pull_request) Successful in 1m29s
ci / test (pull_request) Successful in 3m35s
9a2ee3d7ff
Why: Refresh SELF evidence after pin commit so receipts match tested HEAD.
Evidence: make test exit 0; lifecycle -count=20 exit 0 (on card).
Impact: Task card only.
Refs: fix/material-intake-lifecycle-flake
Co-authored-by: Cursor <cursoragent@cursor.com>
weichen merged commit 1938b442b1 into main 2026-10-12 06:43:19 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: weichen/Agent-System-Dev#444