Repository navigation
fix(ci): remove unused PostgreSQL fingerprint export - #192929
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. What this changesThis PR makes the PostgreSQL schema fingerprint helper private while preserving its four internal callers. Example: Run the unused-export check against postgres-schema.ts.
Review scores
ProductKind: Maintenance · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this maintainer-authored PR makes a useful, minimal CI repair that current main still needs; no actionable patch defects were found. Priority: P3 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe PostgreSQL schema owner converts catalog facts into fingerprints used during schema sealing and admission; the export guard checks which module exports have consumers. flowchart LR
A[PostgreSQL catalog facts] --> B[Schema owner]
B --> C[Private fingerprint helper]
C --> D[Schema seal and admission]
E[Unused export guard] --> B
Technical reviewBest possible solution: Keep the fingerprint private and retain the existing export guard without adding tests or changing database behavior. Do we have a high-confidence way to reproduce the issue? Source confirms an exported helper with only internal callers and a zero-unused-export guard; the PR reports before/after scanner results, which were not rerun during this read-only review. Is this the best way to solve the issue? Removing the single export keyword restores the intended module boundary without changing fingerprint computation, admission checks, or the externally consumed schema hash. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against c9b26404f58f. Provenance checked
TestingProof path: none. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource 0. Total 0 across 1 file. Added test files: 0. View PR surface stats
LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed November 4, 2026, 1:01 PM ET / 18:01 UTC. |
|
Merged via explicitly authorized admin squash with attributed pre-existing CI failures.
|
What Problem This Solves
Dependency checks fail after PostgreSQL standby inspection exports a schema fingerprint helper that has no callers outside its module.
User Impact
Internal CI repair; no user-visible behavior, database schema, or stored-data change.
Why This Change Was Made
Keep
postgresSchemaFingerprintprivate. Its four existing callers remain in the same module, and the separately consumedpostgresSchemaHashstays exported.Related: #192645
Evidence
On base
3e114e23c33c55585bb6859bc695693749139f03,pnpm deadcode:exportsreports the PostgreSQL helper in both production and full-tree scans. With this one-keyword change, both findings disappear; the script scan passes.The aggregate export check still exits 1 solely for the unchanged
SKILL_WORKSHOP_PLUGIN_IDexport inui/src/pages/skill-workshop/plugin-availability.ts. No overall scanner pass is claimed.Targeted maintained lint, formatting,
pnpm tsgo:core, andgit diff --checkpass on an isolated physical macOS arm64 install with Node 24.22.1 and frozen dependencies. The proof checkout and committed source file match byte for byte.No new test duplicates the existing whole-repository export guard. Simplification pass: one keyword removed, one source line changed, zero test changes.
Fresh local ClawSweeper review completed on
3e114e23c33c55585bb6859bc695693749139f03..06c4498b35db1e178d00b414f7e473886f0187f0: no actionable correctness, compatibility, or security findings; confidence 0.99. The review verified the complete diff and source contracts without rerunning the reported checks.CI run 41880253379, attempt 1 is terminal. All three PostgreSQL conformance shards, scoped type/lint checks, and
security-fastpassed.checks-ui-e2e (1/2)failed; the CI aggregate reports that UI root failure.Tested merge
ca25a31a75bfe51a128dcb659f2cf03dcdc17da2has baselined4f79d57d59e179c6c4ea7b4271dbf435cedae1aand this exact PR head as its ordered parents. Its sole diff removes this export keyword; the complete UI tree and recorded test/workflow/dependency inputs are unchanged. Independent source-attribution audit found no causal path from this change to the UI failure. The failed UI raw log was unavailable; annotation-only discovery lists three creator tests and may omit cases. No baseline replay, exact failure-signature match, or overall CI success is claimed.