Skip to content

docs(specs): design for storing a pipeline in SpiralDB (ITL-1446) - #542

Closed
eywalker wants to merge 8 commits into
mainfrom
eywalker/itl-1446-spiral-columns
Closed

eywalker wants to merge 8 commits into
mainfrom
eywalker/itl-1446-spiral-columns

Conversation

@eywalker

@eywalker eywalker commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Design only, for ITL-1446 (covers ITL-1176, ITL-1100 and ITL-1190). No code under src/ or tests/ changes. Third version, after two independent reviews and a live measurement; section 11 answers the open findings.

  • Spec: docs/dev/specs/itl-1446-spiral-columns.md
  • Evidence in docs/dev/specs/itl-1446/: the generated list of stored columns, a prototype on the disk fake, and exhaustive models of the lease and of table publication

The design:

  • The store maps names and types on write and restores them on read. No hash, path, layout or golden value moves.
  • One run holds a dataset through an exclusively created table, released by its exact id, with an explicit admission and drain barrier. Section 4.2 and 4.3 state the conditions and what a late request of a dead run can do.
  • A table exists for Orcapod only once a catalog row publishes it, after its first rows. A failed first write leaves an orphan that is never read, reused or dropped automatically. A lost row refuses instead of reading as absent.
  • Lookups are one index and batched reads, bounded for async. Over the memory budget: one scan or a refusal.
  • A store is a set of rows (developer decision).

Section 9 lists the open probes; section 10 says which pull requests may start now, their gates, the exclusions and eight decisions. Decision 5 changes an earlier one: names carry a token per attempt and are found through the catalog.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Nov 24, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

eywalker and others added 4 commits November 24, 2026 09:55
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… (ITL-1446)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@codecov

codecov Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
see 4 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
eywalker and others added 2 commits November 24, 2026 10:56
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…iew (ITL-1446)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@eywalker

eywalker commented Dec 1, 2026

Copy link
Copy Markdown
Contributor Author

Closing: this first design was written for the earlier SpiralDB client. Its successor, for spiral-sdk, is docs/dev/specs/itl-1446-round2-spiral-sdk.md (PR #588), which drops the catalog table and the per-attempt names. Tracked in ITL-1446.

Posted by a Claude Code agent on behalf of @eywalker.

@eywalker eywalker closed this Dec 1, 2026
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