grokkit/cmd
Greg Gauthier d377e6b345
All checks were successful
CI / Test (push) Successful in 41s
CI / Lint (push) Successful in 27s
CI / Build (push) Successful in 21s
test: add tests for recipe package and disable parallelism in cmd tests
- Introduce new test suite in internal/recipe/recipe_test.go covering recipe loading, parameter overrides, safety checks, work dir resolution, file discovery, and unified patch creation.
- Remove t.Parallel() from tests in cmd/changelog_test.go, cmd/root_test.go, and cmd/scaffold_test.go that modify global state (e.g., os.Args, HOME, or use os.Chdir()) to avoid race conditions and ensure test isolation.
2026-03-08 12:53:01 +00:00
..
agent_test.go chore(build): add Makefile and tests for commands and utilities 2026-03-01 00:24:48 +00:00
agent.go chore(lint): enhance golangci configuration and add security annotations 2026-03-04 20:00:32 +00:00
changelog_test.go test: add tests for recipe package and disable parallelism in cmd tests 2026-03-08 12:53:01 +00:00
changelog.go chore(lint): enhance golangci configuration and add security annotations 2026-03-04 20:00:32 +00:00
chat_test.go chore(lint): enhance golangci configuration and add security annotations 2026-03-04 20:00:32 +00:00
chat.go chore(lint): enhance golangci configuration and add security annotations 2026-03-04 20:00:32 +00:00
client.go refactor(cmd): extract run funcs and add injectable deps for testability 2026-03-02 20:47:16 +00:00
commit_test.go feat(cmd): add AI documentation generation and command tests 2026-03-02 20:13:50 +00:00
commit.go chore(lint): enhance golangci configuration and add security annotations 2026-03-04 20:00:32 +00:00
commitmsg.go refactor(cmd): extract run funcs and add injectable deps for testability 2026-03-02 20:47:16 +00:00
completion_test.go test(cmd): improve error handling in completion test writer close 2026-03-02 22:19:47 +00:00
completion.go chore(lint): enhance golangci configuration and add security annotations 2026-03-04 20:00:32 +00:00
docs_test.go refactor(tests): improve error handling and defer usage 2026-03-02 21:33:11 +00:00
docs.go chore(lint): enhance golangci configuration and add security annotations 2026-03-04 20:00:32 +00:00
edit_helper_test.go test: add unit tests for chat history, edit helper, and code cleaning 2026-03-01 12:44:20 +00:00
edit_test.go chore(lint): enhance golangci configuration and add security annotations 2026-03-04 20:00:32 +00:00
edit.go chore(lint): enhance golangci configuration and add security annotations 2026-03-04 20:00:32 +00:00
history_test.go feat(cmd): add AI documentation generation and command tests 2026-03-02 20:13:50 +00:00
history.go chore(lint): enhance golangci configuration and add security annotations 2026-03-04 20:00:32 +00:00
lint_test.go feat(cmd): add AI documentation generation and command tests 2026-03-02 20:13:50 +00:00
lint.go chore(lint): enhance golangci configuration and add security annotations 2026-03-04 20:00:32 +00:00
prdescribe_test.go feat(cmd): add AI documentation generation and command tests 2026-03-02 20:13:50 +00:00
prdescribe.go chore(lint): enhance golangci configuration and add security annotations 2026-03-04 20:00:32 +00:00
query.go refactor(cmd): remove root command addition from query init 2026-03-07 21:17:10 +00:00
recipe.go refactor(cmd): improve boolean param handling and refine project root detection 2026-03-06 23:42:56 +00:00
review_test.go feat(cmd): add AI documentation generation and command tests 2026-03-02 20:13:50 +00:00
review.go chore(lint): enhance golangci configuration and add security annotations 2026-03-04 20:00:32 +00:00
root_test.go test: add tests for recipe package and disable parallelism in cmd tests 2026-03-08 12:53:01 +00:00
root.go feat(cmd): add query command for one-shot technical questions 2026-03-04 15:39:41 +00:00
run_test.go feat(prdescribe): add configurable base branch flag 2026-03-04 18:11:28 +00:00
scaffold_test.go test: add tests for recipe package and disable parallelism in cmd tests 2026-03-08 12:53:01 +00:00
scaffold.go chore(lint): enhance golangci configuration and add security annotations 2026-03-04 20:00:32 +00:00
testgen_test.go chore(lint): enhance golangci configuration and add security annotations 2026-03-04 20:00:32 +00:00
testgen.go fix(testgen): distinguish between C and C++ based on file extension 2026-03-06 14:36:49 +00:00