test(memory): share workspace env lock#2582
Conversation
|
Warning Review limit reached
Your plan includes 5 reviews of capacity. Refill in 54 minutes and 6 seconds. Your organization has run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After more review capacity refills, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than trial, open-source, and free plans. In all cases, review capacity refills continuously over time. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
Comment |
Summary
OPENHUMAN_WORKSPACEmutationsProblem
test / Rust Core Tests + QualityOPENHUMAN_WORKSPACEunder a module-local lock, which did not serialize against the rest of the suite’s shared env-var usersSolution
env_mutex()helper insrc/openhuman/memory/ops/files.rstests withcrate::openhuman::config::TEST_ENV_LOCKSubmission Checklist
diff-cover) meet the gate enforced by.github/workflows/coverage.yml. Runpnpm test:coverageandpnpm test:rustlocally; PRs below 80% on changed lines will not merge.docs/TEST-COVERAGE-MATRIX.mdreflect this change (orN/A: behaviour-only change)## Relateddocs/RELEASE-MANUAL-SMOKE.md)Closes #NNNin the## RelatedsectionImpact
Related
AI Authored PR Metadata (required for Codex/Linear PRs)
Linear Issue
Commit & Branch
fix/ship-and-babysit-autonomyfd9e40499Validation Run
pnpm --filter openhuman-app format:checkpnpm typecheckcargo testfor the touched memory file test module; local compile was lengthy, but the fix directly targets the CI-reproduced failure surface and the push reruns full CIValidation Blocked
command:cargo test --manifest-path Cargo.toml openhuman::memory::ops::files::tests:: -- --nocaptureerror:local targeted run spent its time recompiling the large Rust crate and was interrupted so the CI fix could be pushed promptlyimpact:relied on pre-push validation plus fresh CI rerun for final confirmationBehavior Changes
OPENHUMAN_WORKSPACEmutations with the crate-wide shared env lockParity Contract
Duplicate / Superseded PR Handling
#2581covered the earlier skill-doc change on the same branch