@quikit/quikpilot-runner 9.3.0-rc.100 → 9.3.0-rc.101
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 +2 -0
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -194,6 +194,8 @@ wrong (a field that arrives from a database row or a request), so it only warns
|
|
|
194
194
|
|
|
195
195
|
**9.3.0-rc.81 (also) - pytest and go test reports place their tests on files (QUIKTR-2465 item 3).** The Python and Go trial repositories' reports placed no test on a file, so the test-file list was empty and the AI Runtime's early check was off. pytest tests are placed by the longest dotted prefix that is a `.py` file of the listing; Go tests by go.mod's module and the one `_test.go` file of the package's folder that declares the function. Real reports: sqlparse 454 tests on 9 files, decimal 145 tests on 3 files, 0 unmapped each. A report that places none of its tests says so in the run's notes. JavaScript reports are unchanged.
|
|
196
196
|
|
|
197
|
+
**9.3.0-rc.101 - the criterion-gap note in the tests phase too (QUIKTR-2715).** The live check of 20 Nov (QUIKSPL-424) asked for "only a verified caller may restore" in a server with no sign-in; the AI found the gap while writing the TESTS of a two-phase run, where rc.100 did not offer the note, so it could only give up and the run failed with a generic message. The key is now sent in both phases (still not in the one amendment), and a gap found in the tests phase stops the run there, before any code.
|
|
198
|
+
|
|
197
199
|
**9.3.0-rc.100 - an approved case the code cannot honestly build stops the run and asks a person (QUIKTR-2715).** On 16 Nov a run built "a caller who is not a member is refused" in a server with no caller identity by passing a null caller: every request was refused and every test passed. A second pass noticed and gave up, and the runner kept the first pass and opened the pull request anyway.
|
|
198
200
|
- **The note.** The code phase sends `criterionGap` (AI Runtime contract 38.18). The AI may write `.quikpilot/criterion-gap.json` with `caseIds` (this run's approved cases only), `needs` and `why` (one sentence each, at most 300 characters). It is caught before any tool runs and never reaches the workspace, like the database-change note. An AI Runtime that does not know the key is asked the same version again without it.
|
|
199
201
|
- **The stop.** Any end of the attempt with a gap recorded (CANNOT_COMPLETE, DONE, a budget) throws `CriterionGapStop`: no second attempt, no kept change, no fix-up keeping an earlier pass in its place. Nothing is committed, pushed or uploaded; the run reports `blocked` with `decisionNeeded: {kind: "criterion_gap", caseIds, needs, why}` (scrubbed) and QuikProjects asks the person to change the spec.
|
package/dist/index.js
CHANGED
|
@@ -50575,7 +50575,7 @@ async function runCodegenLoop(args2, deps) {
|
|
|
50575
50575
|
const featureOn = notesOn && args2.conflicts !== void 0 && args2.tests !== void 0 && args2.featureTestUpdates === true && args2.phase !== "tests" && !(args2.lane?.kind === "code" && args2.lane.amend !== void 0 && args2.lane.amend.length > 0);
|
|
50576
50576
|
const databaseOn = harness && args2.databaseChange !== void 0 && args2.databaseChange.closed !== true && args2.databaseChange.parts.length > 0 && args2.phase !== "tests" && !(args2.lane?.kind === "code" && args2.lane.amend !== void 0 && args2.lane.amend.length > 0);
|
|
50577
50577
|
const note = args2.databaseChange !== void 0 ? new DatabaseChangeNote(args2.databaseChange.parts.map((p) => p.id), databaseOn, args2.databaseChange.names) : null;
|
|
50578
|
-
const gapOn = harness && args2.criterionGap !== void 0 && args2.criterionGap.caseIds.length > 0 &&
|
|
50578
|
+
const gapOn = harness && args2.criterionGap !== void 0 && args2.criterionGap.caseIds.length > 0 && !(args2.lane?.kind === "code" && args2.lane.amend !== void 0 && args2.lane.amend.length > 0);
|
|
50579
50579
|
const gapNote = args2.criterionGap !== void 0 ? new CriterionGapNote(args2.criterionGap.caseIds, gapOn) : null;
|
|
50580
50580
|
const gapStop = () => {
|
|
50581
50581
|
const gap = gapNote?.recorded();
|
|
@@ -55356,7 +55356,7 @@ var FAILURE_ARTIFACT_DIR = "quikpilot-failure";
|
|
|
55356
55356
|
var REPORT_COPY = "final-test-report.xml";
|
|
55357
55357
|
var MAX_REPORT_BYTES = 5 * 1024 * 1024;
|
|
55358
55358
|
var MAX_FILES = 200;
|
|
55359
|
-
var RUNNER_VERSION = true ? "9.3.0-rc.
|
|
55359
|
+
var RUNNER_VERSION = true ? "9.3.0-rc.101" : "dev";
|
|
55360
55360
|
function safeDestination(base, repoPath) {
|
|
55361
55361
|
if (!repoPath || (0, import_node_path27.isAbsolute)(repoPath)) return null;
|
|
55362
55362
|
const destination = (0, import_node_path27.resolve)(base, repoPath);
|