Skip to content

docs(openspec): archive serve-whole-nar-in-flight - #1362

Merged
kalbasit merged 2 commits into
mainfrom
docs-openspec-archive-serve
Jun 8, 2026
Merged

kalbasit merged 2 commits into
mainfrom
docs-openspec-archive-serve

Conversation

@kalbasit

@kalbasit kalbasit commented Jun 7, 2026

Copy link
Copy Markdown
Owner

Final branch of the stack (group 14). Archives the OpenSpec change
serve-whole-nar-in-flight to openspec/changes/archive/ and syncs its delta
specs into the main specs:

  • New capabilities: inflight-nar-staging (6 requirements) and
    helm-ha-staging-validation (3 requirements).
  • cdc-chunking: ADDED read-path precedence — prefer in-flight staging over
    progressive chunk streaming during the chunking window.
  • nar-concurrent-streaming: MODIFIED the lock-loss requirement to include
    serving from in-flight staging, plus the staging-serve scenario.

All implementation tasks (groups 1-13) are complete and verified; this is the
only branch that commits openspec/. openspec validate --specs passes (38/38).

@coderabbitai

coderabbitai Bot commented Jun 7, 2026 •

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: b3f4dbf5-b1d0-4125-8009-a6ac00819809

📥 Commits

Reviewing files that changed from the base of the PR and between 011a449 and a272a5b.

📒 Files selected for processing (12)
  • openspec/changes/archive/2026-06-07-serve-whole-nar-in-flight/.openspec.yaml
  • openspec/changes/archive/2026-06-07-serve-whole-nar-in-flight/design.md
  • openspec/changes/archive/2026-06-07-serve-whole-nar-in-flight/proposal.md
  • openspec/changes/archive/2026-06-07-serve-whole-nar-in-flight/specs/cdc-chunking/spec.md
  • openspec/changes/archive/2026-06-07-serve-whole-nar-in-flight/specs/helm-ha-staging-validation/spec.md
  • openspec/changes/archive/2026-06-07-serve-whole-nar-in-flight/specs/inflight-nar-staging/spec.md
  • openspec/changes/archive/2026-06-07-serve-whole-nar-in-flight/specs/nar-concurrent-streaming/spec.md
  • openspec/changes/archive/2026-06-07-serve-whole-nar-in-flight/tasks.md
  • openspec/specs/cdc-chunking/spec.md
  • openspec/specs/helm-ha-staging-validation/spec.md
  • openspec/specs/inflight-nar-staging/spec.md
  • openspec/specs/nar-concurrent-streaming/spec.md
✅ Files skipped from review due to trivial changes (6)
  • openspec/changes/archive/2026-06-07-serve-whole-nar-in-flight/specs/nar-concurrent-streaming/spec.md
  • openspec/specs/nar-concurrent-streaming/spec.md
  • openspec/changes/archive/2026-06-07-serve-whole-nar-in-flight/.openspec.yaml
  • openspec/changes/archive/2026-06-07-serve-whole-nar-in-flight/tasks.md
  • openspec/changes/archive/2026-06-07-serve-whole-nar-in-flight/proposal.md
  • openspec/specs/inflight-nar-staging/spec.md
🚧 Files skipped from review as they are similar to previous changes (2)
  • openspec/changes/archive/2026-06-07-serve-whole-nar-in-flight/specs/helm-ha-staging-validation/spec.md
  • openspec/changes/archive/2026-06-07-serve-whole-nar-in-flight/specs/inflight-nar-staging/spec.md

📝 Walkthrough

Summary by CodeRabbit

  • Documentation
    • Added specifications for in-flight NAR staging, enabling cross-pod serving of NARs during downloads.
    • Updated Helm HA validation to accept in-flight staging as an alternative to CDC configuration.
    • Documented comprehensive implementation plan and design approach for the staging mechanism.

Walkthrough

This PR adds archive proposal/design, detailed inflight NAR staging and CDC/helm/streaming specs, and a tasks checklist describing implementation steps and rollout for a flag-gated cross-pod “in-flight NAR” staging mechanism.

Changes

Archive Design & Proposal

Layer / File(s) Summary
Archive proposal & architecture
openspec/changes/archive/2026-06-07-serve-whole-nar-in-flight/.openspec.yaml, openspec/changes/archive/2026-06-07-serve-whole-nar-in-flight/proposal.md, openspec/changes/archive/2026-06-07-serve-whole-nar-in-flight/design.md
Introduces the in-flight NAR staging proposal and design: goals, DB-backed staging_state, fixed-size immutable part-objects with backfill-from-zero, takeover semantics, feature-flag gating, and Helm HA validation changes (removing iLoveTimeouts).
Archive comprehensive specifications
openspec/changes/archive/2026-06-07-serve-whole-nar-in-flight/specs/*
Defines inflight staging behavior (contention-triggered activation, ordered part-objects, progressive availability, transcoding/served-compression, GC/retention, takeover), CDC chunking read-path precedence during eager chunking, Helm HA dual-option satisfaction rules, and concurrent-streaming lock-loss behavior (no HTTP 500).
Archive implementation task checklist
openspec/changes/archive/2026-06-07-serve-whole-nar-in-flight/tasks.md
Specifies TDD workflow, stacked-PR execution model, resume point (group 5), and task groups 1–13 covering flags, Ent schema/migrations, NarStore staging parts, holder/reader behaviors, chunking precedence, GC/takeover, Helm breaking changes, docs, and verification.

Production Specification Updates

Layer / File(s) Summary
CDC chunking read-path preference
openspec/specs/cdc-chunking/spec.md
Adds requirement that during eager-CDC chunking (total_chunks == 0), the read path must prefer available in-flight staging parts over streamProgressiveChunks, with fallback when staging is absent and no change once total_chunks > 0.
Helm HA validation dual-option rule
openspec/specs/helm-ha-staging-validation/spec.md
Updates HA validation to succeed when replicaCount > 1 if either config.cdc.enabled or config.inflightStaging.enabled is true; requires explicit failure (error naming both options and referencing #660) when neither is enabled and removes the iLoveTimeouts bypass.
Inflight NAR staging core feature
openspec/specs/inflight-nar-staging/spec.md
Adds the inflight staging specification: flag-gated (default false), contention-triggered via staging_state markers, ordered immutable fixed-size part-objects with backfill-from-zero and progressive parts_available, cross-pod reader guarantees including transcoding, GC with retention grace and orphan sweep, and takeover on holder death restarting download from offset zero.
NAR concurrent streaming lock-loss behavior
openspec/specs/nar-concurrent-streaming/spec.md
Clarifies that a replica failing to acquire the download lock must not return HTTP 500; it must serve via holder completion, tail in-flight staging parts (if enabled), takeover on holder failure, or return HTTP 404 when absent; adds explicit tailing scenario with HTTP 200.

Possibly Related Issues

Possibly Related PRs

Estimated Code Review Effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Poem

🐰 Hop along, dear readers, through specs and design,
A cross-pod staging dance, where downloads align,
No more HTTP 500s when locks slip away,
Just whole NARs in flight—hopping into the fray! ✨

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately summarizes the main change: archiving the serve-whole-nar-in-flight OpenSpec change and syncing delta specs.
Description check ✅ Passed The description is directly related to the changeset, detailing the archived OpenSpec change, new capabilities, modified specs, and validation status.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


Comment @coderabbitai help to get the list of available commands and usage tips.

@dosubot dosubot Bot added size:L This PR changes 100-499 lines, ignoring generated files. documentation Improvements or additions to documentation labels Jun 7, 2026
@kalbasit
kalbasit force-pushed the test-cache-cross-pod-in-flight branch from a628e01 to 25ab29a Compare June 7, 2026 20:18
@dosubot

dosubot Bot commented Jun 7, 2026

Copy link
Copy Markdown

Related Knowledge

1 document with suggested updates is ready for review.

kalbasit's Space

Cache and Storage Configuration Flags
View Suggested Changes
@@ -525,6 +525,50 @@
 - Otherwise, the NAR is skipped
 
 This allows fsck to focus resources on files that haven't been verified recently, while maintaining confidence that all files are periodically checked. The optimization is especially beneficial for large caches with many chunked NARs, where chunk-level verification can be time-consuming.
+
+## In-Flight NAR Staging Configuration
+
+In-flight NAR staging enables serving complete, byte-correct NARs across replicas while the NAR is still being downloaded by the holding replica. When enabled, ncps stages NARs being downloaded to shared storage as ordered, immutable, fixed-size part-objects once cross-pod contention is detected. This allows other replicas to serve the NAR while the download is in progress. The feature is disabled by default and incurs zero overhead until cross-pod contention occurs.
+
+**Flags:**
+
+- `--cache-inflight-staging-enabled` (boolean): Enable in-flight NAR staging. Default: `false`
+  - Environment variable: `CACHE_INFLIGHT_STAGING_ENABLED`
+  - YAML key: `cache.inflight-staging.enabled`
+  - Purpose: When enabled, ncps stages NARs being downloaded to shared storage as ordered, immutable, fixed-size part-objects when cross-pod contention is detected. This allows other replicas to serve complete, byte-correct NARs while the NAR is still being downloaded by the holding replica. When disabled (default), the download and serve paths behave as before with no staging overhead.
+
+- `--cache-inflight-staging-part-size` (size in bytes): Fixed part size for staging part-objects. Default: `8 MiB`
+  - Environment variable: `CACHE_INFLIGHT_STAGING_PART_SIZE`
+  - YAML key: `cache.inflight-staging.part-size`
+  - Purpose: Configures the fixed part size for staging part-objects when in-flight NAR staging is active. The holder writes the NAR to shared storage as ordered, immutable parts of this size, backfilling already-downloaded bytes and appending further parts as bytes arrive.
+
+- `--cache-inflight-staging-retention` (duration): Grace period for retaining staging part-objects after completion. Default: configurable
+  - Environment variable: `CACHE_INFLIGHT_STAGING_RETENTION`
+  - YAML key: `cache.inflight-staging.retention`
+  - Purpose: Sets the grace period for retaining staging part-objects after the NAR's final representation (whole file or chunks) is committed. Staging part-objects and their staging_state record are garbage-collected after this retention period elapses, allowing in-flight readers to drain before deletion.
+
+**Behavior:**
+
+When in-flight staging is enabled, staging activates only when cross-pod contention is detected. A replica holding the download lock begins staging after it observes a cross-pod waiter for the same NAR hash. Replicas using the local (non-distributed) locker never stage, since no cross-pod waiter can exist. The holder writes the NAR to shared storage as ordered, immutable, fixed-size part-objects, first backfilling all already-downloaded bytes starting from offset zero, then appending further parts as bytes arrive. Waiting replicas tail these staging parts to reassemble and serve a complete, byte-correct NAR, regardless of whether CDC is disabled, lazy, or eager.
+
+During the eager-CDC chunking window (`total_chunks == 0`), when in-flight staging parts are available for a NAR hash, the read path prefers serving from the staging parts over progressive chunk streaming. Progressive chunk streaming remains the fallback used only when no staging parts are present.
+
+**CLI Example:**
+```bash
+ncps serve \
+  --cache-inflight-staging-enabled \
+  --cache-inflight-staging-part-size 8388608 \
+  --cache-inflight-staging-retention 1h
+```
+
+**YAML Example:**
+```yaml
+cache:
+  inflight-staging:
+    enabled: true
+    part-size: 8388608  # 8 MiB
+    retention: 1h
+```
 
 ## Summary Table of Storage Flags
 | Purpose         | CLI Flag                              | YAML Key                       | Helm Value | Required |
@@ -538,6 +582,9 @@
 | S3 secret key   | `--cache-storage-s3-secret-access-key`| `cache.storage.s3.secret-access-key` | N/A | Yes** |
 | S3 force path style | `--cache-storage-s3-force-path-style` | `cache.storage.s3.force-path-style` | N/A | No       |
 | LRU schedule timezone | `--cache-lru-schedule-timezone` | `cache.lru.schedule.timezone` | N/A | No       |
+| In-flight staging enabled | `--cache-inflight-staging-enabled` | `cache.inflight-staging.enabled` | N/A | No (default: `false`) |
+| In-flight staging part size | `--cache-inflight-staging-part-size` | `cache.inflight-staging.part-size` | N/A | No (default: `8 MiB`) |
+| In-flight staging retention | `--cache-inflight-staging-retention` | `cache.inflight-staging.retention` | N/A | No |
 | CDC lazy recovery schedule | `--cache-cdc-lazy-recovery-schedule` | `cache.cdc.lazy-recovery-schedule` | `config.cdc.lazyRecoverySchedule` | No (default: `@every 5m`) |
 | CDC lazy recovery batch size | `--cache-cdc-lazy-recovery-batch-size` | `cache.cdc.lazy-recovery-batch-size` | `config.cdc.lazyRecoveryBatchSize` | No (default: `100`) |
 | CDC lazy cleanup schedule | `--cache-cdc-lazy-cleanup-schedule` | `cache.cdc.lazy-cleanup-schedule` | `config.cdc.lazyCleanupSchedule` | No (default: `@every 1h`) |

[Accept] [Edit] [Decline]

How did I do? Any feedback?  Join Discord

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a contention-activated in-flight staging copy of NARs in shared storage to enable cross-pod serving during active downloads across all CDC modes, resolving issues #660 and #1289. It implements database-backed staging_state tracking, ordered immutable part-object storage, holder-side activation/backfill, and reader-side tailing. Additionally, the Helm chart's HA validation is updated to accept either CDC or in-flight staging, and the obsolete iLoveTimeouts bypass flag is removed. Feedback on the documentation highlights a contradiction in the proposal regarding whether the iLoveTimeouts bypass flag is retained or removed.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

@kalbasit

kalbasit commented Jun 7, 2026

Copy link
Copy Markdown
Owner Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Jun 7, 2026 •

Copy link
Copy Markdown
✅ Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@kalbasit

kalbasit commented Jun 7, 2026

Copy link
Copy Markdown
Owner Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Jun 7, 2026 •

Copy link
Copy Markdown
✅ Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@kalbasit

kalbasit commented Jun 7, 2026

Copy link
Copy Markdown
Owner Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Jun 7, 2026 •

Copy link
Copy Markdown
✅ Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@kalbasit

kalbasit commented Jun 7, 2026

Copy link
Copy Markdown
Owner Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Jun 7, 2026 •

Copy link
Copy Markdown
✅ Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 3

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@openspec/changes/archive/2026-06-07-serve-whole-nar-in-flight/design.md`:
- Line 70: Update the design text to match the task contract's liveness
criteria: change the sweep selection description to use staging_state.updated_at
staleness as the primary holder-death detection criterion (with
staging_state.created_at as a fallback), and keep status and
inflight-staging-retention grace handling unchanged; refer to the existing terms
staging_state.updated_at, staging_state.created_at, status, and
inflight-staging-retention when editing the sentence about the periodic sweep.

In `@openspec/changes/archive/2026-06-07-serve-whole-nar-in-flight/proposal.md`:
- Line 23: The capability text contradicts itself: `iLoveTimeouts` is described
as "stays as the risk-accept bypass" on the `helm-ha-staging-validation` line
while earlier the proposal removes `iLoveTimeouts`; update the proposal so the
`helm-ha-staging-validation` capability definition consistently reflects removal
of `iLoveTimeouts` (or explicitly state it's retained) and align the
operator/migration guidance accordingly—edit the `helm-ha-staging-validation`
sentence to either remove the reference to `iLoveTimeouts` or change it to
explain how CDC and in-flight staging satisfy the HA guard without relying on
`iLoveTimeouts`, and ensure any mentions of `iLoveTimeouts` elsewhere (e.g.,
capability list) match this decision.

In
`@openspec/changes/archive/2026-06-07-serve-whole-nar-in-flight/specs/inflight-nar-staging/spec.md`:
- Around line 73-74: Update the orphan-sweep requirement to use the
holder-liveness signal based on staging_state.updated_at staleness (with
staging_state.created_at as a fallback) rather than only
staging_state.created_at and status; modify the normative sentence that
currently says "keyed off `staging_state.created_at` and `status`" to state that
the periodic sweep SHALL reclaim staging records whose holder died by checking
`staging_state.updated_at` for staleness (falling back to
`staging_state.created_at` when `updated_at` is absent) and `status`, and ensure
mention of the configurable retention window
(`--cache-inflight-staging-retention`) remains intact.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 9b459565-1bf0-45f5-8fcf-4785f5995569

📥 Commits

Reviewing files that changed from the base of the PR and between 25ab29a and 011a449.

📒 Files selected for processing (12)
  • openspec/changes/archive/2026-06-07-serve-whole-nar-in-flight/.openspec.yaml
  • openspec/changes/archive/2026-06-07-serve-whole-nar-in-flight/design.md
  • openspec/changes/archive/2026-06-07-serve-whole-nar-in-flight/proposal.md
  • openspec/changes/archive/2026-06-07-serve-whole-nar-in-flight/specs/cdc-chunking/spec.md
  • openspec/changes/archive/2026-06-07-serve-whole-nar-in-flight/specs/helm-ha-staging-validation/spec.md
  • openspec/changes/archive/2026-06-07-serve-whole-nar-in-flight/specs/inflight-nar-staging/spec.md
  • openspec/changes/archive/2026-06-07-serve-whole-nar-in-flight/specs/nar-concurrent-streaming/spec.md
  • openspec/changes/archive/2026-06-07-serve-whole-nar-in-flight/tasks.md
  • openspec/specs/cdc-chunking/spec.md
  • openspec/specs/helm-ha-staging-validation/spec.md
  • openspec/specs/inflight-nar-staging/spec.md
  • openspec/specs/nar-concurrent-streaming/spec.md

@kalbasit
kalbasit force-pushed the test-cache-cross-pod-in-flight branch from 25ab29a to 78c0fc1 Compare June 8, 2026 00:11
kalbasit added a commit that referenced this pull request Jun 8, 2026
Address review feedback on PR #1362:

- proposal.md capability list said "iLoveTimeouts stays as the risk-accept
  bypass", contradicting the BREAKING removal stated earlier in the same file.
  Corrected to "no bypass (iLoveTimeouts is removed)"
  (PRRT_kwDONV6tZs6Hr3mh, PRRT_kwDONV6tZs6Hsj6u).
- design.md D7 and the inflight-nar-staging spec (both the archived delta and the
  synced main spec) described the orphan sweep as keyed off
  staging_state.created_at; aligned them with the implementation, which keys off
  updated_at staleness (created_at fallback) since a live holder advances
  updated_at as it stages (PRRT_kwDONV6tZs6Hsj6s, PRRT_kwDONV6tZs6Hsj6v).

Co-Authored-By: Claude Opus 4.8 <[email protected]>
kalbasit added a commit that referenced this pull request Jun 8, 2026
Address review feedback on PR #1362:

- proposal.md capability list said "iLoveTimeouts stays as the risk-accept
  bypass", contradicting the BREAKING removal stated earlier in the same file.
  Corrected to "no bypass (iLoveTimeouts is removed)"
  (PRRT_kwDONV6tZs6Hr3mh, PRRT_kwDONV6tZs6Hsj6u).
- design.md D7 and the inflight-nar-staging spec (both the archived delta and the
  synced main spec) described the orphan sweep as keyed off
  staging_state.created_at; aligned them with the implementation, which keys off
  updated_at staleness (created_at fallback) since a live holder advances
  updated_at as it stages (PRRT_kwDONV6tZs6Hsj6s, PRRT_kwDONV6tZs6Hsj6v).

Co-Authored-By: Claude Opus 4.8 <[email protected]>
@kalbasit
kalbasit force-pushed the docs-openspec-archive-serve branch from 257ff75 to cb18d0e Compare June 8, 2026 00:56
@kalbasit
kalbasit force-pushed the test-cache-cross-pod-in-flight branch from f390ef0 to 34ea258 Compare June 8, 2026 01:04
kalbasit added a commit that referenced this pull request Jun 8, 2026
Address review feedback on PR #1362:

- proposal.md capability list said "iLoveTimeouts stays as the risk-accept
  bypass", contradicting the BREAKING removal stated earlier in the same file.
  Corrected to "no bypass (iLoveTimeouts is removed)"
  (PRRT_kwDONV6tZs6Hr3mh, PRRT_kwDONV6tZs6Hsj6u).
- design.md D7 and the inflight-nar-staging spec (both the archived delta and the
  synced main spec) described the orphan sweep as keyed off
  staging_state.created_at; aligned them with the implementation, which keys off
  updated_at staleness (created_at fallback) since a live holder advances
  updated_at as it stages (PRRT_kwDONV6tZs6Hsj6s, PRRT_kwDONV6tZs6Hsj6v).

Co-Authored-By: Claude Opus 4.8 <[email protected]>
@kalbasit
kalbasit force-pushed the docs-openspec-archive-serve branch from cb18d0e to 6bb5a90 Compare June 8, 2026 01:04
@kalbasit
kalbasit force-pushed the test-cache-cross-pod-in-flight branch from 34ea258 to f2b17f2 Compare June 8, 2026 01:11
kalbasit added a commit that referenced this pull request Jun 8, 2026
Address review feedback on PR #1362:

- proposal.md capability list said "iLoveTimeouts stays as the risk-accept
  bypass", contradicting the BREAKING removal stated earlier in the same file.
  Corrected to "no bypass (iLoveTimeouts is removed)"
  (PRRT_kwDONV6tZs6Hr3mh, PRRT_kwDONV6tZs6Hsj6u).
- design.md D7 and the inflight-nar-staging spec (both the archived delta and the
  synced main spec) described the orphan sweep as keyed off
  staging_state.created_at; aligned them with the implementation, which keys off
  updated_at staleness (created_at fallback) since a live holder advances
  updated_at as it stages (PRRT_kwDONV6tZs6Hsj6s, PRRT_kwDONV6tZs6Hsj6v).

Co-Authored-By: Claude Opus 4.8 <[email protected]>
@kalbasit
kalbasit force-pushed the docs-openspec-archive-serve branch from 6bb5a90 to 88c0f32 Compare June 8, 2026 01:11
@kalbasit
kalbasit force-pushed the test-cache-cross-pod-in-flight branch from f2b17f2 to 5225aea Compare June 8, 2026 01:19
@kalbasit
kalbasit force-pushed the docs-openspec-archive-serve branch from 88c0f32 to b1ceb92 Compare June 8, 2026 01:19
kalbasit added a commit that referenced this pull request Jun 8, 2026
Address review feedback on PR #1362:

- proposal.md capability list said "iLoveTimeouts stays as the risk-accept
  bypass", contradicting the BREAKING removal stated earlier in the same file.
  Corrected to "no bypass (iLoveTimeouts is removed)"
  (PRRT_kwDONV6tZs6Hr3mh, PRRT_kwDONV6tZs6Hsj6u).
- design.md D7 and the inflight-nar-staging spec (both the archived delta and the
  synced main spec) described the orphan sweep as keyed off
  staging_state.created_at; aligned them with the implementation, which keys off
  updated_at staleness (created_at fallback) since a live holder advances
  updated_at as it stages (PRRT_kwDONV6tZs6Hsj6s, PRRT_kwDONV6tZs6Hsj6v).

Co-Authored-By: Claude Opus 4.8 <[email protected]>
@kalbasit
kalbasit force-pushed the test-cache-cross-pod-in-flight branch from 5225aea to bb728ce Compare June 8, 2026 01:26
kalbasit added a commit that referenced this pull request Jun 8, 2026
Address review feedback on PR #1362:

- proposal.md capability list said "iLoveTimeouts stays as the risk-accept
  bypass", contradicting the BREAKING removal stated earlier in the same file.
  Corrected to "no bypass (iLoveTimeouts is removed)"
  (PRRT_kwDONV6tZs6Hr3mh, PRRT_kwDONV6tZs6Hsj6u).
- design.md D7 and the inflight-nar-staging spec (both the archived delta and the
  synced main spec) described the orphan sweep as keyed off
  staging_state.created_at; aligned them with the implementation, which keys off
  updated_at staleness (created_at fallback) since a live holder advances
  updated_at as it stages (PRRT_kwDONV6tZs6Hsj6s, PRRT_kwDONV6tZs6Hsj6v).

Co-Authored-By: Claude Opus 4.8 <[email protected]>
@kalbasit
kalbasit force-pushed the docs-openspec-archive-serve branch from b1ceb92 to 44f7276 Compare June 8, 2026 01:26
@kalbasit
kalbasit force-pushed the test-cache-cross-pod-in-flight branch from bb728ce to 0698e7f Compare June 8, 2026 01:34
kalbasit added a commit that referenced this pull request Jun 8, 2026
Address review feedback on PR #1362:

- proposal.md capability list said "iLoveTimeouts stays as the risk-accept
  bypass", contradicting the BREAKING removal stated earlier in the same file.
  Corrected to "no bypass (iLoveTimeouts is removed)"
  (PRRT_kwDONV6tZs6Hr3mh, PRRT_kwDONV6tZs6Hsj6u).
- design.md D7 and the inflight-nar-staging spec (both the archived delta and the
  synced main spec) described the orphan sweep as keyed off
  staging_state.created_at; aligned them with the implementation, which keys off
  updated_at staleness (created_at fallback) since a live holder advances
  updated_at as it stages (PRRT_kwDONV6tZs6Hsj6s, PRRT_kwDONV6tZs6Hsj6v).

Co-Authored-By: Claude Opus 4.8 <[email protected]>
@kalbasit
kalbasit force-pushed the docs-openspec-archive-serve branch from 44f7276 to 037682c Compare June 8, 2026 01:34
@kalbasit
kalbasit force-pushed the test-cache-cross-pod-in-flight branch from 0698e7f to da1ab82 Compare June 8, 2026 01:41
kalbasit added a commit that referenced this pull request Jun 8, 2026
Address review feedback on PR #1362:

- proposal.md capability list said "iLoveTimeouts stays as the risk-accept
  bypass", contradicting the BREAKING removal stated earlier in the same file.
  Corrected to "no bypass (iLoveTimeouts is removed)"
  (PRRT_kwDONV6tZs6Hr3mh, PRRT_kwDONV6tZs6Hsj6u).
- design.md D7 and the inflight-nar-staging spec (both the archived delta and the
  synced main spec) described the orphan sweep as keyed off
  staging_state.created_at; aligned them with the implementation, which keys off
  updated_at staleness (created_at fallback) since a live holder advances
  updated_at as it stages (PRRT_kwDONV6tZs6Hsj6s, PRRT_kwDONV6tZs6Hsj6v).

Co-Authored-By: Claude Opus 4.8 <[email protected]>
@kalbasit
kalbasit force-pushed the docs-openspec-archive-serve branch from 037682c to c006644 Compare June 8, 2026 01:41
kalbasit added a commit that referenced this pull request Jun 8, 2026
Address review feedback on PR #1362:

- proposal.md capability list said "iLoveTimeouts stays as the risk-accept
  bypass", contradicting the BREAKING removal stated earlier in the same file.
  Corrected to "no bypass (iLoveTimeouts is removed)"
  (PRRT_kwDONV6tZs6Hr3mh, PRRT_kwDONV6tZs6Hsj6u).
- design.md D7 and the inflight-nar-staging spec (both the archived delta and the
  synced main spec) described the orphan sweep as keyed off
  staging_state.created_at; aligned them with the implementation, which keys off
  updated_at staleness (created_at fallback) since a live holder advances
  updated_at as it stages (PRRT_kwDONV6tZs6Hsj6s, PRRT_kwDONV6tZs6Hsj6v).

Co-Authored-By: Claude Opus 4.8 <[email protected]>
@kalbasit
kalbasit force-pushed the docs-openspec-archive-serve branch from c006644 to 9b952b7 Compare June 8, 2026 01:57
Base automatically changed from test-cache-cross-pod-in-flight to main June 8, 2026 02:06
kalbasit and others added 2 commits June 8, 2026 02:06
Final branch of the stack (group 14). Archives the OpenSpec change
serve-whole-nar-in-flight to openspec/changes/archive/ and syncs its delta
specs into the main specs:

- New capabilities: inflight-nar-staging (6 requirements) and
  helm-ha-staging-validation (3 requirements).
- cdc-chunking: ADDED read-path precedence — prefer in-flight staging over
  progressive chunk streaming during the chunking window.
- nar-concurrent-streaming: MODIFIED the lock-loss requirement to include
  serving from in-flight staging, plus the staging-serve scenario.

All implementation tasks (groups 1-13) are complete and verified; this is the
only branch that commits openspec/. openspec validate --specs passes (38/38).
Address review feedback on PR #1362:

- proposal.md capability list said "iLoveTimeouts stays as the risk-accept
  bypass", contradicting the BREAKING removal stated earlier in the same file.
  Corrected to "no bypass (iLoveTimeouts is removed)"
  (PRRT_kwDONV6tZs6Hr3mh, PRRT_kwDONV6tZs6Hsj6u).
- design.md D7 and the inflight-nar-staging spec (both the archived delta and the
  synced main spec) described the orphan sweep as keyed off
  staging_state.created_at; aligned them with the implementation, which keys off
  updated_at staleness (created_at fallback) since a live holder advances
  updated_at as it stages (PRRT_kwDONV6tZs6Hsj6s, PRRT_kwDONV6tZs6Hsj6v).

Co-Authored-By: Claude Opus 4.8 <[email protected]>
@kalbasit
kalbasit force-pushed the docs-openspec-archive-serve branch from 9b952b7 to a272a5b Compare June 8, 2026 02:06
@kalbasit
kalbasit enabled auto-merge (squash) June 8, 2026 02:07
@kalbasit
kalbasit merged commit d06537b into main Jun 8, 2026
37 checks passed
@kalbasit
kalbasit deleted the docs-openspec-archive-serve branch June 8, 2026 02:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation merge-stack size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant