Mohamed Ashraf
f1521d7a2d
fix: resolve pre-existing mypy errors on files touched by this PR
...
The prek mypy hook runs on changed files and bypasses the pyproject.toml
tests/ exclude, surfacing pre-existing errors in both context.py and
test_context.py that block CI for this PR. Fixes applied:
- Import Language from language_enum instead of base (base re-exports are
not explicit; strict mypy flags attr-defined)
- Annotate _extract_class_declaration, _import_to_statement,
get_java_imported_type_skeletons, and resolved_imports
- Guard None start/end_line in _extract_function_source_by_lines and
find_helper_functions; guard None file_path in the import skeleton loop
- Drop unreachable `if not node: continue` in _extract_public_method_signatures
(JavaMethodNode.node is non-nullable)
- Add -> None to every test method and fix an `int | None` comparison in
test_context.py
All 880 Java tests pass after the change.
2026-04-28 15:40:02 +00:00
mashraf-222
e95f701ce3
Merge branch 'main' into cf-1085-cap-wildcard-import-expansion
2026-04-28 16:35:09 +03:00
Kevin Turcios
c455256bfb
chore: add ready-to-merge gate for branch freshness
2026-04-23 08:12:06 -05:00
Kevin Turcios
e214ff7d1e
Merge pull request #2117 from codeflash-ai/fix/tessl-app-token
...
fix: pass CI bot secrets to tessl update workflow
2026-04-23 08:04:52 -05:00
Kevin Turcios
7632ab671a
fix: pass CI bot secrets to tessl update workflow
2026-04-23 08:03:58 -05:00
Kevin Turcios
259742d012
Merge pull request #2116 from codeflash-ai/fix/tessl-caller-permissions
...
fix: add permissions to tessl update caller workflow
2026-04-23 07:50:38 -05:00
Kevin Turcios
a80c996982
fix: add permissions to tessl update caller workflow
2026-04-23 07:49:52 -05:00
Kevin Turcios
279ec47604
Merge pull request #2115 from codeflash-ai/chore/tessl-reusable-workflow
...
chore: use reusable tessl update workflow
2026-04-23 07:44:53 -05:00
Kevin Turcios
c172644987
chore: use reusable tessl update workflow
...
Replace inline workflow with thin caller to
codeflash-ai/github-workflows tessl-update.yml.
Move missing tiles list to .tessl/missing-tiles.txt.
2026-04-23 07:42:37 -05:00
Kevin Turcios
c35e026cf8
chore: initialize tessl with vendored tiles ( #2114 )
...
chore: initialize tessl with vendored tiles
2026-04-23 07:16:55 -05:00
Kevin Turcios
41bf1d2d63
chore: install 37 tessl doc tiles and add weekly update workflow
...
Vendor documentation tiles for project dependencies:
- Python (27): pytest, gitpython, libcst, jedi, tree-sitter, tomlkit,
attrs, requests, pydantic, humanize, posthog, click, inquirer,
sentry-sdk, parameterized, dill, rich, lxml, crosshair-tool,
coverage, platformdirs, pygls, filelock, memray, mypy, uv, pytest-cov
- JS/TS (6): jest, vitest, mocha, typescript, better-sqlite3, @babel/core
- Java (4): gson, jacoco-agent, junit-jupiter, @babel/preset-typescript
Add scheduled GitHub Action (weekly Monday 9am UTC) that updates
existing tiles, attempts to install 21 missing tiles, and auto-prunes
the list as they become available.
2026-04-23 07:14:42 -05:00
Kevin Turcios
0eb4422b64
chore: add recommended VS Code extensions
...
Ruff, Python, mypy, debugpy, Even Better TOML, EditorConfig, and
GitHub Copilot.
2026-04-23 07:11:34 -05:00
Kevin Turcios
7367c2ec97
chore: initialize tessl with vendored mode and MCP configs
...
Run tessl init to generate MCP configs for 5 agents (Claude Code,
Gemini CLI, Codex, GitHub Copilot CLI, GitHub Copilot for VS Code).
Track .mcp.json and .vscode/mcp.json for team sharing. Gitignore
.tessl/session-data/ and .playwright-mcp/.
2026-04-23 07:11:28 -05:00
Kevin Turcios
fc3792b704
Merge pull request #2113 from codeflash-ai/chore/setup-tessl
...
chore: rebuild .gitignore from GitHub templates
2026-04-23 06:38:16 -05:00
Kevin Turcios
d4e5381ee7
chore: add project-specific gitignore entries
2026-04-23 06:35:04 -05:00
Kevin Turcios
ff6070958b
chore: add GitHub gitignore templates for Python, Node, Java
2026-04-23 06:34:10 -05:00
Kevin Turcios
ae8522a12a
chore: delete .gitignore for clean rebuild
2026-04-23 06:33:05 -05:00
Kevin Turcios
8e38bca479
Merge pull request #2112 from codeflash-ai/chore/cleanup-tessl-gitignore
...
chore: clean up tessl gitignore entries
2026-04-23 06:28:24 -05:00
Kevin Turcios
cb8e11af09
chore: clean up tessl gitignore entries
...
Remove .mcp.json from git tracking (tessl-generated, already in
.gitignore). Stop ignoring tessl.json and .tessl/ so the next tessl
init can commit them properly (.tessl/.gitignore handles tiles
internally).
2026-04-23 06:27:27 -05:00
Kevin Turcios
7e7cbee8c1
Merge pull request #2111 from codeflash-ai/chore/remove-tessl-agent-config
...
chore: remove tessl-managed agent config
2026-04-23 06:17:41 -05:00
Kevin Turcios
e125aeb712
fix: skip linked issue check for collaborators and owners
...
AUTHOR_ASSOCIATION can be COLLABORATOR (repo-level access) or OWNER,
not just MEMBER (org-level). Accept all three.
2026-04-23 06:16:16 -05:00
Kevin Turcios
82df3d38de
chore: remove tessl.json
2026-04-23 06:14:49 -05:00
Kevin Turcios
3d7bb49b41
chore: remove tessl-managed agent config
...
Remove .codex/ and .gemini/ directories and the auto-generated tessl
section from CLAUDE.md.
2026-04-23 06:14:02 -05:00
Kevin Turcios
2054796acd
Merge pull request #2014 from codeflash-ai/feat/show-logo-on-help
...
feat: display logo when running `codeflash --help`
2026-04-23 06:11:12 -05:00
Aseem Saxena
db5b96a80c
Merge branch 'main' into feat/show-logo-on-help
2026-04-23 04:10:15 -07:00
Kevin Turcios
58c1bdf620
Merge pull request #2102 from codeflash-ai/dependabot/npm_and_yarn/packages/codeflash/better-sqlite3-12.9.0
...
chore(deps): bump better-sqlite3 from 12.6.2 to 12.9.0 in /packages/codeflash
2026-04-23 05:32:58 -05:00
Kevin Turcios
cfdb1315cb
Merge pull request #2104 from codeflash-ai/ci/use-shared-workflows
...
Use shared workflows for change detection, prek, and gate job
2026-04-23 05:29:08 -05:00
Kevin Turcios
c613fda5de
Merge main, resolve prek conflict (keep shared workflow)
2026-04-23 05:27:38 -05:00
Kevin Turcios
e78c92b70c
Merge branch 'main' into dependabot/npm_and_yarn/packages/codeflash/better-sqlite3-12.9.0
2026-04-23 05:21:47 -05:00
Kevin Turcios
5c0c90d265
Merge pull request #2110 from codeflash-ai/fix/skip-e2e-on-dependabot
...
fix(ci): skip e2e tests on Dependabot PRs
2026-04-23 05:21:35 -05:00
Kevin Turcios
8fe6b8fd56
fix(ci): skip e2e tests on Dependabot PRs
...
Dependabot PRs can't access repo secrets, so e2e tests always fail
with missing CODEFLASH_API_KEY. Skip all three e2e job groups
(Python, JS, Java) when the actor is dependabot[bot]. The gate job
already accepts skipped jobs.
2026-04-23 05:20:46 -05:00
Kevin Turcios
25ba54e3e7
Merge pull request #2101 from codeflash-ai/dependabot/github_actions/actions/cache-5
...
chore(deps): bump actions/cache from 4 to 5
2026-04-23 05:19:45 -05:00
Kevin Turcios
bf8a1e469e
Merge pull request #2100 from codeflash-ai/dependabot/github_actions/actions/upload-artifact-7
...
chore(deps): bump actions/upload-artifact from 4 to 7
2026-04-23 05:19:43 -05:00
Kevin Turcios
c0b728beff
Merge pull request #2099 from codeflash-ai/dependabot/github_actions/softprops/action-gh-release-3
...
chore(deps): bump softprops/action-gh-release from 2 to 3
2026-04-23 05:19:40 -05:00
Kevin Turcios
2c3e0f66e0
Merge pull request #2098 from codeflash-ai/dependabot/github_actions/astral-sh/setup-uv-8.1.0
...
chore(deps): bump astral-sh/setup-uv from 8.0.0 to 8.1.0
2026-04-23 05:19:37 -05:00
Kevin Turcios
f39b953af0
Merge pull request #2097 from codeflash-ai/dependabot/github_actions/actions/github-script-9
...
chore(deps): bump actions/github-script from 7 to 9
2026-04-23 05:19:35 -05:00
Kevin Turcios
adb1b556bf
Merge pull request #2109 from codeflash-ai/chore/fix-dependabot-alerts-and-flaky-esm
...
chore: triage dependabot alerts and fix flaky esm-async e2e
2026-04-23 05:12:57 -05:00
Kevin Turcios
9a2a3f734d
chore: mark js-esm-async e2e as allowed failure
...
The async optimization e2e is LLM-quality dependent — the optimizer
struggles to produce correct candidates for Promise.all patterns,
causing consistent failures unrelated to code correctness. Mark it
continue-on-error so it doesn't block the gate job.
2026-04-23 05:11:51 -05:00
Kevin Turcios
ba56064c72
Merge pull request #2108 from codeflash-ai/chore/fix-claude-hooks
...
chore: fix claude hooks and add LSP tool env
2026-04-23 05:09:47 -05:00
Kevin Turcios
5cb0a44cce
chore: fix claude hooks and add LSP tool env
...
- bash-guard: block awk (was missing from blocked commands)
- post-compact: replace fragile sed JSON escaping with jq -n --arg
- track-read: deduplicate entries before appending to .read-tracker
- settings: remove redundant Edit→require-read hook (built-in handles it)
- settings: add ENABLE_LSP_TOOL=1 for inline LSP diagnostics
2026-04-23 05:08:37 -05:00
Kevin Turcios
3224f21cf7
Merge pull request #2107 from codeflash-ai/chore/skip-linked-issue-org-members
...
chore: skip linked-issue check for org members
2026-04-23 05:06:53 -05:00
Kevin Turcios
92c8727495
fix: only skip linked-issue check for org members, not collaborators
2026-04-23 05:05:12 -05:00
dependabot[bot]
ea57fba470
chore(deps): bump better-sqlite3 in /packages/codeflash
...
Bumps [better-sqlite3](https://github.com/WiseLibs/better-sqlite3 ) from 12.6.2 to 12.9.0.
- [Release notes](https://github.com/WiseLibs/better-sqlite3/releases )
- [Commits](https://github.com/WiseLibs/better-sqlite3/compare/v12.6.2...v12.9.0 )
---
updated-dependencies:
- dependency-name: better-sqlite3
dependency-version: 12.9.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-04-23 10:01:59 +00:00
Kevin Turcios
b2858dc328
chore: skip linked-issue check for org members
...
Use github.event.pull_request.author_association to bypass the
linked-issue requirement for MEMBER and COLLABORATOR authors.
External contributors still must reference an issue or discussion.
2026-04-23 05:01:02 -05:00
Kevin Turcios
dc5090e2dd
Merge pull request #2105 from codeflash-ai/feat/js-tracer-rebase-v2
...
feat(js): add JavaScript function tracer with Babel instrumentation
2026-04-23 05:00:22 -05:00
Kevin Turcios
d2ec01a0de
Merge pull request #2106 from codeflash-ai/chore/bump-dependency-versions
...
chore: bump all dependency versions to latest
2026-04-23 04:44:37 -05:00
Kevin Turcios
531ba0bc2f
chore: bump all dependency lower bounds to latest 3.9-compatible versions
...
Update pyproject.toml lower bounds and run uv lock --upgrade to pull latest versions into the lockfile.
2026-04-23 04:43:39 -05:00
Kevin Turcios
91f603f78d
Merge pull request #2103 from codeflash-ai/chore/rebuild-claude-config
...
chore: rebuild .claude config from scratch
2026-04-23 04:42:30 -05:00
Kevin Turcios
0061739c03
chore: add mypy to pre-commit config and document setup
...
- Add mypy as a local pre-commit hook via prek (ruff-check + ruff-format
+ mypy now all run at commit time)
- Add Setup section to CLAUDE.md with uv sync and prek install steps
2026-04-23 04:38:34 -05:00
Kevin Turcios
c4bc18e233
ci: use shared workflows for change detection, prek, and gate job
...
Replace inline determine-changes, prek, and required-checks-passed
jobs with reusable workflows and composite actions from
codeflash-ai/github-workflows. This reduces CI maintenance burden
by centralizing common CI logic.
2026-04-23 04:35:15 -05:00