Skip to content

feat(runtime): offer the runtime view on AWS estates, ECS tasks under their service (chant 0.124.118) - #1251

Merged
lex00 merged 2 commits into
mainfrom
feat/aws-runtime-view
Nov 23, 2026
Merged

lex00 merged 2 commits into
mainfrom
feat/aws-runtime-view

Conversation

@lex00

@lex00 lex00 commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

Closes #1250

chant reads an ECS service's running tasks as runtime nodes owned by the service (chant#5448), and chant 0.124.118 makes the owner the service's real node id on a named stack (chant#5490). behold offered the runtime view to k8s members only.

  • RUNTIME_LEXICONS takes aws, behind AWS_RUNTIME_TASKS_CHANT_FLOOR (0.124.118) with its CHANT_FLOORS entry ("ECS tasks under their service"). /api/project sets runtimeCapable for an aws member whose chant meets it; below it, runtimeRefusal carries the floor refusal, and ?runtime=1 drops AWS runtime children instead of nesting them under the owner id an older chant named.
  • The three overlay call sites go through one runtimeTier helper.
  • pruneRuntimeChildren takes an optional filter, and removes a dropped child from every group table: chant now lists live-only nodes in their stack's groups.byStack, so pruning left a dangling id there (seen in a live read).
  • CHANT_RELEASE follows chant 0.124.118 and aws lexicon 0.124.107 (npx tsx scripts/chant-release.ts, then npm install).
  • Tests: a route test with an AWS::ECS::Task node shaped like chant 0.124.118's live read (runtimeOwner: "chant-proof-5452-ecs::service", in byStack), drawn in the service's box with ?runtime=1, pruned without it, and refused on chant 0.124.114.
  • Docs: the zoom dial section of reading-the-graph says what the runtime tier draws on AWS.

Local gate: just check passes (403 files, 5679 tests); docs npm run build passes. Verified against a live one-task Fargate service with chant 0.124.118: /api/project answered runtimeCapable: true and /api/overlay?env=...&runtime=1 boxed the RUNNING task under chant-proof-5452-ecs::service.

@lex00
lex00 enabled auto-merge November 23, 2026 00:00
@lex00
lex00 added this pull request to the merge queue Nov 23, 2026
Merged via the queue into main with commit fa46b4c Nov 23, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Offer the runtime view for AWS estates: ECS tasks under their service (chant 0.124.118)

1 participant