t3-code-android-nightly/.repos/alchemy-effect/packages/alchemy/test/AWS/ECS/fixtures/oneshot-task.ts
Julius Marminge 108e01746c
Upgrade Effect and Alchemy betas (#4643)
Prepare Relay production infrastructure for the PlanetScale PS_20 HA topology, upgrade Effect and Alchemy to compatible betas, reconcile migration state, and preserve patched MCP session termination behavior.\n\nCo-authored-by: codex <codex@users.noreply.github.com>
2026-07-27 16:21:02 +02:00

22 lines
885 B
TypeScript

import { Task } from "@/AWS/ECS/Task.ts";
/**
* A minimal one-shot Fargate task for the ECS task-control binding tests
* (`RunTask` / `StopTask` / `DescribeTasks` / `ListTasks`).
*
* Honest external form: a pre-built busybox image (mirrored into ECR) whose
* default command echoes a marker and exits 0 — no Effect program, no impl.
* Tests that need a long-running task (e.g. StopTask) override the command
* at `runTask` time via `overrides.containerOverrides` (which replaces the
* task definition's command).
*
* Docker Hub busybox: the public.ecr.aws mirror aggressively rate-limits
* anonymous pulls during local builds (see fixtures/task.ts).
*/
export default Task("EcsBindingsOneShotTask", {
image: "busybox:stable",
command: ["sh", "-c", "echo alchemy-ecs-bindings-oneshot"],
cpu: 256,
memory: 512,
taskName: "alchemy-test-ecs-bindings-oneshot",
});