Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion deploy/ecs/task-definition-worker.staging.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"executionRoleArn": "${EXECUTION_ROLE_ARN}",
"networkMode": "awsvpc",
"requiresCompatibilities": ["FARGATE"],
"cpu": "1024",
"cpu": "2048",
"memory": "4096",
"ephemeralStorage": {"sizeInGiB": 21},
"runtimePlatform": {
Expand Down
4 changes: 3 additions & 1 deletion deploy/ecs/test_render_task_definitions.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,9 @@ def test_staging_worker_preserves_evidence_selected_capacity() -> None:
definition_path.read_text(encoding="utf-8")
)

assert definition["cpu"] == "1024"
# The measured production-envelope replay rejected 1-vCPU tasks and passed
# on two fixed 2-vCPU tasks, so CD must not restore the rejected task size.
assert definition["cpu"] == "2048"
assert definition["memory"] == "4096"


Expand Down
Loading