Skip to content

Repair authenticated Hosted multipart imports and legacy capture recovery - #3135

Merged
benhook1013 merged 1 commit into
developfrom
codex/hosted-multipart-review-import
Oct 9, 2026
Merged

benhook1013 merged 1 commit into
developfrom
codex/hosted-multipart-review-import

Conversation

@benhook1013

Copy link
Copy Markdown
Owner

CodeRabbit can publish a Hosted result in multiple explicitly linked batches. Importing the first batch alone can omit later findings, and completed-attempt replay can hide that omission. This change waits for one complete authenticated publication and imports its owned findings into one result, retaining the primary response identity and using the last batch's submission time for coverage.

Publication validation requires consistent publication and attempt identifiers, unique batch membership, the exact reviewed head and captured trigger window, and an explicit actionable-comment count matching the attached root comments. Owned comments must retain valid original timestamps, review ownership, and original commit identity. Multiple eligible complete publications, missing ownership/count evidence, and conflicting identities fail closed. Summary-only outside-diff and duplicate findings remain separate evidence.

For an older completed but unfinalized partial native capture, sync can add the missing batch evidence and findings to its existing run. The original archives, import payload, decisions, source head, and round/quota identities remain intact. Recovered findings stay unresolved until adjudicated. Supplemental evidence and a recovery receipt are retained; changed findings and finalized partial runs are refused. Unmarked completed legacy results retain their existing replay behavior.

Compatibility and operational limits:

  • Controller SQLite schema remains 1, review-record schema remains 9, and writer build remains 8; no schema migration or writer promotion is introduced.
  • This PR changes source only. Installed controller/site tooling, review queue configuration, provider requests, and live capture recovery are separate operations.
  • Live recovery of the missing PR Account source-currentness storage and exact writer fencing #3134 finding is not established by the local regression fixtures.
  • The commissioned fresh independent Sol Medium whole-patch assessment completed with no actionable findings against the same frozen patch. This assessment and local proof do not establish installed recovery or merge readiness.

Validation:

  • Compilation of the six changed Python files passed.
  • Ruff validation of the six changed Python files passed.
  • bash dev-tools/tests/pr-review-controller-contract.sh passed.
  • Consolidated python3 -m unittest discover -s dev-tools/validation -p 'test_pr_review_*.py' passed: 1,345 tests, 34.187 seconds of reported test time (38.05 seconds elapsed).
  • Canonical Markdown lint and link checks are deferred to GitHub CI; they have not run locally. No application/service Gradle or runtime smoke proof was required for this controller-only change.

@coderabbitai

coderabbitai Bot commented Oct 9, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Configuration used: Repository YAML (base), Organization UI (inherited)
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: ddde7f59-07c2-4c42-8069-55f63d4e0e2a

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

@github-actions

github-actions Bot commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

Smoke Summary

⏭️ Runtime smoke is not required

  • ✅ Changes detection: success
  • ✅ Smoke Gate: success
  • ⏭️ PR Full-Stack Smoke: skipped (run_smoke_full=false)

@github-actions

github-actions Bot commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

Static Analysis Summary

✅ Static analysis checks passed

  • ✅ CodeQL gate: success
  • ✅ License gate: success

CodeQL breakdown

  • ⏭️ CodeQL analysis (java): skipped
  • ⏭️ CodeQL analysis (javascript-typescript): skipped

@benhook1013
benhook1013 enabled auto-merge October 9, 2026 19:44
@github-actions

github-actions Bot commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

Security Summary

✅ Security checks passed or were intentionally skipped

  • ✅ Security gate: success
  • ✅ Trivy filesystem scan: success
  • ✅ Secret compliance validation: success

@github-actions

github-actions Bot commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

Validation Summary

✅ All validation checks passed

  • ✅ Validation gate: success
  • ✅ Buf generation: success
  • ✅ Dockerfile lint: success
  • ✅ ShellCheck: success
  • ✅ Python script validation: success
  • ✅ Dev tool contract checks: success
  • ⏭️ Dev Tools README contract: skipped
  • ✅ YAML lint: success
  • ✅ Metrics cardinality policy check: success
  • ✅ Flyway migration sanity checks: success
  • ✅ gRPC transport configuration sanity checks: success
  • ✅ GitHub workflow lint: success
  • ✅ Helm chart lint: success
  • ✅ Helm render validation: success
  • ✅ Helm transaction proof: success
  • ✅ Validate Documentation: success
  • ⏭️ Frontend checks: skipped
  • ⏭️ Service build/test matrix: skipped

Coverage reports and failure logs are available in the workflow artifacts.

@benhook1013
benhook1013 merged commit 8c9a1e6 into develop Oct 9, 2026
43 checks passed
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