Commit graph

24 commits

Author SHA1 Message Date
Mohamed Ashraf
bc7a5bf4bb fix: output structured XML errors in subagent mode
When codeflash runs with --subagent (e.g., via the Claude Code plugin),
exit_with_message() now outputs <codeflash-error> XML to stdout instead
of Rich panel text. This lets the calling agent parse errors
programmatically rather than receiving unstructured text.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-17 18:48:17 +00:00
Kevin Turcios
eceac13fc3 Merge remote-tracking branch 'origin/main' into omni-java
# Conflicts:
#	.claude/rules/architecture.md
#	.claude/rules/code-style.md
#	.github/workflows/claude.yml
#	.github/workflows/duplicate-code-detector.yml
#	codeflash/api/aiservice.py
#	codeflash/cli_cmds/console.py
#	codeflash/cli_cmds/logging_config.py
#	codeflash/code_utils/deduplicate_code.py
#	codeflash/discovery/discover_unit_tests.py
#	codeflash/languages/base.py
#	codeflash/languages/code_replacer.py
#	codeflash/languages/javascript/mocha_runner.py
#	codeflash/languages/javascript/support.py
#	codeflash/languages/python/support.py
#	codeflash/optimization/function_optimizer.py
#	codeflash/verification/parse_test_output.py
#	codeflash/verification/verification_utils.py
#	codeflash/verification/verifier.py
#	packages/codeflash/package-lock.json
#	packages/codeflash/package.json
#	tests/languages/javascript/test_support_dispatch.py
#	tests/test_codeflash_capture.py
#	tests/test_languages/test_javascript_test_runner.py
#	tests/test_multi_file_code_replacement.py
2026-03-04 01:52:32 -05:00
Kevin Turcios
9431952ca2 refactor: move static_analysis, concolic_utils, coverage_utils to languages/python/static_analysis/ 2026-02-19 03:16:51 -05:00
misrasaurabh1
198487bf81 format and lint all 2026-01-29 01:39:48 -08:00
Kevin Turcios
33437d39e3
use pytest as the execution engine for all tests (#951)
* first pass

restore

restore this too

Revert "first pass"

This reverts commit b507770b2c79cc948b33222d8877fb784bfe108a.

* continue

* Update uv.lock

* refresh lockfile

* bugfix

* temp

* fix these

* pytest changes

* formatting

* set up test env properly here too

* ruff

* make ruff happy

* Update e2e-bubblesort-unittest.yaml

* with pytest

* bugfix

* oops
2025-12-06 22:40:25 -06:00
ali
c7941e9060
generate the mock test context correctly 2025-10-08 02:15:29 +03:00
Kevin Turcios
f978a406bb Merge branch 'main' into part-1-windows-fixes 2025-09-29 14:46:25 -07:00
Kevin Turcios
2c504ee0ba path_belongs_to_site_packages code review adjust 2025-09-28 03:33:58 -07:00
Kevin Turcios
3c4573e22a Merge branch 'main' into part-1-windows-fixes 2025-09-27 21:02:06 -07:00
Kevin Turcios
c6c9d9559f few missing things 2025-09-26 16:25:28 -07:00
mohammed
c595a7a548
getting worktree to work in both lsp and normal cli mode 2025-08-10 06:18:44 +03:00
Kevin Turcios
16d21e7464 reinsert 2025-07-29 23:49:22 -07:00
Kevin Turcios
f1dc490115 Update test_code_utils.py 2025-02-28 16:08:40 -08:00
Kevin Turcios
9095ca51de update tests 2025-02-26 18:36:46 -08:00
Kevin Turcios
b79db7741f cleanup 2025-02-25 15:21:39 -08:00
Kevin Turcios
c6c6fffc26 first pass 2025-02-21 00:35:39 -08:00
Kevin Turcios
dae5495b93 no subprocess for coverage parsing 2025-01-20 08:28:17 -05:00
Kevin Turcios
1e47fd5d36 move to coverage_critic
add tests & fix typing
add tests to the critic
we don't support unittest yet.
2025-01-07 00:28:00 -05:00
Saurabh Misra
fd57bf7901 formatting 2024-10-29 20:02:39 -07:00
Saurabh Misra
b8e17c7d27 Fix failures for running tests with Classes within Pytest 2024-10-27 19:17:31 -07:00
Saurabh Misra
d455cdee1a Ruff reformat and fix all the python files
Set minimum libcst version to be 1.0.1
move the stub files to dev dependencies
2024-10-25 15:45:44 -07:00
Kevin Turcios
87bfc79f39 ruff's
ruff format
ruff run
2024-10-12 19:43:48 -05:00
Kevin Turcios
fae10f6c9c round three 2024-10-12 19:40:07 -05:00
Kevin Turcios
5cd94cdf64 round 1 2024-10-12 17:29:15 -05:00