Record cancellation-aware workspace lock waiting
This commit is contained in:
@@ -48,7 +48,7 @@ that the roadmap implements the entire finding. Findings close only after their
|
||||
relevant behavior or code removal is verified. Original audit reports, finding
|
||||
identities, priorities, and source links remain unchanged.
|
||||
|
||||
Directions for CAT-02, CAT-04, CAT-05, and CAT-09 reflect subsequent agreed choices.
|
||||
Directions for CAT-01, CAT-02, CAT-04, CAT-05, and CAT-09 reflect subsequent agreed choices.
|
||||
CAT-12 also reflects the approved audio selection and naming decisions.
|
||||
Other direction paragraphs retain the audit's candidate remedies; agreed
|
||||
choices and roadmap ownership are identified by the disposition notes.
|
||||
@@ -57,8 +57,8 @@ Decisions on [audio generation/size handling](discussion.md#4-keep-downloaded-au
|
||||
[subprocess completion](discussion.md#5-finish-subprocess-shutdown-before-releasing-its-files),
|
||||
[publication source lifetimes](discussion.md#6-open-publication-sources-as-they-are-needed),
|
||||
and [audio selection and naming](discussion.md#7-give-preparation-and-inspection-the-same-audio-selection-rules)
|
||||
are agreed, with implementation pending. Topic 1 retains the smaller choice
|
||||
about waiting versus reporting a busy workspace. Remote checkpoint timing and
|
||||
are agreed, with implementation pending. Topic 1 also records approved
|
||||
cancellation-aware waiting for the workspace lock. Remote checkpoint timing and
|
||||
failure handling are deferred, not decisions blocking publication import.
|
||||
|
||||
## Consolidation Decisions
|
||||
@@ -97,8 +97,8 @@ Status: Open
|
||||
|
||||
**Disposition / owner.** Independent locking remediation — the [agreed direction](discussion.md#1-coordinate-destructive-cleanup-with-other-work)
|
||||
permits one workspace-wide lock. Restore will use that coordination, but the
|
||||
[restore roadmap](../session-restore.md) does not own this fix. Wait-versus-busy
|
||||
behavior remains to confirm.
|
||||
[restore roadmap](../session-restore.md) does not own this fix. Cancellation-aware
|
||||
waiting is agreed; implementation and verification remain pending.
|
||||
|
||||
Original findings: [CN-01](04-concurrency.md#cn-01--p1-whole-session-cleaning-bypasses-and-can-dismantle-session-exclusion),
|
||||
[TE-04](08-testing.md#te-04--p2-whole-session-cleanup-tests-never-contend-with-an-active-invocation).
|
||||
@@ -110,10 +110,10 @@ original writer. Existing cleanup tests never combine manual deletion with an
|
||||
active invocation.
|
||||
|
||||
**Direction.** Use a stable coordination identity or admission gate that survives
|
||||
deletion, including admission of new sessions during `--all`. Select
|
||||
wait-versus-busy behavior explicitly. Add real-lock, controlled-interleaving
|
||||
coverage for deletion and a second contender. The already-locked final cleanup
|
||||
stage is a different operation.
|
||||
deletion, including admission of new sessions during `--all`. Use
|
||||
cancellation-aware waiting and identify the lock being waited on. Add real-lock,
|
||||
controlled-interleaving coverage for deletion, a second contender, and cancellation
|
||||
while waiting. The already-locked final cleanup stage is a different operation.
|
||||
|
||||
Related: [CAT-39](#cat-39--p3-simplify-manual-clean-to-its-live-directory-only-contract).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user