@quikit/quikpilot-runner 9.3.0-rc.89 → 9.3.0-rc.90
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 +733 -562
- package/dist/index.js.map +3 -3
- 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.90 - the leftover exam findings that change what a run does or can leak (QUIKTR-2708, batch A).** Links in a repository are never followed when the runner reads files for the AI, writes its change or runs the baseline check (`repoPath.ts`), and a NEW_FILE path is cleaned first so an existing file is never overwritten unread (RN-04). A run that fails while the baseline test run is still going stops it and reports at once, instead of waiting up to 25 minutes (RN-05). A CRLF file is no longer refused as a truncated rewrite on the whole-file path and keeps its line endings (RN-07). A review fix that does not pass keeps the earlier pass without running the checks again (RN-10). Every string sent back to QuikProjects is scrubbed of the run, AI Runtime and push tokens (RN-12/13). The push no longer blocks the runner, and each try has a 3-minute limit, so the deadline timer can always fire (RN-22).
|
|
198
|
+
|
|
197
199
|
**9.3.0-rc.89 - one run deadline, so the job always reports back (QUIKTR-2706, RN-02); the runner's switches come from QuikProjects (QUIKTR-2707, RN-06).** GitHub stops the job at `maxWallClockMinutes`, but the writing step took its own 30 minutes from whenever it started and Setup, Format and Lint had no limit, so a slow run was killed mid-step with no report. The run now works out one deadline as soon as it has the packet (`runDeadline.ts`): the writing step stops early enough to leave Format, Lint and the final tests their time (and is not started with under five minutes); Setup, Format and Lint run in their own process group with limits from the same deadline (`QUIKPILOT_TEST_LIMITS=off` removes them); the AI's own test runs never run past the writing step's stop; and a last-resort timer (deadline + 3 minutes) or a SIGINT/SIGTERM sends ONE failed report, ends the runner's child processes and exits 1 (`finalReportGuard.ts`). Separately, a generated workflow sets no `QUIKPILOT_*` variable, so the runner's opt-ins could never be turned on and its brakes never pulled: QuikProjects now sends them as `packet.runnerSwitches` (from its `QUIKPILOT_FEATURES` and `QUIKPILOT_RUNNER_OFF` lists), and `applyPacketSwitches` (`runnerSwitches.ts`) writes the catalogued ones into the environment before anything reads them. With nothing set, a run is what it was.
|
|
198
200
|
|
|
199
201
|
**9.3.0-rc.88 - a test report the repository keeps in git is never sent, deleted or dropped from the pull request (QUIKTR-2705, RN-03).** After a run the runner sent every JUnit-shaped XML file in the checkout to QuikTest and then deleted them all, tracked files included, with no freshness filter; `git add -A` then staged the deletions, so the pull request deleted a repository's own report fixtures (up to 500 files), and the results held tests that never ran. When there was nowhere to send to, or the upload failed, nothing was deleted and the run's own report could be committed. (1) Only the run's own reports are sent: JUnit reports git does not track (`git ls-files`), written at or after the final test run's start (`freshSinceMs`, the gate's start, passed from verifyChange to run); the failed-run copy is read the same way. (2) Every untracked report is deleted right after the upload whatever it did (`removeRunReports`), before anything is staged; a tracked one is never touched. Outside a git repository nothing is tracked; when git fails any other way every report is taken as tracked, so nothing is sent or deleted. (3) The AI never deletes a file, so a staged deletion of a tracked file was made by a command: `checkGuardrail` unstages it (the file stays as it is on disk), and the run's notes name up to ten (`commit.deletions_left_out`, count only). New tests in `quiktestTrackedReports.test.ts` (real git: tracked fixtures, an old and a fresh report, three upload outcomes, a broken index, a command's deletion), `run.test.ts` and `verifyChange.test.ts`; 7 of 7 mutations turn tests red.
|