@mrkaran/hodor 0.7.3 → 0.7.5
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 +7 -4
- package/dist/{chunk-GISFKKMM.js → chunk-AFEJ4DRL.js} +971 -135
- package/dist/chunk-AFEJ4DRL.js.map +1 -0
- package/dist/cli.js +150 -49
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +17 -2
- package/dist/index.js +2 -5
- package/package.json +1 -1
- package/dist/chunk-AMUK6GDX.js +0 -23
- package/dist/chunk-AMUK6GDX.js.map +0 -1
- package/dist/chunk-DALI4QRT.js +0 -674
- package/dist/chunk-DALI4QRT.js.map +0 -1
- package/dist/chunk-GISFKKMM.js.map +0 -1
- package/dist/codequality-DTJK2LGF.js +0 -42
- package/dist/codequality-DTJK2LGF.js.map +0 -1
- package/dist/gitlab-JSVU4YFQ.js +0 -35
- package/dist/gitlab-JSVU4YFQ.js.map +0 -1
package/README.md
CHANGED
|
@@ -128,9 +128,9 @@ Local mode:
|
|
|
128
128
|
| `--local` | Off | Review local git changes (no PR URL required) |
|
|
129
129
|
| `--diff-against` | `origin/main` | Git ref to diff against in `--local` mode |
|
|
130
130
|
| `--post` | Off | Post review as a comment on the PR/MR |
|
|
131
|
-
| `--review-style` | `hybrid` | GitLab posting style: `summary`, `inline`, or `hybrid` |
|
|
132
|
-
| `--code-quality` | None | Write a
|
|
133
|
-
| `--commit-status` | Off | Post a pass/fail
|
|
131
|
+
| `--review-style` | `hybrid` | GitLab posting style: rolling `summary`, `inline`, or both with `hybrid` |
|
|
132
|
+
| `--code-quality` | None | Write a Code Quality report containing current and unresolved Hodor findings |
|
|
133
|
+
| `--commit-status` | Off | Post a pass/fail status based on all unresolved Hodor findings |
|
|
134
134
|
| `--require-delivery` | Off | Exit non-zero if requested comments, statuses, or artifacts are not delivered |
|
|
135
135
|
| `--fail-on-priority` | None | Exit non-zero for findings at or above `P0`, `P1`, `P2`, or `P3` |
|
|
136
136
|
| `--review-instructions` | None | Read a custom review profile from a file. It replaces the bundled default profile for this run. |
|
|
@@ -235,6 +235,9 @@ hodor-review:
|
|
|
235
235
|
if [ -n "${METRICS_PUSH_URL:-}" ]; then EXTRA_ARGS="--prometheus-push $METRICS_PUSH_URL"; fi
|
|
236
236
|
bun run /app/dist/cli.js "$MR_URL" --model "$HODOR_MODEL" --post --code-quality gl-code-quality-report.json --commit-status $EXTRA_ARGS
|
|
237
237
|
artifacts:
|
|
238
|
+
expose_as: "Hodor findings"
|
|
239
|
+
paths:
|
|
240
|
+
- gl-code-quality-report.json
|
|
238
241
|
reports:
|
|
239
242
|
codequality: gl-code-quality-report.json
|
|
240
243
|
when: always
|
|
@@ -242,7 +245,7 @@ hodor-review:
|
|
|
242
245
|
timeout: 15m
|
|
243
246
|
```
|
|
244
247
|
|
|
245
|
-
This posts
|
|
248
|
+
This posts actionable findings inline, updates one rolling summary note with collapsed run metrics, sets a commit status from all unresolved Hodor findings, and exposes the cumulative Code Quality report from the MR.
|
|
246
249
|
|
|
247
250
|
See [AUTOMATED_REVIEWS.md](./docs/AUTOMATED_REVIEWS.md) for advanced workflows.
|
|
248
251
|
|