8000 [options_types] TODO-gated panic on reachable path · Issue #46 · dominikake/bun · GitHub
[go: up one dir, main page]

Skip to content

[options_types] TODO-gated panic on reachable path #46

Open

Description

@dominikake

File

src/options_types/CompileTarget.zig:490 (zig-legacy permalink)

Pattern

todo-panic × 1 candidate(s) in area/options_types.

Matched snippet(s):

src/options_types/CompileTarget.zig:490: else => @panic("TODO"),

Upstream relevance

  • not found — searched oven-sh/bun issues for options_types todo-panic; no verified applicable match (re-check with gh search issues --repo oven-sh/bun "<keywords>" before closing as fork-specific).

Repro

rg -n "TODO|FIXME|unimplemented|throwTODO|todo_stuff|@compileError" src/options_types/CompileTarget.zig | head
vendor/zig/zig build check 2>&1 | head -30

Expected: path is implemented or explicitly gated with a tracked issue. Actual: hard-stop marker (@compileError / @panic(TODO) / throwTODO / stub) on a reachable path.

Suggested next step

Implement the stub / replace the hard stop with a propagated error + test in the mapped test/js/... suite per AGENTS.md (or gate the platform explicitly and keep this issue as the tracker).

Harvest metadata

  • commit: 8ceabb0958
  • pattern: todo-panic
  • candidate-ids: src/options_types/CompileTarget.zig:490
  • generated-by: bun-zig-triage (harvest.sh + dedupe.py)

Activity

  1. added
    bun-zigFork backlog (Zig continuation)
    area/sysSystem / platform layer
    kind/missing-implMissing implementation (stub/TODO)
    priority/p2Real gap with workaround
    on Sep 6, 2026
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

    area/sysSystem / platform layerbun-zigFork backlog (Zig continuation)kind/missing-implMissing implementation (stub/TODO)priority/p2Real gap with workaround

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0