@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 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 CodeClimate JSON artifact for GitLab code quality reports |
133
- | `--commit-status` | Off | Post a pass/fail commit status to the GitLab MR head SHA |
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 inline comments on the diff, a summary note, a pass/fail commit status, and a code quality report visible in the MR widget.
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