Skip to content
Prompt & SolderHow to Ask Claude
All builds
RRNo photo
Worked Proof shown

Openpilot's disappearing logs and oversized-record crash fixed

A contributor used Claude Code to repair log rotation that deleted recent files and logging records that could crash openpilot's logging process.

—

Credits

  • Source byline PeterPhuTran Source ↗

Earliest dated source: 10 Jul 2026

The full story

One change corrects inconsistent file ordering that caused log rotation after a restart to remove the newest existing logs. Another rejects records that exceed the message queue's actual capacity instead of allowing the logging daemon to abort.

The contributor supplies reproductions and regression checks, including a device test of the oversized-record failure. Claude helped repair the existing logging bugs; the sources do not say it created them.

How it was done

Tools

Themes

Loading themes…

Sources

From the maker's own write-up or code. We summarise what they report; we haven't tested it ourselves.

  • comma.ai openpilot: swaglog: delete oldest logs on rollover, not newestCode or repositorygithub.com
    Source byline: PeterPhuTranPublished 10 Jul 2026

    The contributor’s pull request, including its AI disclosure and test notes.

  • comma.ai openpilot: logmessaged: drop records too big for the msgq queue instead of dyingCode or repositorygithub.com
    Source byline: PeterPhuTranPublished 10 Jul 2026

    A related contribution with implementation and verification details.

  • comma.ai openpilot: logging_extra: dispatch events on the flag value, not its presenceCode or repositorygithub.com
    Source byline: PeterPhuTranPublished 15 Sept 2026

    A related contribution with implementation and verification details.

Related builds

Finding related builds…

Prompt & Solder

An independent community project. Not affiliated with Anthropic.

What this is. Real projects where people used Claude to build, fix, port, revive or take apart something, from jailbroken Kindles to rebuilt DOS games, plus the times it went badly wrong. Every build links to where it was shared, and every source is listed here.

How far to trust it. We summarise what people reported and say what each build rests on: a full write-up with code, a short post, or a passing comment. We haven't tested them ourselves. Photos are shown from the original sources with credit. Only modify hardware you own, and back up first.

Privacy. No accounts. Analytics cookies (Google Analytics) only if you accept them; no ads or cross-site tracking. Searches are counted anonymously (just the words) to show what's popular, and so are clicks on Ask Claude (just the count).

How toEvery sourceStatsSubmit a buildRSS