Refactor flake-status to process repos in parallel #61
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
flake-statuscurrently walks repositories serially even though each repo's lock/health collection is independent. The README already says repos are processed in parallel, so the implementation should match that expectation.Proposed approach
--upstream, collect unique upstream URLs first, resolve them in parallel into a temp map, then render rows using that map. This preserves caching semantics without relying on an associative array inside worker subprocesses.Acceptance criteria
flake-status,flake-status <input>, and both--upstreammodes keep stable workspace-order output.FLAKE_STATUS_JOBS.git ls-remotecalls for duplicate upstream URLs are deduplicated.tests/flake-status.shcoverage passes, with added coverage for deterministic output under parallel execution if needed.