Skip to content

dev sec crashes with TypeError #53

Open

Description

@ancongui

dev sec stopped with an error devkit does not handle (TypeError). devkit printed a short notice instead of a traceback and exited with code 70.

  • Status: Open. Not triaged yet.
  • Impact: Blocks work for everyone who hit it (1 person).
  • How often: 1 person in the last 30 days, on 2 days. First seen 2026-11-18, last seen 2026-11-20.
  • Versions: seen on 26.11.21 and 26.11.25.
  • Workaround: None confirmed yet; 1 proposed workaround waits for review.

How to reproduce

Run dev sec.

  • Command: dev sec
  • Error: TypeError
  • devkit's stack, innermost first: cli.cmd_sec, cli.main
  • First report: macOS 27, Python 3.15, a release install, devkit 26.11.21

If you hit this bug

This is a bug in devkit, not in your project. In a terminal:

  • dev bug show eace6f2c4e4d shows this bug and its workarounds.
  • Safe failure metadata is reported automatically. dev status shows delivery state; no manual submission is required.
  • dev bug detour eace6f2c4e4d records a workaround you found. devkit checks its evidence before it reaches anyone else.

For maintainers

  • Fingerprint eace6f2c4e4d, kind crash, component sec, score 3.0 (dev bug top ranks it).
  • The workflow's record of this bug is the newest comment its bot wrote with the record data. This text is written from it.
Report data for devkit's registry (do not edit)
{"agent":"","channel":"release","command":"sec","devkit_bug":1,"duration":"","event":"","exc_class":"TypeError","exit":null,"fingerprint":"eace6f2c4e4d","frames":["cli.cmd_sec","cli.main"],"impact":"blocked","kind":"crash","macos":"27","python":"3.15","refusal_id":"","surface":"","type":"report","version":"26.11.21","word":""}

devkit's registry workflow writes this text from the reports and rewrites it after each report, vote, or release. Write in a comment instead. How the registry works: the bug registry.

Activity

  1. ancongui commented on Nov 18, 2026

    @ancongui
    CollaboratorAuthor

    Workaround proposed for devkit 26.11.21 and later: Run dev sec scan with no query from inside the checkout, since a query that names no registered project crashes. The registry decides how far it is trusted; see the issue text.

    Data for devkit's registry (do not edit)
    {"devkit_bug":1,"evidence":{"attempts":21,"failures":2,"successes":2,"tools":["Bash"]},"fingerprint":"eace6f2c4e4d","impact":"detoured","steps":[{"text":"Run dev sec scan with no query from inside the checkout, since a query that names no registered project crashes"}],"type":"detour","version":"26.11.21"}
  2. ancongui commented on Nov 20, 2026

    @ancongui
    CollaboratorAuthor

    devkit report · blocked · devkit 26.11.25 · macOS 27

    Data for devkit's registry (do not edit)
    {"agent":"","channel":"release","command":"sec","devkit_bug":1,"duration":"","event":"","exc_class":"TypeError","exit":null,"fingerprint":"eace6f2c4e4d","frames":["cli.cmd_sec","cli.main"],"impact":"blocked","kind":"crash","macos":"27","python":"3.15","refusal_id":"","surface":"","type":"report","version":"26.11.25","word":""}
  3. github-actions commented on Nov 20, 2026

    @github-actions

    Bug eace6f2c4e4d · crash · sec · 1 person · score 3.0 · open

    The registry's record of this bug: the data the issue text is written from. devkit reads only this comment.

    Record data (written by the workflow; do not edit)
    {"component":"sec","days_seen":2,"detours":[{"author_assoc":"MEMBER","author_hash":"c3c0fba9613059f3fc3e710dbf5a5e6ffd663ce996a18f25e3331315fc401a60","author_kind":"member","confirmations":[],"evidence":{"attempts":21,"failures":2,"successes":2,"tools":["Bash"]},"failures":[],"flagged":false,"id":"d1","since":"26.11.21","steps":[{"text":"Run dev sec scan with no query from inside the checkout, since a query that names no registered project crashes"}],"trust":"proposed","ts":1795042595.7511961,"until":""}],"devkit_bug":1,"fingerprint":"eace6f2c4e4d","first":{"agent":"","channel":"release","command":"sec","devkit_bug":1,"duration":"","event":"","exc_class":"TypeError","exit":null,"fingerprint":"eace6f2c4e4d","frames":["cli.cmd_sec","cli.main"],"impact":"blocked","kind":"crash","macos":"27","python":"3.15","refusal_id":"","surface":"","type":"report","version":"26.11.21","word":""},"first_version":"26.11.21","fixed_in":"","folds":{"by":{"c3c0fba9613059f3fc3e710dbf5a5e6ffd663ce996a18f25e3331315fc401a60":1},"day":"2026-11-20"},"impacts":{"blocked":1,"detoured":0,"minor":0},"kind":"crash","last_day":"2026-11-20","last_seen":1795132800.0,"report":{"command":"sec","exc_class":"TypeError","frames":["cli.cmd_sec","cli.main"]},"score":3.0,"seen":7031593697,"status":"open","title":"dev sec crashes with TypeError","versions":["26.11.21","26.11.25"],"voter_hash":"bug","voters":{"c3c0fba9613059f3fc3e710dbf5a5e6ffd663ce996a18f25e3331315fc401a60":{"impact":"blocked","ts":1795132800.0}}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions