eutaxy 0.17.0 → 0.17.1
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/README.md +6 -6
- package/dist/aws.mjs +2 -2
- package/dist/bin.mjs +1 -1
- package/dist/{cli-dK6w25AU.mjs → cli-CxbXc1j2.mjs} +14 -6
- package/dist/{cli-dK6w25AU.mjs.map → cli-CxbXc1j2.mjs.map} +1 -1
- package/dist/cli.mjs +1 -1
- package/dist/cloudflare.d.mts +35 -3
- package/dist/cloudflare.d.mts.map +1 -1
- package/dist/cloudflare.mjs +3 -3
- package/dist/{delivery-invariants-BXCuv43L.mjs → delivery-invariants-DO3j1mmD.mjs} +2 -2
- package/dist/{delivery-invariants-BXCuv43L.mjs.map → delivery-invariants-DO3j1mmD.mjs.map} +1 -1
- package/dist/{explore-Ci-xVeKU.d.mts → explore-CkKiOuz6.d.mts} +9 -1
- package/dist/explore-CkKiOuz6.d.mts.map +1 -0
- package/dist/index.d.mts +5 -2
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/{src-BiX530QY.mjs → src-D_hHC_-3.mjs} +250 -93
- package/dist/src-D_hHC_-3.mjs.map +1 -0
- package/dist/{src-DVqL5Rk_.mjs → src-fxWc6oGc.mjs} +18 -5
- package/dist/src-fxWc6oGc.mjs.map +1 -0
- package/dist/{workerd-b1sqOnVc.mjs → workerd-DhrzU6AZ.mjs} +351 -28
- package/dist/workerd-DhrzU6AZ.mjs.map +1 -0
- package/package.json +1 -1
- package/dist/explore-Ci-xVeKU.d.mts.map +0 -1
- package/dist/src-BiX530QY.mjs.map +0 -1
- package/dist/src-DVqL5Rk_.mjs.map +0 -1
- package/dist/workerd-b1sqOnVc.mjs.map +0 -1
package/README.md
CHANGED
|
@@ -21,8 +21,8 @@ on state that was still current.
|
|
|
21
21
|
|
|
22
22
|
**Status: early.** The documentation is at
|
|
23
23
|
[eutaxy.dev](https://eutaxy.dev). The design is in
|
|
24
|
-
[docs/design.md](https://github.com/Kaisenwerk/eutaxy/blob/v0.17.
|
|
25
|
-
[docs/roadmap.md](https://github.com/Kaisenwerk/eutaxy/blob/v0.17.
|
|
24
|
+
[docs/design.md](https://github.com/Kaisenwerk/eutaxy/blob/v0.17.1/docs/design.md); the phases and their gates are in
|
|
25
|
+
[docs/roadmap.md](https://github.com/Kaisenwerk/eutaxy/blob/v0.17.1/docs/roadmap.md).
|
|
26
26
|
|
|
27
27
|
## Verdicts
|
|
28
28
|
|
|
@@ -76,9 +76,9 @@ Write a scenario beside your Worker and run the check:
|
|
|
76
76
|
eutaxy check ./payments.sim.ts
|
|
77
77
|
```
|
|
78
78
|
|
|
79
|
-
[examples/payments-queue](https://github.com/Kaisenwerk/eutaxy/blob/v0.17.
|
|
79
|
+
[examples/payments-queue](https://github.com/Kaisenwerk/eutaxy/blob/v0.17.1/examples/payments-queue) is a complete, runnable
|
|
80
80
|
version of this: a queue consumer with a bug the check finds, and the fixed
|
|
81
|
-
Worker it reports `BOUNDED` for. [examples/](https://github.com/Kaisenwerk/eutaxy/blob/v0.17.
|
|
81
|
+
Worker it reports `BOUNDED` for. [examples/](https://github.com/Kaisenwerk/eutaxy/blob/v0.17.1/examples) holds the others,
|
|
82
82
|
each a Worker, its scenario, the bug and the fix: a webhook with an
|
|
83
83
|
idempotency key, a lease pool object with an alarm, an Agent with a
|
|
84
84
|
schedule and WebSocket connections, two Workers over a service binding,
|
|
@@ -153,8 +153,8 @@ pnpm install
|
|
|
153
153
|
pnpm check # lint, typecheck, test
|
|
154
154
|
```
|
|
155
155
|
|
|
156
|
-
See [CONTRIBUTING.md](https://github.com/Kaisenwerk/eutaxy/blob/v0.17.
|
|
156
|
+
See [CONTRIBUTING.md](https://github.com/Kaisenwerk/eutaxy/blob/v0.17.1/CONTRIBUTING.md).
|
|
157
157
|
|
|
158
158
|
## License
|
|
159
159
|
|
|
160
|
-
[Apache-2.0](https://github.com/Kaisenwerk/eutaxy/blob/v0.17.
|
|
160
|
+
[Apache-2.0](https://github.com/Kaisenwerk/eutaxy/blob/v0.17.1/LICENSE).
|
package/dist/aws.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as __toCommonJS, i as __require, n as __esmMin, o as __toESM, r as __exportAll, t as __commonJSMin } from "./rolldown-runtime-C1I3wEg2.mjs";
|
|
2
|
-
import { A as writeFaults, C as toJson$1, I as invocationOf, L as redelivery, O as decisionFaults, R as canonicalJson, S as patchProperty, T as validateScenario, b as realTick, c as decide, d as runInvocation, i as rawRun, k as readFaults, n as compareSides, r as proxiedSide, u as note, w as defaultBounds } from "./src-
|
|
3
|
-
import { n as atLeastOncePerMessage$1, r as atMostOncePerKey } from "./delivery-invariants-
|
|
2
|
+
import { A as writeFaults, C as toJson$1, I as invocationOf, L as redelivery, O as decisionFaults, R as canonicalJson, S as patchProperty, T as validateScenario, b as realTick, c as decide, d as runInvocation, i as rawRun, k as readFaults, n as compareSides, r as proxiedSide, u as note, w as defaultBounds } from "./src-D_hHC_-3.mjs";
|
|
3
|
+
import { n as atLeastOncePerMessage$1, r as atMostOncePerKey } from "./delivery-invariants-DO3j1mmD.mjs";
|
|
4
4
|
import { $ as booleanSelector, $t as ServiceException, A as BinaryDecisionDiagram, An as isValidHostLabel, B as NODE_REGION_CONFIG_FILE_OPTIONS, C as isIpAddress, Ct as dateToUtcString, Dt as parseRfc7231DateTime, E as EndpointError, En as normalizeProvider$1, Et as parseRfc3339DateTimeWithOffset, F as init_config$1, Fn as hasOwn, G as NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, H as REGION_ENV_NAME, Ht as NoOpLogger, It as fromBase64, Jt as resolveDefaultRuntimeConfig, Kt as getDefaultExtensionConfiguration, L as resolveDefaultsModeConfig, Ln as getSmithyContext, N as resolveParams, Nn as HttpRequest, Nt as toBase64, O as EndpointCache, On as isValidHostname, Ot as expectUnion, P as config_exports, Pt as fromUtf8, Qt as loadConfigsForDefaultMode, Rt as client_exports$1, Sn as parseUrl, Tt as parseEpochTimestamp, U as REGION_INI_NAME, V as NODE_REGION_CONFIG_OPTIONS, Vt as makeBuilder, Wt as getValueFromTextNode, X as loadConfig, Yt as emitWarningIfUnsupportedVersion$1, Z as SelectorType, _ as resolveEndpointConfig, _t as _parseRfc7231DateTime, b as decideEndpoint, bn as init_transport, bt as quoteHeader, c as generateIdempotencyToken, cn as TypeRegistry, ct as NumericValue, d as v4, en as decorateServiceException, ft as splitHeader, g as init_endpoints, gn as deref, gt as _parseRfc3339DateTimeWithOffset, h as getEndpointPlugin, ht as _parseEpochTimestamp, in as Command, jn as HttpResponse, jt as toUtf8, l as init_serde, m as endpoints_exports, mn as getSchemaSerdePlugin, mt as splitEvery, n as init_checksum, nn as createAggregatedClient, on as init_schema, p as sdkStreamMixin, pn as translateTraits, q as NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, r as Sha256Node, rt as calculateBodyLength, s as Uint8ArrayBlobAdapter, sn as schema_exports, t as checksum_exports, tt as ProviderError, u as serde_exports, un as NormalizedSchema, ut as nv, vn as Client$1, w as customEndpointFunctions, wn as parseQueryString, xt as LazyJsonString, y as resolveEndpoint, z as resolveRegionConfig, zn as require_dist_cjs$20, zt as init_client$1 } from "./checksum-75EliDEr.mjs";
|
|
5
5
|
import { Readable } from "node:stream";
|
|
6
6
|
import { platform, release } from "node:os";
|
package/dist/bin.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { R as canonicalJson } from "./src-
|
|
2
|
-
import { _ as render, a as renderText, c as checkSpecModule, d as shrinkRefutation, g as endpointNumber, h as endpointBigInt, i as renderSpecs, m as conforms, n as renderSpecReport, p as evaluate, r as renderSpecReportJson, v as describeType } from "./src-
|
|
1
|
+
import { R as canonicalJson } from "./src-D_hHC_-3.mjs";
|
|
2
|
+
import { _ as render, a as renderText, c as checkSpecModule, d as shrinkRefutation, g as endpointNumber, h as endpointBigInt, i as renderSpecs, m as conforms, n as renderSpecReport, p as evaluate, r as renderSpecReportJson, v as describeType } from "./src-fxWc6oGc.mjs";
|
|
3
3
|
import { n as isSpec } from "./combinators-CLfsPfhT.mjs";
|
|
4
4
|
import { t as aggregate } from "./provers-DS44OeEm.mjs";
|
|
5
|
-
import {
|
|
5
|
+
import { n as globKey, q as cloudflareRegressionTest, r as specKey } from "./workerd-DhrzU6AZ.mjs";
|
|
6
6
|
import { createRequire, registerHooks } from "node:module";
|
|
7
7
|
import { Readable } from "node:stream";
|
|
8
8
|
import { createHash, randomBytes } from "node:crypto";
|
|
@@ -6874,6 +6874,14 @@ function readTransport(reportPath) {
|
|
|
6874
6874
|
}
|
|
6875
6875
|
return null;
|
|
6876
6876
|
}
|
|
6877
|
+
/**
|
|
6878
|
+
* Whether a regression test for a scenario with these setup steps is given the Cloudflare test
|
|
6879
|
+
* helpers: real objects are reset and snapshotted through them, and a scripted namespace is watched
|
|
6880
|
+
* through them for an object that ran after all.
|
|
6881
|
+
*/
|
|
6882
|
+
function needsObjectHelpers(setup) {
|
|
6883
|
+
return setup.some((s) => s.kind === "durable_object" || s.kind === "scripted_object");
|
|
6884
|
+
}
|
|
6877
6885
|
function toPosix(p) {
|
|
6878
6886
|
const s = p.split("\\").join("/");
|
|
6879
6887
|
return s.startsWith(".") ? s : `./${s}`;
|
|
@@ -7030,7 +7038,7 @@ async function runCheck(o) {
|
|
|
7030
7038
|
...transport.aliases === void 0 ? {} : { aliases: transport.aliases }
|
|
7031
7039
|
},
|
|
7032
7040
|
...o.budgetMs === void 0 ? {} : { budgetMs: o.budgetMs },
|
|
7033
|
-
...transport.setup
|
|
7041
|
+
...needsObjectHelpers(transport.setup) ? { durableObjects: true } : {},
|
|
7034
7042
|
...transport.setup.some((s) => s.kind === "workflow") || transport.drive?.kind === "rpc" && transport.drive["entrypoint"] !== void 0 ? { exports: true } : {},
|
|
7035
7043
|
...o.expectViolation ? { expect: "violates" } : {},
|
|
7036
7044
|
...(transport.observed ?? []).length > 0 ? { specModules: (transport.observed ?? []).map((m) => ({
|
|
@@ -8326,7 +8334,7 @@ async function runReport(o) {
|
|
|
8326
8334
|
}
|
|
8327
8335
|
// packages/cli/src/version.ts
|
|
8328
8336
|
/** The published package's version, as the MCP server reports it; the release tooling keeps it in step. */
|
|
8329
|
-
const eutaxyVersion = "0.17.
|
|
8337
|
+
const eutaxyVersion = "0.17.1";
|
|
8330
8338
|
// packages/cli/src/mcp.ts
|
|
8331
8339
|
/**
|
|
8332
8340
|
* `eutaxy mcp`: a Model Context Protocol server over stdio, so a coding
|
|
@@ -9084,4 +9092,4 @@ async function main(argv, io) {
|
|
|
9084
9092
|
}
|
|
9085
9093
|
export { main as t };
|
|
9086
9094
|
|
|
9087
|
-
//# sourceMappingURL=cli-
|
|
9095
|
+
//# sourceMappingURL=cli-CxbXc1j2.mjs.map
|