Re-enable the 5 worker tests quarantined on public CI in Runtime_tests.cpp
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 57/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- cpp, github-actions
- Domain
- mobile-dev, testing
Research direction
Read valdi/test/integration/Runtime_tests.cpp and tools/ci/run_tests.sh, then inspect the host teardown behavior controlled by VALDI_ENABLE_TEARDOWN_STOP_ORPHANED_WORKERS. Run bazel test //valdi:test_integration --test_filter='*orker*' --runs_per_test=20. Done means all five named worker tests pass repeatedly on GitHub Actions without the quarantine variable.
Written by the indexing model from the issue text.
Description
Five tests in valdi/test/integration/Runtime_tests.cpp are skipped on GitHub Actions:
FLAKY_workerWorksworkerCanBeTerminatedBeforeInitializationbusyWorkerCanBeTerminatedbusyWorkerWithTransferredPortCanBeTerminatedidleWorkerCanBeTerminated
Each one ends with a worker still running. Host teardown doesn't join that worker, so the worker can touch the freed host and crash a later test on the small public runners. tools/ci/run_tests.sh sets VALDI_QUARANTINE_ORPHANED_WORKER_TESTS=1 on GitHub Actions, and orphanedWorkerTestsQuarantined() skips the tests when it's set.
What to do: make host teardown stop orphaned workers by default. The behavior already exists behind VALDI_ENABLE_TEARDOWN_STOP_ORPHANED_WORKERS, which is off by default. Then remove orphanedWorkerTestsQuarantined(), its callers and the run_tests.sh line, and rename FLAKY_workerWorks to workerWorks.
How to run
bazel test //valdi:test_integration --test_filter='*orker*' --runs_per_test=20
Done when: all five tests run on GitHub Actions without the quarantine variable and pass repeatedly.
See CONTRIBUTING.md before opening a pull request.
- Dominant language
- C++
- Stars
- 16.4k
- Forks
- 539
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Snapchat/Valdi
-
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
Maintainers usually reply within 1 day
-
Rust codegen: RustMethodResolver fails to unwrap .nullable on optional interface/module methodsOpen
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
deepseek-ai/DeepGEMM-Ascend#49 ·
Maintainers usually reply within 1 day
-
bug needs testing platform:windows topic:buildsystem topic:platforms
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
godotengine/godot#126110 · 1 comment ·
Maintainers usually reply within 1 day
-
comp-s3queue
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
ClickHouse/ClickHouse#137649 ·
Maintainers usually reply within 1 day
-
area/docdb kind/enhancement mvu-pg15-pg19 priority/low
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
yugabyte/yugabyte-db#40355 ·
Maintainers usually reply within 1 day
-
Clear params.inputs in dials.indexPossibly taken @phyy-nx claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
dials/dials#3361 · 1 comment ·
Maintainers usually reply within 1 day