Skip to content

fix(debug): wrap commands added after SetupDebug#43

Merged
leodido merged 1 commit into
mainfrom
codex/fix-recursively-wraprun-timing
Feb 15, 2026
Merged

fix(debug): wrap commands added after SetupDebug#43
leodido merged 1 commit into
mainfrom
codex/fix-recursively-wraprun-timing

Conversation

@leodido
Copy link
Copy Markdown
Owner

@leodido leodido commented Feb 15, 2026

Summary

  • fix SetupDebug(Exit=true) timing so commands added after setup are also wrapped
  • keep wrapping idempotent to avoid double wrapping when wrap logic runs more than once
  • add an integration regression test for late-added subcommands (Run and RunE)

Validation

  • GOCACHE=/tmp/go-build go test ./...
  • GOCACHE=/tmp/go-build go test -race ./...
@leodido leodido changed the title fix(debug): wrap commands added after SetupDebug fix(debug): wrap commands added after SetupDebug Feb 15, 2026
@leodido leodido self-assigned this Feb 15, 2026
@leodido leodido merged commit 7725780 into main Feb 15, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant