Skip to content

Api parallel tests saver fix#384

Merged
JonJagger merged 4 commits into
mainfrom
api-parallel-tests-saver-fix
May 20, 2026
Merged

Api parallel tests saver fix#384
JonJagger merged 4 commits into
mainfrom
api-parallel-tests-saver-fix

Conversation

@JonJagger
Copy link
Copy Markdown
Member

No description provided.

JonJagger and others added 4 commits May 20, 2026 15:27
…, fix saver container lookup

- Route diff_lines_files and diff_summary_files in app.rb
- Run tests in parallel via parallelize_me! with Etc.nprocessors workers;
  TIMINGS_LOCK mutex guards the shared @@timings hash
- copy_in_saver_test_data was grepping all running containers for "saver",
  which matched unrelated containers from other projects; now uses
  CYBER_DOJO_SAVER_CONTAINER_NAME directly, set in echo_env_vars.sh and
  wired into docker-compose.yml

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…xecution

Nothing in the repo reads ENV['ID58'], so the write served no purpose.
With parallelize_me! in place, concurrent threads racing to set it
would be a latent hazard.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Full self-contained documentation for both new endpoints in docs/api.md,
with all the same examples as diff_lines. README API index updated to
include links to the new endpoints.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
… the end

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@JonJagger JonJagger enabled auto-merge (squash) May 20, 2026 15:35
@JonJagger JonJagger merged commit 398bd04 into main May 20, 2026
14 checks passed
@JonJagger JonJagger deleted the api-parallel-tests-saver-fix branch May 20, 2026 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants