Skip to content

test(status): exercise the external index it names, as a symlink farm - #4425

Merged
Sinity merged 1 commit into
masterfrom
fix/status-external-index-farm
Aug 29, 2026
Merged

Sinity merged 1 commit into
masterfrom
fix/status-external-index-farm

Conversation

@Sinity

@Sinity Sinity commented Aug 29, 2026

Copy link
Copy Markdown
Owner

Summary

Correcting my own change in #4420. That fixture built the copy shape — real
durable files with only the index pointing away — which archive_identity
refuses, because such a pointer resolves into the archive the copy was made
from. I moved the index inside the root to make it pass, which fixed the
symptom and removed the external index the test exists for.

An out-of-root pointer is admitted as a symlink farm: every durable tier is a
symlink out alongside the index. The fixture now builds that, so the test is
about an external index again.

Anti-vacuity: make any durable tier a real file and the pointer is refused
with active index pointer target is outside configured archive root, which
is the copy-versus-farm distinction the production code draws.

Verification: pytest the named test — passes; devtools verify --quick — exit 0.

Co-Authored-By: Claude Opus 5 (1M context) [email protected]
Claude-Session: https://claude.ai/code/session_014BQsaB1NBY8mTR6yZByfMA

Related: polylogue-cqv1a records the same guard colliding with the reindex canary's split-root contract.

Correcting my own change in #4420. That fixture built the copy shape — real
durable files with only the index pointing away — which `archive_identity`
refuses, because such a pointer resolves into the archive the copy was made
from. I moved the index inside the root to make it pass, which fixed the
symptom and removed the external index the test exists for.

An out-of-root pointer is admitted as a symlink farm: every durable tier is a
symlink out alongside the index. The fixture now builds that, so the test is
about an external index again.

Anti-vacuity: make any durable tier a real file and the pointer is refused
with `active index pointer target is outside configured archive root`, which
is the copy-versus-farm distinction the production code draws.

Verification: pytest the named test — passes; devtools verify --quick — exit 0.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_014BQsaB1NBY8mTR6yZByfMA
@coderabbitai

coderabbitai Bot commented Aug 29, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 9bfd969d-72b2-49ab-9642-e886f0d32782


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Aug 29, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-08-29T21:13:27.150577Z a9b9b13 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@Sinity
Sinity merged commit 0d9e2ee into master Aug 29, 2026
3 checks passed
@Sinity
Sinity deleted the fix/status-external-index-farm branch August 29, 2026 21:34
Sinity added a commit that referenced this pull request Sep 1, 2026
…#4425)

## Summary

Correcting my own change in #4420. That fixture built the copy shape —
real
durable files with only the index pointing away — which
`archive_identity`
refuses, because such a pointer resolves into the archive the copy was
made
from. I moved the index inside the root to make it pass, which fixed the
symptom and removed the external index the test exists for.

An out-of-root pointer is admitted as a symlink farm: every durable tier
is a
symlink out alongside the index. The fixture now builds that, so the
test is
about an external index again.

Anti-vacuity: make any durable tier a real file and the pointer is
refused
with `active index pointer target is outside configured archive root`,
which
is the copy-versus-farm distinction the production code draws.

Verification: pytest the named test — passes; devtools verify --quick —
exit 0.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_014BQsaB1NBY8mTR6yZByfMA

Related: polylogue-cqv1a records the same guard colliding with the
reindex canary's split-root contract.

Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
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