Record publication source lifetime decision
This commit is contained in:
@@ -46,15 +46,15 @@ that the roadmap implements the entire finding. Findings close only after their
|
|||||||
relevant behavior or code removal is verified. Original audit reports, finding
|
relevant behavior or code removal is verified. Original audit reports, finding
|
||||||
identities, priorities, and source links remain unchanged.
|
identities, priorities, and source links remain unchanged.
|
||||||
|
|
||||||
Directions for CAT-02, CAT-04, and CAT-05 reflect subsequent agreed choices.
|
Directions for CAT-02, CAT-04, CAT-05, and CAT-09 reflect subsequent agreed choices.
|
||||||
Other direction paragraphs retain the audit's candidate remedies; agreed
|
Other direction paragraphs retain the audit's candidate remedies; agreed
|
||||||
choices and roadmap ownership are identified by the disposition notes.
|
choices and roadmap ownership are identified by the disposition notes.
|
||||||
|
|
||||||
Audio generation/size handling is [agreed in topic 4](discussion.md#4-keep-downloaded-audio-and-its-source-identity-together),
|
Decisions on [audio generation/size handling](discussion.md#4-keep-downloaded-audio-and-its-source-identity-together),
|
||||||
and subprocess completion is [agreed in topic 5](discussion.md#5-finish-subprocess-shutdown-before-releasing-its-files),
|
[subprocess completion](discussion.md#5-finish-subprocess-shutdown-before-releasing-its-files),
|
||||||
with implementation pending. Continue the remaining decisions in
|
and [publication source lifetimes](discussion.md#6-open-publication-sources-as-they-are-needed)
|
||||||
[discussion topics 6–7](discussion.md#6-open-publication-sources-as-they-are-needed):
|
are agreed, with implementation pending. Continue with
|
||||||
publication source lifetimes and audio eligibility.
|
[topic 7: audio eligibility](discussion.md#7-give-preparation-and-inspection-the-same-audio-selection-rules).
|
||||||
Topic 1 also retains the smaller choice about waiting versus reporting a busy
|
Topic 1 also retains the smaller choice about waiting versus reporting a busy
|
||||||
workspace. Remote checkpoint timing and failure handling are deferred, not
|
workspace. Remote checkpoint timing and failure handling are deferred, not
|
||||||
decisions blocking publication import.
|
decisions blocking publication import.
|
||||||
@@ -275,7 +275,10 @@ Status: Open
|
|||||||
**Disposition / owner.** Independent publication-resource remediation — coordinate with the
|
**Disposition / owner.** Independent publication-resource remediation — coordinate with the
|
||||||
[roadmap's snapshot removal](../session-restore.md#decouple-remote-discovery-from-execution-snapshots).
|
[roadmap's snapshot removal](../session-restore.md#decouple-remote-discovery-from-execution-snapshots).
|
||||||
Removing one manifest source does not bound the remaining descriptors;
|
Removing one manifest source does not bound the remaining descriptors;
|
||||||
[discussion topic 6](discussion.md#6-open-publication-sources-as-they-are-needed) remains open.
|
[discussion topic 6](discussion.md#6-open-publication-sources-as-they-are-needed)
|
||||||
|
selects sequential source opening, verification, upload, and closure, accepting
|
||||||
|
late-source failure after unselected uploads. Implementation and verification
|
||||||
|
remain pending.
|
||||||
|
|
||||||
Original findings: [RS-01](05-resources.md#rs-01--p2-publication-retains-one-open-descriptor-per-source).
|
Original findings: [RS-01](05-resources.md#rs-01--p2-publication-retains-one-open-descriptor-per-source).
|
||||||
|
|
||||||
@@ -284,12 +287,13 @@ source, selected output, and committed manifest until its final defer, although
|
|||||||
uploads are sequential. Valid larger inventories can exhaust lower process
|
uploads are sequential. Valid larger inventories can exhaust lower process
|
||||||
descriptor limits before transfer begins.
|
descriptor limits before transfer begins.
|
||||||
|
|
||||||
**Direction.** Separate destination planning from source possession and use
|
**Direction.** Plan identities, destinations, and rules upfront; then open,
|
||||||
bounded verified opening/transfer lifetimes. Preserve confined regular-file
|
verify, upload, and close sources one at a time. Preserve confined regular-file
|
||||||
opening, checksum checks, hashing/uploading through the same descriptor, and
|
opening, checksum checks, and hashing/uploading through the same descriptor.
|
||||||
pointer-last publication. Review upfront validation semantics when choosing the
|
Validating every source before any upload is no longer required. A late invalid
|
||||||
design; raising limits or capping artifact count does not remove the scaling
|
source may leave an unselected attempt, while pointer-last publication preserves
|
||||||
problem.
|
the current selection on failure. No artifact-count cap, source-snapshot system,
|
||||||
|
or new cleanup subsystem is needed.
|
||||||
|
|
||||||
Related: [CAT-14](#cat-14--p3-close-temporary-committed-manifest-cleanup-gaps).
|
Related: [CAT-14](#cat-14--p3-close-temporary-committed-manifest-cleanup-gaps).
|
||||||
|
|
||||||
|
|||||||
@@ -13,8 +13,8 @@ own the detailed evidence. This document records decisions, explains consequence
|
|||||||
and distinguishes recommendations from approved scope. No remediation has been
|
and distinguishes recommendations from approved scope. No remediation has been
|
||||||
implemented by this document.
|
implemented by this document.
|
||||||
|
|
||||||
The operator has settled the main direction for topics 1 through 5. Topics 6
|
The operator has settled the main direction for topics 1 through 6. Topic 7
|
||||||
and 7 need discussion. Each open topic ends with a question and space for a
|
needs discussion. Each open topic ends with a question and space for a
|
||||||
response. Implementation details can be settled during planning after the
|
response. Implementation details can be settled during planning after the
|
||||||
operator-facing behavior is clear.
|
operator-facing behavior is clear.
|
||||||
|
|
||||||
@@ -346,7 +346,7 @@ the escalation timers. CAT-05 remains open pending implementation and verificati
|
|||||||
|
|
||||||
## 6. Open publication sources as they are needed
|
## 6. Open publication sources as they are needed
|
||||||
|
|
||||||
Status: Open
|
Status: Decision agreed; implementation pending
|
||||||
|
|
||||||
Finding: [CAT-09](catalog.md#cat-09--p2-bound-publications-simultaneously-open-source-descriptors).
|
Finding: [CAT-09](catalog.md#cat-09--p2-bound-publications-simultaneously-open-source-descriptors).
|
||||||
|
|
||||||
@@ -373,36 +373,40 @@ An earlier failure may already leave immutable uploads that were never selected
|
|||||||
as current. Preserving the old current pointer is the important existing commit
|
as current. Preserving the old current pointer is the important existing commit
|
||||||
boundary; failure does not promise that no remote bytes were uploaded.
|
boundary; failure does not promise that no remote bytes were uploaded.
|
||||||
|
|
||||||
### Recommendation
|
### Agreed direction
|
||||||
|
|
||||||
Keep complete destination planning, then open, verify, upload, and close each
|
Keep complete destination planning, then open, verify, upload, and close each
|
||||||
source using a bounded number of handles. Retain confinement and regular-file
|
source in sequence using a bounded number of handles. Retain confinement,
|
||||||
checks and use the verified handle for the transfer. Accept that a later invalid
|
regular-file and checksum checks, and use the verified handle for hashing and
|
||||||
source may be discovered after earlier immutable uploads, while leaving the
|
transfer. Close each source when its transfer and verification finish rather
|
||||||
previous current publication selected.
|
than retaining all sources until the stage ends.
|
||||||
|
|
||||||
This relaxes the documented all-sources-rejected-before-upload behavior. Record
|
An invalid later source may be discovered after earlier immutable uploads.
|
||||||
that relaxation expressly if approved. It adds no artifact-count cap and requires
|
Such a failure leaves the prior publication current; the new attempt is not
|
||||||
no copies of every source solely to pin its original generation.
|
selected. On a first publication, failure leaves no newly selected publication.
|
||||||
|
Keep the current-pointer write last, after all required publication work succeeds.
|
||||||
|
|
||||||
### Viable alternatives
|
This explicitly relaxes the documented all-sources-rejected-before-upload behavior.
|
||||||
|
Planning identities, destinations, and rules remains upfront; opening and validating
|
||||||
|
every source before any upload is no longer required.
|
||||||
|
|
||||||
- Run a bounded upfront validation pass, then reopen and revalidate sources for
|
Use the existing sequential transfer mechanism. This decision adds no artifact-count
|
||||||
transfer. This preserves early detection of initially invalid sources but adds
|
cap, descriptor-limit tuning, disk-backed source snapshots, or upload-concurrency
|
||||||
work; later changes can still fail during transfer.
|
framework. Unselected objects from unsuccessful attempts do not require a new
|
||||||
- Make verified disk-backed snapshots before uploading. This can preserve stronger
|
cleanup subsystem as part of this fix. Existing publication locks retain their
|
||||||
source pinning with fewer descriptors, at the cost of disk space, I/O, and
|
semantics, including carrying locked remote products without opening their local
|
||||||
temporary-file management. No known use case currently establishes that need.
|
replacements.
|
||||||
|
|
||||||
### Question for discussion
|
Verify bounded source-handle lifetimes with a growing inventory and a late-source
|
||||||
|
failure that leaves current publication unchanged. Retain the existing source
|
||||||
May publication discover an invalid later source after earlier immutable uploads,
|
validation and pointer-ordering coverage.
|
||||||
provided it leaves the previous publication current? I recommend yes and a simple
|
|
||||||
one-source-at-a-time transfer lifecycle.
|
|
||||||
|
|
||||||
Operator response:
|
Operator response:
|
||||||
|
|
||||||
_Pending discussion._
|
_Approved: plan destinations upfront, then open, verify, upload, and close one
|
||||||
|
source at a time. A later invalid source may leave an unselected remote attempt;
|
||||||
|
the current publication must remain unchanged on failure. CAT-09 remains open
|
||||||
|
pending implementation and verification._
|
||||||
|
|
||||||
## 7. Give preparation and inspection the same audio selection rules
|
## 7. Give preparation and inspection the same audio selection rules
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user