ci: retain matching Tab5 build symbols - #41
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. Reviewed September 12, 2026, 1:12 AM ET / 05:12 UTC (Revision 7). ClawSweeper reviewWhat this changesThe CI workflow retains Tab5 debugging symbols and a linker map in a separate build-specific artifact with matching firmware metadata and checksums. Merge readiness✅ Ready for maintainer review Ready for normal landing review: the change remains absent from main, the recorded artifact proof supports its purpose, and no actionable defect remains. The previous draft-state blocker is resolved. Priority: P3 Review scores
Verification
How this fits togetherThis repository builds firmware for ESP32 devices that connect to OpenClaw. Its CI packaging pipeline turns compiled Tab5 outputs into downloadable firmware and matching diagnostic artifacts for investigating crashes. flowchart LR
A[Tab5 source] --> B[ESP-IDF build]
B --> C[Firmware bundle]
B --> D[ELF and linker map]
C --> E[Validate and copy matching metadata]
D --> E
E --> F[Checksummed symbols artifact]
F --> G[Crash investigation]
Before mergeNone. Agent review detailsSecurityNone. Review metrics
Technical reviewBest possible solution: Retain matching symbols alongside each Tab5 CI firmware build, preserving the existing flash bundle and the accepted merge-commit landing strategy. Do we have a high-confidence way to reproduce the issue? Not applicable as a runtime bug reproduction: current main visibly omits symbol artifacts, and the hosted run demonstrates the requested retention behavior. Is this the best way to solve the issue? Yes. Copying the exact build outputs into a separate checksummed artifact is a narrow solution that avoids rebuilding symbols or altering flash bundles. AGENTS.md: not found in the target repository. Codex review notes: model internal, reasoning medium; reviewed against ab90dc52cff4. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (6 earlier review cycles)
|
Problem
The normal Tab5 build produces an application ELF and linker map, but the firmware artifact does not retain them. Without the exact matching ELF, a captured crash cannot be reliably attributed using symbols from a later rebuild.
Stacked on #40. This adds diagnostic capability, not a crash fix.
Changes
Original Checks
git diff --checkpassed.7655de8dcafeccf6fade022ac781c34dd81f904c, including Tab5 symbol staging and upload.0x2000,0x8000,0x10000, and0x810000.f9035f6d25235c6ea5c00919199e4fbda142c156has the expected PR/base parents and the same tree as the PR head.d1273c140762b51c4cba5cde1df7e927388402941d31bd9e510e9da76ba1cc2a.Validation Limits
The manifest records SDK commit
362a1776ec212788fda95f75b733bfdde3a0c394, build revisionv5.5.5-648-g362a1776ec2, and esptool4.12.0. The SDK image remains a moving selector, not pristine ESP-IDF 5.5.5. These are symbols for this new build, not recovered symbols for an earlier image.No firmware was flashed and no USB-JTAG capture was performed for this PR. This unpatched build is not the next hardware candidate; the separately scoped SPM compatibility change is tracked in #42.
Landing Preparation
Signed head
1d1c83af134b16824cbbeec940f834419c1e51baretains the originalsymbol commits and incorporates the reviewed predecessor
905aa25ebca4cbfeaf01541b2ef0452ac138205d. Its complete tree is exactly thatpredecessor plus the original symbol-retention delta. No new build or
packaging behavior was introduced. All five builds passed in
exact-head CI run 34506028271;
the downloaded artifact evidence above identifies the earlier build, not
this prepared head.
Maintainer disposition on September 12, 2026: land this independently verified
symbol-retention change with a merge commit, retaining the original signed
objects. The existing artifact and exact-head CI evidence are accepted; this
does not qualify voice or add new hardware evidence.