Skip to content

docs(#3503): document RPM lockfile scope for UBI bump PRs - #3575

Open
fullsend-ai-coder[bot] wants to merge 1 commit into
mainfrom
agent/3503-document-rpm-lockfile-scope
Open

fullsend-ai-coder[bot] wants to merge 1 commit into
mainfrom
agent/3503-document-rpm-lockfile-scope

Conversation

@fullsend-ai-coder

Copy link
Copy Markdown
Contributor

What:

Add a UBI Base Image Updates section to AGENTS.md that documents:

  • The three Dockerfiles pinned to the ubi-minimal digest and the bump
    workflow (hack/ubi-base-image-bump.shhack/update-rpm-lock.sh).
  • The scope of rpms.lock.yaml — it is generated from rpms.in.yaml
    and only tracks the packages listed there (ca-certificates, jq,
    gzip). RPMs that live inside the base image itself
    (curl-minimal, glib2, libcurl-minimal, libnghttp2, etc.) are
    not tracked.
  • Reviewer guidance — an unchanged rpms.lock.yaml after a UBI
    digest bump is the expected outcome when no tracked package's version
    changed, and should not be flagged as "lockfile was not regenerated."
  • Release-branch nuance — on release-v* branches, bumps may
    intentionally skip the acceptance Dockerfile.

Why:

On PR #3499, an automated reviewer flagged rpms.lock.yaml as not
regenerated after a UBI base image digest bump. The lockfile was
regenerated but produced no diff because the updated RPMs
(curl-minimal, glib2, libcurl-minimal, libnghttp2) live inside
the base image and are not tracked in rpms.in.yaml. The tracked
packages (ca-certificates, jq, gzip) were unaffected. Dismissing
this false positive cost ~1.5 hours of reviewer back-and-forth.

The root cause is a documentation gap: nothing in the repo explained
what rpms.lock.yaml actually tracks or why a no-diff regeneration is
expected. Documenting this in AGENTS.md gives both automated
reviewers and humans enough context to dismiss the same finding on
future UBI bump PRs without contacting the author.

Related work: PR #3504 adds a broader UBI Base Image Updates section
covering release-branch behavior. This PR focuses on the RPM lockfile
scope. If both land, the sections should be reconciled — the topics
are complementary.

Tickets:

Issue #3503.

Testing:

Documentation-only change to AGENTS.md; no code paths are affected.
Verified the added section renders as intended in the diff and that
the file has no other changes.


Closes #3503

Post-script verification

  • Branch is not main/master (agent/3503-document-rpm-lockfile-scope)
  • Secret scan passed (gitleaks — 65cf118af7ebe9efb68a3fd396d0eb249a001ca5..HEAD)
  • PR body secret scan passed (gitleaks — no-git)

Add a UBI Base Image Updates section to AGENTS.md that explains the
relationship between hack/ubi-base-image-bump.sh, hack/update-rpm-lock.sh,
and the scope of rpms.lock.yaml.

The section documents that rpms.lock.yaml is regenerated from rpms.in.yaml
and only tracks the explicitly listed packages (ca-certificates, jq, gzip).
RPMs that live inside the ubi-minimal base image are not tracked, so a
digest bump that only ships updates to base-image-bundled RPMs produces
no diff in the lockfile even when regeneration ran successfully.

The absence of documentation for this behavior led to a false-positive
review finding on PR #3499 that claimed the lockfile was not regenerated,
costing ~1.5 hours of reviewer back-and-forth. The added section gives
reviewers (human and automated) enough context to dismiss the same
finding on future UBI bump PRs.

Also carries the release-v* branch guidance so all UBI-bump review
context lives in one place.

Note: pre-commit hooks were not run. `pre-commit` could not fetch
the conforma/hooks repository (HTTP 403 from the sandbox), and the
only configured hook (check-commit-message) runs at the commit-msg
stage, not against files. The 'resolves: #3503' trailer below is
formatted to satisfy that hook when it runs in CI.

resolves: #3503
@fullsend-ai-coder
fullsend-ai-coder Bot requested a review from a team as a code owner September 22, 2026 09:00
@fullsend-ai-coder fullsend-ai-coder Bot added the ready-for-review Triggers review agent dispatch label Sep 22, 2026
@coderabbitai

coderabbitai Bot commented Sep 22, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: 2adb9595-e8b3-461c-a467-16d36c36d0ed

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Comment @coderabbitai help to get the list of available commands.

@fullsend-ai-review fullsend-ai-review Bot added the risk/moderate PR risk: moderate label Sep 22, 2026
@fullsend-ai-review

Copy link
Copy Markdown

Risk Assessment: moderate (2/5)

Details

Purely additive documentation change to AGENTS.md tightly scoped to a well-defined issue; the only elevated signals are bot authorship and modification of a protected agent-instructions file.

@fullsend-ai-review

Copy link
Copy Markdown

Review

Findings

Medium

  • [protected-path] AGENTS.md — This PR modifies AGENTS.md, which is listed in the review's protected-paths configuration (governance/agent-instructions file). Sufficient context is present (linked to issue Document UBI base image bump workflow in AGENTS.md to prevent false-positive review findings #3503; PR description explains the rationale for the change), so this is a medium notice rather than a high blocker, but human approval is always required for protected-path changes regardless of context.

@fullsend-ai-review fullsend-ai-review Bot added the requires-manual-review Review requires human judgment label Sep 22, 2026
@codecov

codecov Bot commented Sep 22, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

Flag Coverage Δ
acceptance 54.51% <ø> (ø)
generative 12.25% <ø> (ø)
integration 23.56% <ø> (ø)
unit 72.24% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Comment thread AGENTS.md

### RPM lockfile scope

`rpms.lock.yaml` is generated from `rpms.in.yaml` and only tracks the packages

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/fs-fix The lockfile also contains resolved dependencies (for example, oniguruma), not only packages explicitly listed in rpms.in.yaml. Please clarify the scope accordingly.

@jsmid1

jsmid1 commented Sep 23, 2026

Copy link
Copy Markdown
Contributor

/fs-fix The lockfile also contains resolved dependencies (for example, oniguruma), not only packages explicitly listed in rpms.in.yaml. Please clarify the scope accordingly.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-review Triggers review agent dispatch requires-manual-review Review requires human judgment risk/moderate PR risk: moderate size: S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Document UBI base image bump workflow in AGENTS.md to prevent false-positive review findings

1 participant