@nathapp/nax 0.70.0-canary.7 → 0.70.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/dist/nax.js +5 -18
- package/package.json +2 -1
package/dist/nax.js
CHANGED
|
@@ -60469,7 +60469,7 @@ var package_default;
|
|
|
60469
60469
|
var init_package = __esm(() => {
|
|
60470
60470
|
package_default = {
|
|
60471
60471
|
name: "@nathapp/nax",
|
|
60472
|
-
version: "0.70.0
|
|
60472
|
+
version: "0.70.0",
|
|
60473
60473
|
description: "AI Coding Agent Orchestrator \u2014 loops until done",
|
|
60474
60474
|
type: "module",
|
|
60475
60475
|
bin: {
|
|
@@ -60501,6 +60501,7 @@ var init_package = __esm(() => {
|
|
|
60501
60501
|
"test:unit": "bun test ./test/unit/ --timeout=60000",
|
|
60502
60502
|
"test:integration": "bun test ./test/integration/ --timeout=60000",
|
|
60503
60503
|
"test:ui": "bun test ./test/ui/ --timeout=60000",
|
|
60504
|
+
"test:e2e": "timeout -k 5s 180s bun test test/e2e/ --timeout=60000",
|
|
60504
60505
|
"check-test-overlap": "bun run scripts/check-test-overlap.ts",
|
|
60505
60506
|
"check-dead-tests": "bun run scripts/check-dead-tests.ts",
|
|
60506
60507
|
"check:test-sizes": "bun run scripts/check-test-sizes.ts",
|
|
@@ -60564,8 +60565,8 @@ var init_version = __esm(() => {
|
|
|
60564
60565
|
NAX_VERSION = package_default.version;
|
|
60565
60566
|
NAX_COMMIT = (() => {
|
|
60566
60567
|
try {
|
|
60567
|
-
if (/^[0-9a-f]{6,10}$/.test("
|
|
60568
|
-
return "
|
|
60568
|
+
if (/^[0-9a-f]{6,10}$/.test("0be1d11a"))
|
|
60569
|
+
return "0be1d11a";
|
|
60569
60570
|
} catch {}
|
|
60570
60571
|
try {
|
|
60571
60572
|
const result = Bun.spawnSync(["git", "rev-parse", "--short", "HEAD"], {
|
|
@@ -61546,20 +61547,6 @@ async function runDeferredRegression(options) {
|
|
|
61546
61547
|
storyOutcomes: {}
|
|
61547
61548
|
};
|
|
61548
61549
|
}
|
|
61549
|
-
if (regressionMode !== "deferred") {
|
|
61550
|
-
logger?.info("regression", "Regression gate mode is not deferred, skipping");
|
|
61551
|
-
return {
|
|
61552
|
-
success: true,
|
|
61553
|
-
failedTests: 0,
|
|
61554
|
-
failedTestFiles: [],
|
|
61555
|
-
passedTests: 0,
|
|
61556
|
-
rectificationAttempts: 0,
|
|
61557
|
-
affectedStories: [],
|
|
61558
|
-
storyCosts: {},
|
|
61559
|
-
storyDurations: {},
|
|
61560
|
-
storyOutcomes: {}
|
|
61561
|
-
};
|
|
61562
|
-
}
|
|
61563
61550
|
const testCommand = config2.quality.commands.test ?? "bun test";
|
|
61564
61551
|
const timeoutSeconds = config2.execution.regressionGate?.timeoutSeconds ?? 120;
|
|
61565
61552
|
const maxRectificationAttempts = config2.execution.rectification.maxAttemptsTotal;
|
|
@@ -61867,7 +61854,7 @@ async function handleRunCompletion(options) {
|
|
|
61867
61854
|
hooksConfig
|
|
61868
61855
|
} = options;
|
|
61869
61856
|
const regressionMode = config2.execution.regressionGate?.mode;
|
|
61870
|
-
if (options.skipRegression) {} else if (regressionMode === "deferred" && config2.quality.commands.test) {
|
|
61857
|
+
if (options.skipRegression) {} else if ((regressionMode === "deferred" || regressionMode === "per-story") && config2.quality.commands.test) {
|
|
61871
61858
|
statusWriter.setPostRunPhase("regression", { status: "running" });
|
|
61872
61859
|
pipelineEventBus.emit({ type: "postrun:phase:started", phase: "regression" });
|
|
61873
61860
|
const regressionResult = await _runCompletionDeps.runDeferredRegression({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nathapp/nax",
|
|
3
|
-
"version": "0.70.0
|
|
3
|
+
"version": "0.70.0",
|
|
4
4
|
"description": "AI Coding Agent Orchestrator — loops until done",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
"test:unit": "bun test ./test/unit/ --timeout=60000",
|
|
33
33
|
"test:integration": "bun test ./test/integration/ --timeout=60000",
|
|
34
34
|
"test:ui": "bun test ./test/ui/ --timeout=60000",
|
|
35
|
+
"test:e2e": "timeout -k 5s 180s bun test test/e2e/ --timeout=60000",
|
|
35
36
|
"check-test-overlap": "bun run scripts/check-test-overlap.ts",
|
|
36
37
|
"check-dead-tests": "bun run scripts/check-dead-tests.ts",
|
|
37
38
|
"check:test-sizes": "bun run scripts/check-test-sizes.ts",
|