Implement AWS quota-aware queued shard execution (issue #32)#33
Closed
Implement AWS quota-aware queued shard execution (issue #32)#33
Conversation
Address PR review blocking/high items by implementing: - lease-based global lock with acquire backoff/pending semantics - Terraform apply retry/degrade for capacity/transient failures - idempotent queue bootstrap with launching->queued transitions - duplicate-safe shard claim/finalize transitions with DynamoDB transactions - lock heartbeat from workers and final shard counters in manifest - docs/workflow messaging updates for queue-mode completion semantics
Collaborator
Author
|
Closing as superseded by #37. We are replacing this implementation with a simpler S3-only orchestration approach to reduce dependencies/complexity while preserving required behavior. |
This was referenced Feb 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #32
Consolidated Status (single source of truth)
This PR now contains the complete implementation and follow-up hardening for AWS quota-aware queued shard execution.
Issue #32 requested queue-based shard draining under quota/capacity pressure, durable shard/run state, retry/backoff behavior, and a global mutex.
What Was Implemented
max_parallel_instances) instead of one-EC2-per-shard fan-out.scripts/benchmark_lock.py.launchingflow.status.jsonpublication before terminal completion transition).scripts/run_completion.py) reused by release/docs paths.Thread Findings -> Resolution
0), still bounded by GitHub Actions job runtime.Remaining Open Items / Product Decisions
Validation Reported In This PR
make terraform-fmtmake terraform-validatebash -n fuzzers/_shared/queue_worker.sh fuzzers/_shared/common.shpython3 -m py_compile scripts/benchmark_lock.py scripts/queue_init_run.py scripts/run_completion.py scripts/generate_docs_site.pyactionlint .github/workflows/benchmark-run.yml .github/workflows/benchmark-release.yml .github/workflows/benchmark-request.ymlDiscussion Cleanup