Skip to content

Broad-Side run ids collide within one millisecond #367

Description

@TheAmericanMaker

What

A Broad-Side run id is the millisecond ISO timestamp with : and . replaced (core/broadside/submit.ts:254); two submits in the same millisecond collide, persistBroadsideRun merges by id, and both share one output directory (mechanical 1.5). Only two processes can do it, so it is rare — and silent when it happens.

Fix

Append a short random suffix to the id (the lock token already does this), and refuse to create a run directory that exists.

Found by the 2026-09-15 self-audit (full-with-deep-audit on this repository at a159d6c, v0.25.0 + #353, ollama-cloud/deepseek-v4.1-flash); confirmed by reading before filing. Report and finding id in self-audit/2026-09-15-v0.25.0-full-with-deep-audit/REVIEW.md.

🤖 Generated with Claude Code

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingself-auditFiled from a CodeCartographer self-audit run

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions