Skip to content

[codex] Add gig dump debug command - #5

Merged
t04dJ14n9 merged 1 commit into
mainfrom
codex/cmd-gig-debug-dump
Jun 12, 2026
Merged

t04dJ14n9 merged 1 commit into
mainfrom
codex/cmd-gig-debug-dump

Conversation

@t04dJ14n9

Copy link
Copy Markdown
Owner

What changed

This PR adds the CLI/debugging surface separately from the correctness fixes and excludes the readability refactor.

  • Adds gig.DebugDump, which emits readable SSA and bytecode without running init functions.
  • Adds gig dump <file|-> with tests for file and stdin input.
  • Removes obsolete duplicate root-level cmd/gig files now superseded by commands, repl, and pluginmgr packages.
  • Adds a small nested cmd/gig lint config and low-risk lint fixes needed for the CLI module to pass CI.

Validation

  • go test -count=1 ./...
  • (cd cmd/gig && go test -count=1 ./...)
  • go run github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.4.0 run --timeout=5m
  • (cd cmd/gig && go run github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.4.0 run --timeout=5m)

@t04dJ14n9
t04dJ14n9 marked this pull request as ready for review June 12, 2026 13:13
@t04dJ14n9
t04dJ14n9 merged commit bd0c936 into main Jun 12, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant