Rate gitlab-org/container-registry dependency bumps against its own rules

What does this MR do?

Step 4 of gitlab-org/container-registry#3007: rules for the MR Risk Labeler in gitlab-org/container-registry (13831684), in mode: test.

  • instructions/13831684/:
    • mr-risk-rules.yml defines two areas:
      • deps: the root and devvm/go/ go.mod and go.sum.
      • other: **/*, floored at high.
    • deps.md and other.md are the rubrics. README.md describes the folder.
  • instructions/README.md: adds the project table row.
  • src/mr-risk/flow.yml.erb: adds 13831684 to the group 9970 consumer. flows/mr-risk.yml is recompiled.

Ratings in deps.md

  • Low:
    • A patch bump of a runtime module at 1.0.0 or later.
    • A patch or minor bump of the devvm module.
    • A patch or minor bump of a test-only module.
    • no registry package moves.
  • Medium: runtime minor bumps, modules below 1.0.0, and modules added or removed.
  • High:
    • Major bumps, the Go and toolchain lines, replace directives, and hash mismatches.
    • New init or C code.
    • Any bump of a risky module: object storage, database and cache, tokens and crypto, image format, labkit.

The risky-module list matches the Renovate guard in gitlab-org/frontend/renovate-gitlab-bot!1820 (merged) (step 3). That MR labels the same modules automation:prevent-risk-flow, so the approval flow doesn't run on them at all.

Test mode only writes test- labels and acts on nothing. Going live is a separate one-line MR. Step 5 (the triage-ops entry) needs the consumer ID this MR produces once it merges, so it isn't part of this MR.

Open questions for the reviewer

These come from the issue and are not decided here:

  • Is the risky list complete? In particular:
    • google.golang.org/api: on the list, as in the original draft. Keep it?
    • golang.org/x/net: not on the list (it rates medium as a module below 1.0.0). Add it?
  • Keep the devvm module in scope (deps area paths and the low rule for devvm bumps), or drop it?

Checks

  • make check passes: flows current, rubocop, yamllint, and specs (0 failures).
  • From a container-registry checkout, every tracked path falls in an area. deps owns exactly go.mod, go.sum, devvm/go/go.mod and devvm/go/go.sum.
  • bin/replay was not run: there are no container-registry replays yet, and it makes model calls.

Reviewers: @hswimelar (owner), then @jdrpereira.

🤖 Generated by Claude

Merge request reports

Loading
Loading