Skip to content

Before-tool hook runs out of time #65

Open

Description

@ancongui

One of devkit's hooks ran past the time limit the agent gives it, and the agent stopped it, so what the hook does for that event was skipped.

  • Status: Open. Not triaged yet.
  • Impact: Minor: 1 person saw it, and none was stopped.
  • How often: 1 person in the last 30 days, on 1 day. First seen 2026-11-21, last seen 2026-11-21.
  • Versions: seen on 26.11.27.
  • Workaround: None known yet.

How to reproduce

Start an agent session in which this hook event fires; the bug shows when the hook runs past the time limit in the agent's hook settings.

  • Hook event: pre-tool
  • devkit's stack, innermost first: hooks.pre_tool
  • First report: macOS 27, Python 3.15, a release install, devkit 26.11.27

If you hit this bug

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

  • dev bug show 1e77679eff55 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 1e77679eff55 records a workaround you found. devkit checks its evidence before it reaches anyone else.

For maintainers

  • Fingerprint 1e77679eff55, kind hook, component hooks, score 0.5 (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":"","devkit_bug":1,"duration":"","event":"pre-tool","exc_class":"","exit":null,"fingerprint":"1e77679eff55","frames":["hooks.pre_tool"],"impact":"minor","kind":"hook","macos":"27","python":"3.15","refusal_id":"","surface":"","type":"report","version":"26.11.27","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. github-actions commented on Nov 21, 2026

    @github-actions

    Bug 1e77679eff55 · hook · hooks · 1 person · score 0.5 · 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":"hooks","days_seen":1,"detours":[],"devkit_bug":1,"fingerprint":"1e77679eff55","first":{"agent":"","channel":"release","command":"","devkit_bug":1,"duration":"","event":"pre-tool","exc_class":"","exit":null,"fingerprint":"1e77679eff55","frames":["hooks.pre_tool"],"impact":"minor","kind":"hook","macos":"27","python":"3.15","refusal_id":"","surface":"","type":"report","version":"26.11.27","word":""},"first_version":"26.11.27","fixed_in":"","folds":{"by":{"39bf655d19124fe4735b5521250da45ba65dca82315d8e8a28dbcc8c4c9777ba":1},"day":"2026-11-21"},"impacts":{"blocked":0,"detoured":0,"minor":1},"kind":"hook","last_day":"2026-11-21","last_seen":1795219200.0,"report":{"event":"pre-tool","frames":["hooks.pre_tool"]},"score":0.45,"seen":0,"status":"open","title":"Before-tool hook runs out of time","versions":["26.11.27"],"voter_hash":"bug","voters":{"39bf655d19124fe4735b5521250da45ba65dca82315d8e8a28dbcc8c4c9777ba":{"impact":"minor","ts":1795219200.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