Skip to content

test_an_ended_run_is_packed fails under load: it restores while the packer holds the lock #419

Description

@aitianshi

Priority

P3

Evidence

  • Reaper.test_an_ended_run_is_packed in app/tests/test_osworld2_api_logs.py: AssertionError: 0 != 3, on untouched main.
  • 48 runs, 24 at a time: 19 failed. Each time api_logs.restore answered {'restored': 0, 'failed': 0, 'busy': True}.
  • The test waits until the files look packed, then restores once. The packer still holds the folder's lock.

Reproduction

export NULLIUS_HOME=$(mktemp -d)
seq 48 | xargs -P 24 -I{} python3 -m unittest discover -s app/tests -t app -p test_osworld2_api_logs.py

Expected

It passes under load.

Acceptance

  • The test retries while restore answers busy, up to its LIMIT
  • 48 runs, 24 at a time, pass

Related

#169

Activity

  1. self-assigned this
    on Nov 25, 2026
  2. added
    bug
    P3
    on Nov 25, 2026
  3. added theissue type on Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P3bug

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions