8000 fix: keep repositories readable with invalid submodule commits by tdurieux · Pull Request #925 · tdurieux/anonymous_github · GitHub
[go: up one dir, main page]

Skip to content

fix: keep repositories readable with invalid submodule commits - #925

Merged
tdurieux merged 1 commit into
mainfrom
fix/unavailable-submodule-commit
Nov 6, 2026
Merged

tdurieux merged 1 commit into
mainfrom
fix/unavailable-submodule-commit

Conversation

@tdurieux
@tdurieux tdurieux commented Nov 6, 2026 •
Copy link
Copy Markdown
Owner

A missing pinned submodule commit can make an otherwise readable anonymous repository fail completely. GitHub returns a specific invalid-object 422 for that child tree; the submodule handler previously tolerated only 404.

Mark that child unavailable and preserve parent files. The handling is confined to the child tree request; parent metadata errors, unrelated validation failures, rate limits and outages still propagate. No source identity or pinned commit is changed.

Validation: 23 submodule tests passed, including parent-tree ingestion with the invalid child, no upstream metadata for the unavailable mount, parent metadata failure propagation, unrelated 422 responses, rate limits and server errors. TypeScript compilation (tsc --noEmit), focused ESLint and diff checks passed.

@tdurieux
tdurieux commented Nov 6, 2026
Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector
chatgpt-codex-connector Bot commented Nov 6, 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-11-06T12:03:21.731255Z 6df74e8 Manual request
ℹ️ 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.

@chatgpt-codex-connector
Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Breezy!

Reviewed commit: 6df74e80ac

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@tdurieux
tdurieux merged commit 19ce699 into main Nov 6, 2026
0 of 4 checks passed
@tdurieux
tdurieux deleted the fix/unavailable-submodule-commit branch November 6, 2026 12:08
@tdurieux tdurieux mentioned this pull request Nov 6, 2026
1 task done
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

0