chore: sync main into omni-java (batch 1/4)#1556
Merged
Conversation
Adds two regression tests to verify that source files are not incorrectly filtered when the project is located inside a folder named "tests": 1. test_filter_functions_project_inside_tests_folder - Tests basic scenario: /home/user/tests/myproject/ - Verifies source files in src/ and project root are kept - Verifies actual test files in test/ directory are filtered 2. test_filter_functions_typescript_project_in_tests_folder - Tests TypeScript monorepo scenario: /home/user/tests/n8n/packages/ - Simulates the n8n project structure that exposed this bug - Verifies deep nested source files are kept - Verifies test files in test/ directories are filtered These tests ensure the fix works correctly by checking that directory pattern matching (e.g., /tests/) only applies to paths relative to project_root, not to the full absolute path. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
ignore extra kwargs for Review and Staging (CF-1048, CF-1049)
The verify_requirements() method only checked for test frameworks (jest/vitest) in the local package's node_modules. In monorepos with workspace hoisting (yarn/pnpm), dependencies are often installed at the workspace root instead. Changes: - Check both local node_modules and workspace root node_modules - Use _find_monorepo_root() to locate workspace root - Add debug logging for framework resolution - Update docstring to document monorepo support Fixes false positive "jest is not installed" warnings in monorepo projects where jest is hoisted to the workspace root. Tested with Budibase monorepo where jest is at workspace root.
…efactor xml parsing fix and refactor to support directory
- Add find_node_modules_with_package() to init_javascript.py - Uses same tree-search pattern as determine_js_package_manager() - Simplify verify_requirements() to use the new helper - Reduces code duplication and centralizes monorepo logic Benefits: - Consistent monorepo support across codebase - Single source of truth for finding node_modules - Easier to maintain and test - Works alongside determine_js_package_manager() pattern
- Remove instruction to use gh pr comment for summaries - Add STEP 4 with explicit single-comment policy - Include instructions to update existing comments - Add cleanup step to delete duplicate comments
Replace outdated pre-commit terminology with prek across documentation and CI workflow.
Claude will now run mypy on changed files and fix type annotation issues.
feat(ci): improve Claude PR review workflow
feat(ci): auto-merge codeflash optimization PRs
…po-support fix: support monorepo hoisted dependencies in JS requirements check
…tput_format vitest dot notation for junit reporter
…hing-parent-dirs Add test file pattern matching parent dirs related tests
ESM config compatibility for vitest
fix: lower pytest-asyncio minimum version to 0.18.0 for roboflow/inference
Install cli post cloning in npm
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
wrapped functions default export support
Comparator fix for `weakref`
feat: add PyArrow support to comparator
# Conflicts: # codeflash/optimization/function_optimizer.py # codeflash/verification/verification_utils.py # codeflash/version.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Merge main up to PR #1387 (pyarrow-comparator) into omni-java — the first 17 PRs since divergence.
Includes:
Conflicts resolved
function_optimizer.py— kept omni-java's_concolic_testsvariable name (unused either way)verification_utils.py— combined Java'spackage_name/class_nameparams with main'ssource_file_pathparamversion.py— took main's newer version stringRemaining batches