Skip to content

Commit ce93b62

Browse files
committed
fix(ecs): remove dead ECS_PAYLOAD_OBJECT_KEY_PREFIX export (review B1)
The `export const ECS_PAYLOAD_OBJECT_KEY_PREFIX = ''` constant was referenced nowhere — ecsPayloadKey() (ecs-strategy.ts) builds `<task_id>/payload.json` independently and already documents that layout in its own docstring. The dead export was a "prefix" whose value was '' with a docstring describing a key layout it didn't produce, and it raised the knip dead-code count, tripping the ratchet inside `mise run build`. Delete it; ecsPayloadKey remains the single source of truth for the key layout.
1 parent 8e30da4 commit ce93b62

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

cdk/src/constructs/ecs-payload-bucket.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,6 @@ import { Construct } from 'constructs';
3232
*/
3333
export const ECS_PAYLOAD_TTL_DAYS = 1;
3434

35-
/**
36-
* Object-key prefix for ECS task payloads. Key layout:
37-
* ``<task_id>/payload.json``. Each task writes a single object under its own
38-
* task-id prefix; the orchestrator deletes it on terminal.
39-
*/
40-
export const ECS_PAYLOAD_OBJECT_KEY_PREFIX = '';
41-
4235
/**
4336
* Properties for the EcsPayloadBucket construct.
4437
*/

0 commit comments

Comments
 (0)