@afix-ci/cli 0.1.0-rc.38 → 0.1.0-rc.39

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.
Files changed (2) hide show
  1. package/README.md +11 -0
  2. package/package.json +6 -6
package/README.md CHANGED
@@ -79,6 +79,11 @@ afix autoclass pull-logs --count=500
79
79
  afix autoclass metrics
80
80
  # render previously computed dwell history without scanning logs or reading Git
81
81
  afix autoclass metrics --metrics-provider=static
82
+ # prefer read-only CI artifacts in order and calculate remaining events locally
83
+ afix autoclass metrics --metrics-provider=combined-calculated-static \
84
+ --static-cache-dir=/path/to/preferred-metrics-artifact \
85
+ --static-cache-dir=/path/to/older-metrics-artifact \
86
+ --computed-cache-dir=.cache/afix
82
87
  # pull unique PR ids from metrics csv
83
88
  cat afix-metrics/build-history.csv | python3 -c 'import csv,sys; seen=set(); [print(r["pr_id"]) for r in csv.DictReader(sys.stdin) if r["is_open"]=="true" and r["fixable"]=="true" and r["is_safe_submit"]=="true" and not (r["pr_id"] in seen or seen.add(r["pr_id"]))]' > afix-metrics/safe-pr-ids.log
84
89
  # fix all, sequentially
@@ -89,3 +94,9 @@ Compute and `pull-logs` runs populate config-keyed build classification history
89
94
  and commit-OID-keyed closure/token-usage facts in the shared SQLite cache.
90
95
  Static reports read only those cached historical inputs; a build without
91
96
  classification history for the current config is charted as `Unavailable`.
97
+ Combined reports query repeatable static directories in command-line order.
98
+ Each complete, closed event is retained and excluded from later providers;
99
+ unknown, unavailable, or open events continue through the remaining static
100
+ directories and finally the calculated provider. Static directories are never
101
+ used for calculated writes; `--computed-cache-dir` defaults to the repository
102
+ afix cache.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@afix-ci/cli",
3
3
  "type": "module",
4
- "version": "0.1.0-rc.38",
4
+ "version": "0.1.0-rc.39",
5
5
  "license": "MIT",
6
6
  "sideEffects": false,
7
7
  "files": [
@@ -11,10 +11,10 @@
11
11
  "afix": "./shim.js"
12
12
  },
13
13
  "optionalDependencies": {
14
- "@afix-ci/cli-darwin-arm64": "0.1.0-rc.38",
15
- "@afix-ci/cli-linux-arm64": "0.1.0-rc.38",
16
- "@afix-ci/cli-linux-x64": "0.1.0-rc.38",
17
- "@afix-ci/cli-win32-arm64": "0.1.0-rc.38",
18
- "@afix-ci/cli-win32-x64": "0.1.0-rc.38"
14
+ "@afix-ci/cli-darwin-arm64": "0.1.0-rc.39",
15
+ "@afix-ci/cli-linux-arm64": "0.1.0-rc.39",
16
+ "@afix-ci/cli-linux-x64": "0.1.0-rc.39",
17
+ "@afix-ci/cli-win32-arm64": "0.1.0-rc.39",
18
+ "@afix-ci/cli-win32-x64": "0.1.0-rc.39"
19
19
  }
20
20
  }