vouchington-tooling 0.65.0 → 0.65.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.
|
@@ -33,10 +33,8 @@ export async function deriveRuleAttempts(env, { priorCounts, rules, runAttempt,
|
|
|
33
33
|
const priorReruns = new Map();
|
|
34
34
|
let replayCount = rules.length;
|
|
35
35
|
for (let attempt = 1; attempt < runAttempt; attempt += 1) {
|
|
36
|
-
// An attempt that created no jobs
|
|
37
|
-
|
|
38
|
-
continue;
|
|
39
|
-
const jobs = await fetchJobs(env, attempt);
|
|
36
|
+
// An attempt that created no jobs still counts when a rule matches its run-level evidence.
|
|
37
|
+
const jobs = priorCounts[attempt - 1] === 0 ? [] : await fetchJobs(env, attempt);
|
|
40
38
|
const replayRules = rules.slice(0, replayCount);
|
|
41
39
|
const context = {
|
|
42
40
|
...buildJobsContext(env, jobs, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vouchington-tooling",
|
|
3
|
-
"version": "0.65.
|
|
3
|
+
"version": "0.65.1",
|
|
4
4
|
"description": "Vouchington CLI and extractable tooling libraries.",
|
|
5
5
|
"homepage": "https://github.com/vouchington/vouchington-tooling/tree/main/packages/vouchington-tooling#readme",
|
|
6
6
|
"bugs": {
|
|
Binary file
|