Repository navigation
fix: native diagram notices identify the wrong Pele version - #189998
Conversation
Keep redistributed notices aligned with the installed Pele and DOMPurify pins without changing dependencies or license terms. Co-authored-by: vincentkoc <[email protected]>
|
🦞👀 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 changesCorrects the shared Pele notice from 1.6.0 to 1.9.0 and checks redistributed dependency headings against package pins. Example: A native renderer bundle includes Pele 1.9.0.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review This PR corrects a verified attribution mismatch still present on main, with no actionable code findings; a failing UI check remains unqualified. Priority: P3 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe shared renderer build packages pinned dependencies and copies the canonical notice into generated assets consumed by Android and Apple; browser builds also emit that notice. flowchart LR
A[Dependency pins] --> B[Shared renderer build]
C[Canonical notice] --> B
B --> D[Android assets]
B --> E[Apple resources]
C --> F[Browser notice]
Technical reviewBest possible solution: Keep the one-line correction in the existing canonical notice and retain the focused parity regression. Do we have a high-confidence way to reproduce the issue? Current-main source directly establishes the 1.9.0 package pin and stale 1.6.0 notice copied by the native build; no execution was performed during this review. Is this the best way to solve the issue? The patch repairs the authoritative notice rather than adding packaging-specific copies, and its independent package-to-notice assertion catches the demonstrated mismatch. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against e7fdb9b17701. Provenance checked
TestingProof path: unit tests only. SecurityNone. EvidenceWhat I checked:
PR surfaceSource 0, Tests +11, Other +2. Total +13 across 3 files. 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 October 31, 2026, 11:10 PM ET / November 1, 2026, 03:10 UTC. |
|
Merged via explicitly authorized admin squash with attributed pre-existing CI failures.
|
…#189998) Keep redistributed notices aligned with the installed Pele and DOMPurify pins without changing dependencies or license terms. Co-authored-by: vincentkoc <[email protected]>
What Problem This Solves
Fixes native diagram bundles identifying Pele as 1.6.0 even though they ship 1.9.0.
User Impact
Accurate third-party version attribution in Android and Apple renderer resources. No rendering, dependency, permission, or license-term changes.
Why This Change Was Made
Correct the canonical notice used by both native packaging paths and guard its Pele/DOMPurify headings against the package pins. No new production machinery: one notice line changes, with an 11-line regression allocation.
Evidence
Real renderer build and Apple resource preparation reproduced the stale heading before the fix.
Version-parity regression failed on the old notice; final focused suite passes 3/3, independently rerun by the parent with the repository-owned runner.
Native asset and Apple cache suites: 9/9 passed. Real renderer build and Apple preparation/cache-hit checks passed; shared and Apple resources match byte-for-byte.
Installed Pele MIT + Lucide ISC text matches redistributed notices; license text is unchanged.
Focused lint, strict single-file typecheck, format, and whitespace checks passed. Fresh isolated Codex P0–P3 autoreview: scoped-clean.
No Android device/SDK or Apple execution toolchain was available. This is packaging proof, not current-head native visual/runtime acceptance. No leases or native CI dispatches/reruns.
Exact-head CI run 41267056700, attempt 1 failed the unrelated checks-ui-e2e (5/7) normal-chat sidebar deletion assertion (sidebar-deletion-invalidation.e2e.test.ts:222: 3 snapshot writes, expected at most 1). Lead and independent source review found the complete UI, E2E configuration, workflow, dependencies, and runtime inputs unchanged from tested base d1b6e30; the changed notice emits standalone text, and the tooling assertion/allocation do not enter this IndexedDB path. This is source-derived unrelatedness, not baseline reproduction or root-cause repair; CI remains failed. The initial classifier called it new because the matching main job passed without comparing selected scope. No CI rerun or repush.
Credit
Requested by @vincentkoc; Vincent Koc is credited in the commit.
Work sessions