@crvouga/mockingbird-service-ecs 1.0.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/DISCOVERY.md +2 -2
- package/README.md +5 -5
- package/SUPPORT.md +2 -2
- package/dist/{chunk-VW5LANPO.js → chunk-42CRFA4A.js} +259 -171
- package/dist/chunk-42CRFA4A.js.map +7 -0
- package/dist/{chunk-SUYRZUTX.js → chunk-EAQRG5QD.js} +8 -6
- package/dist/chunk-EAQRG5QD.js.map +7 -0
- package/dist/cli.js +2 -2
- package/dist/index.d.ts +84 -69
- package/dist/index.js +1 -1
- package/dist/server.d.ts +129 -96
- package/dist/server.js +2 -2
- package/package.json +4 -4
- package/dist/chunk-SUYRZUTX.js.map +0 -7
- package/dist/chunk-VW5LANPO.js.map +0 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog — @crvouga/mockingbird-service-ecs
|
|
2
2
|
|
|
3
|
+
## 1.2.0 (2026-10-11)
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
- match Emulate provider coverage ([16b65ce](https://github.com/crvouga/mockingbird/commit/16b65ce791fa216f28ec1521df636f57771d9c5e))
|
|
8
|
+
|
|
9
|
+
## 1.1.0 (2026-10-08)
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
- redesign emulator experience ([d6038c2](https://github.com/crvouga/mockingbird/commit/d6038c27eebbaa1751f02bc9305002a5b1304779))
|
|
14
|
+
|
|
3
15
|
## 1.0.0 (2026-10-07)
|
|
4
16
|
|
|
5
17
|
### ⚠️ Breaking changes
|
package/DISCOVERY.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# @crvouga/mockingbird-service-ecs discovery
|
|
2
2
|
|
|
3
3
|
This is the installed-package index for coding agents and tooling. All relative links resolve
|
|
4
|
-
inside `node_modules/@crvouga/mockingbird-service-ecs/`; no repository checkout is needed to discover the
|
|
4
|
+
inside `node_modules/@crvouga/mockingbird-service-ecs/`; no repository checkout is needed to discover the emulator's
|
|
5
5
|
supported surface or documented behavior.
|
|
6
6
|
|
|
7
7
|
## Capability and behavior sources
|
|
@@ -48,7 +48,7 @@ designed for assertions and diagnosis by consuming test suites.
|
|
|
48
48
|
## Report a mismatch or missing capability
|
|
49
49
|
|
|
50
50
|
Follow the [agent reporting contract](https://github.com/crvouga/mockingbird/blob/main/docs/REPORTING_ISSUES.md). Include package version,
|
|
51
|
-
operation/command, a minimal redacted request, actual
|
|
51
|
+
operation/command, a minimal redacted request, actual emulator result, expected oracle result or vendor
|
|
52
52
|
documentation, and whether the mismatch appears in the matrix. Never include keys, tokens,
|
|
53
53
|
customer data, prompts, PHI, card data, or unredacted recordings.
|
|
54
54
|
|
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# @crvouga/mockingbird-service-ecs
|
|
2
2
|
|
|
3
|
-
>
|
|
3
|
+
> Local emulators. Real API contracts. Part of [Mockingbird](https://github.com/crvouga/mockingbird).
|
|
4
4
|
|
|
5
|
-
WIP AWS ECS Fargate RunTask control-plane
|
|
5
|
+
WIP AWS ECS Fargate RunTask control-plane emulator. It records task acceptance; it never starts
|
|
6
6
|
containers. Wire contract follows [RunTask](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_RunTask.html).
|
|
7
7
|
|
|
8
8
|
## Install
|
|
@@ -37,7 +37,7 @@ Read accepted tasks from tasks and request metadata (network configuration, task
|
|
|
37
37
|
from requests. Seed placementFailures with AWS Failure objects to script partial placement:
|
|
38
38
|
each RunTask takes up to count failures in insertion order and accepts the remaining task count.
|
|
39
39
|
Failures persist until deleted/reset; this is a test control, not a capacity simulator.
|
|
40
|
-
Tasks remain PROVISIONING with desiredStatus RUNNING; createdAt uses the
|
|
40
|
+
Tasks remain PROVISIONING with desiredStatus RUNNING; createdAt uses the emulator clock.
|
|
41
41
|
Identical clientToken retries within a cluster return the same result for 24 hours;
|
|
42
42
|
changed parameters return ConflictException with associated resourceIds. Tokens are resettable state.
|
|
43
43
|
|
|
@@ -51,7 +51,7 @@ internal_error (500), connection_drop. Shared faults also support deterministic
|
|
|
51
51
|
## Verification
|
|
52
52
|
|
|
53
53
|
`bun test` runs acceptance and OpenAPI-driven self-parity with divergence detection.
|
|
54
|
-
`bun scripts/sdk.ts` uses uv to install and run exact boto3 1.43.56 against the served
|
|
54
|
+
`bun scripts/sdk.ts` uses uv to install and run exact boto3 1.43.56 against the served emulator:
|
|
55
55
|
successful RunTask, preserved overrides, idempotency, missing resources and SDK exceptions.
|
|
56
56
|
This proves SDK compatibility, not live AWS equivalence. `bun run parity` exits 2 because this
|
|
57
57
|
package only models a billable compute-creating operation; no live request is issued implicitly.
|
|
@@ -65,7 +65,7 @@ task-definition or cluster mutations and other ECS operations. Nested overrides
|
|
|
65
65
|
commands and environment are passed through, not comprehensively validated. No subnet reachability,
|
|
66
66
|
image validity or resource-capacity simulation. Fargate is the only modeled launch type.
|
|
67
67
|
Task ids and platformVersion LATEST are local stand-ins, not exact AWS-generated ids/resolved versions.
|
|
68
|
-
The idempotency lifetime is 24 hours while
|
|
68
|
+
The idempotency lifetime is 24 hours while emulator tasks remain uncompleted; shorter post-stop expiry
|
|
69
69
|
and task-stop response rewriting are outside this surface.
|
|
70
70
|
|
|
71
71
|
## API
|
package/SUPPORT.md
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
Generated from `openapi.yaml`; do not edit by hand.
|
|
4
4
|
|
|
5
5
|
- operations in spec: **1**
|
|
6
|
-
- supported by the
|
|
6
|
+
- supported by the emulator: **1**
|
|
7
7
|
- parity enabled: **1**
|
|
8
8
|
|
|
9
|
-
| operationId | route |
|
|
9
|
+
| operationId | route | emulator | parity | notes |
|
|
10
10
|
| --- | --- | --- | --- | --- |
|
|
11
11
|
| `RunTask` | `POST /` | ✅ supported | ⚠️ unsafe (opt-in) | |
|