Skip to content

Comments

chore: sync main into omni-java (batch 1/4)#1556

Merged
KRRT7 merged 85 commits intoomni-javafrom
sync-main-batch-1
Feb 20, 2026
Merged

chore: sync main into omni-java (batch 1/4)#1556
KRRT7 merged 85 commits intoomni-javafrom
sync-main-batch-1

Conversation

@KRRT7
Copy link
Collaborator

@KRRT7 KRRT7 commented Feb 20, 2026

Summary

Merge main up to PR #1387 (pyarrow-comparator) into omni-java — the first 17 PRs since divergence.

Includes:

  • JS fixes: XML parsing, monorepo support, vitest reporter, Jest 30 loop-runner, ESM paths
  • CI: Claude workflow improvements (Opus 4.6, mypy, sticky comments, auto-merge)
  • Python: kwargs fix, ignore-paths glob patterns, comparator fixes (weakref + PyArrow)
  • Version bumps, test additions

Conflicts resolved

  • function_optimizer.py — kept omni-java's _concolic_tests variable name (unused either way)
  • verification_utils.py — combined Java's package_name/class_name params with main's source_file_path param
  • version.py — took main's newer version string

Remaining batches

aseembits93 and others added 30 commits January 30, 2026 14:56
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
aseembits93 and others added 25 commits February 6, 2026 13:25
…hing-parent-dirs

Add test file pattern matching parent dirs related tests
fix: lower pytest-asyncio minimum version to 0.18.0 for roboflow/inference
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
wrapped functions default export support
feat: add PyArrow support to comparator
# Conflicts:
#	codeflash/optimization/function_optimizer.py
#	codeflash/verification/verification_utils.py
#	codeflash/version.py
@github-actions github-actions bot added the workflow-modified This PR modifies GitHub Actions workflows label Feb 20, 2026
@KRRT7 KRRT7 merged commit f4254fe into omni-java Feb 20, 2026
16 of 31 checks passed
@KRRT7 KRRT7 deleted the sync-main-batch-1 branch February 20, 2026 01:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

workflow-modified This PR modifies GitHub Actions workflows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants