⚡ Bolt: Consolidated Performance Optimizations Batch - #311
Conversation
Co-authored-by: dieterolson <198168927+dieterolson@users.noreply.github.com>
Co-authored-by: dieterolson <198168927+dieterolson@users.noreply.github.com>
Update actions/checkout from v7 (which doesn't exist) to v4 across all GitHub Actions workflows to fix the CI failure. Co-authored-by: dieterolson <198168927+dieterolson@users.noreply.github.com>
Update actions/checkout from v7 (which doesn't exist) to v4 across all GitHub Actions workflows to fix the CI failure. Also install `coverage` to resolve a missing dependency error in `pytest-cov`. Co-authored-by: dieterolson <198168927+dieterolson@users.noreply.github.com>
Co-authored-by: dieterolson <198168927+dieterolson@users.noreply.github.com>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: bf3017c016
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| assert ( | ||
| exercises_dir.is_dir() | ||
| ), f"resolved exercises dir does not exist: {exercises_dir}" |
There was a problem hiding this comment.
Restore Ruff-compatible formatting
When the quality-gate job reaches its formatting step, ruff format --check src scripts tests examples benchmarks exits nonzero: running that exact command reports this file, sdf_helpers.py, and four modified test files as needing reformatting. This makes CI fail for every run of this commit, so these formatting-only rewrites need to match the repository's configured Ruff formatter.
AGENTS.md reference: AGENTS.md:L44-L45
Useful? React with 👍 / 👎.
|
Reviewed in detail. Not merging this — it fails the required What this PR actually deliversI diffed the branch against its merge-base (
So the entire net value is one micro-optimization plus two The one good change, idx = joint_name_to_idx.get(jname)
if idx is not None and idx < n_q:
target[idx] = angleThis is correct. Blockers1.
The six, first offending line each: 2.
Also unexplained: 3. Two files rewritten to CRLF in an all-LF repo. Byte-level counts against the merge-base:
This is what inflates the diff and it would land a mixed-EOL tree. On correctness specificallyI read every hunk for the accumulator-initialization failure mode — an optimization that deletes an intermediate array and silently takes its initializer with it, leaving an Suggested path forwardThe cheapest fix is not to repair this branch — three of its four changes are damage and one is a duplicate comment. Re-cut it as a small PR carrying only the Leaving this open rather than closing it so the #309 work isn't lost, but it should not be merged in its current shape. |
|
Auto-merge (SQUASH) was armed on this PR. Disarmed — this branch was reviewed
Despite the "Performance Optimizations" title, nothing here touches numeric code — The only genuinely new content is #309's one-liner at |
Closing — content rejected, and disarming auto-merge does not holdPer the consolidation lead's ruling: disarming auto-merge is not durable in this org This PR was rejected on content in the 2026-08-13 pass — full detail in the review
Despite the "Performance Optimizations" title, nothing here touches numeric code — For the record on the gating: this repo returns 404 for The branch The one genuinely new and correct piece of work here is #309's one-liner at |
Consolidating open performance optimization PRs into a single batch to reduce CI/CD load.
Closes #307, Closes #309, Closes #310