fix(aws): stop guard review round 1

The stop guard's choice now reaches the workspace: after a successful
push (or for Stop without pushing) the app records pushed/discard in
/run/triple-c/stop-reason as root, and the entrypoint's shutdown hook
then skips its own push; a marker that can't be written is reported
and the stop goes on. The push runs before the auth bridge is stopped;
a guarded stop of a workspace that already stopped succeeds. The
Fargate table allows only 512/1024/2048 MiB with 256 CPU, pinned on
both sides by a shared fixture. Removal's missing-connection refusal
carries a stable prefix. OpenAI Compatible is allowed on AWS, with a
warning for local addresses and the app's own gateway. HostSection
locks resource actions unless Stopped, the add dialog drops the
environment on a region change, and the repository editor keeps rows
in progress across a refresh.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
shadowdaoandClaude Opus 5.5 committed 2026-11-15 10:26:53 -08:00
1 parent eb7c6c7b21
commit 8441a096c8
26 files changed
+780 -193

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
{
"_comment": "Fargate CPU/memory pairs, read by both models/project.rs (Rust) and lib/awsWorkspace.test.ts. Keep the two validators agreeing on every line.",
"valid": [
[256, 512], [256, 1024], [256, 2048],
[512, 1024], [512, 2048], [512, 3072], [512, 4096],
[1024, 2048], [1024, 3072], [1024, 4096], [1024, 8192],
[2048, 4096], [2048, 5120], [2048, 16384],
[4096, 8192], [4096, 9216], [4096, 30720],
[8192, 16384], [8192, 20480], [8192, 61440],
[16384, 32768], [16384, 40960], [16384, 122880]
],
"invalid": [
[256, 256], [256, 1536], [256, 3072], [256, 4096],
[512, 512], [512, 1536], [512, 5120],
[1024, 1024], [1024, 2500], [1024, 9216],
[2048, 2048], [2048, 4608], [2048, 17408],
[4096, 7168], [4096, 31744],
[8192, 18432], [8192, 65536],
[16384, 36864], [16384, 122881], [16384, 131072],
[300, 1024], [0, 512], [32768, 65536]
]
}