Loading
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.ymldefines two areas:deps: the root anddevvm/go/go.modandgo.sum.other:**/*, floored athigh.
deps.mdandother.mdare the rubrics.README.mddescribes the folder.
instructions/README.md: adds the project table row.src/mr-risk/flow.yml.erb: adds13831684to the group 9970 consumer.flows/mr-risk.ymlis 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
devvmmodule. - 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
initor 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 ratesmediumas a module below 1.0.0). Add it?
-
- Keep the
devvmmodule in scope (depsarea paths and the low rule for devvm bumps), or drop it?
Checks
make checkpasses: flows current, rubocop, yamllint, and specs (0 failures).- From a container-registry checkout, every tracked path falls in an area.
depsowns exactlygo.mod,go.sum,devvm/go/go.modanddevvm/go/go.sum. bin/replaywas not run: there are no container-registry replays yet, and it makes model calls.
Reviewers: @hswimelar (owner), then @jdrpereira.