Skip to content

CI: Run lftools-uv 0.11.0 for Read the Docs - #119

Merged
ModeSevenIndustrialSolutions merged 1 commit into
lfreleng-actions:mainfrom
lfreleng-bot-forks:code-monkey/issue-116
Nov 24, 2026
Merged

ModeSevenIndustrialSolutions merged 1 commit into
lfreleng-actions:mainfrom
lfreleng-bot-forks:code-monkey/issue-116

Conversation

@lf-releng-code-monkey-bot

Copy link
Copy Markdown
Contributor

Closes #116

Authored by an AI agent; human review required
Command Exit
git ls-remote https://github.com/lfreleng-actions/rtd-build-action 'refs/tags/v0.2.0*' 0
uvx zizmor --persona auditor .github/workflows/docs-build.yaml 0
AISLOP_NO_TELEMETRY=1 aislop scan --base 3dd3b243a7add340fae857ca4e676f5357a1977d --json 0
prek run --hook-stage commit-msg --commit-msg-filename <(git log -1 --format=%B) gitlint 0
prek run --files .github/workflows/docs-build.yaml README.md 0

The github-code-monkey-bot workflow opened this pull request.
Nobody has merged it; a maintainer must review it first.
Review findings on this pull request are answered by a later revision round of this workflow, up to ten rounds per antagonistic review round; after that a maintainer, or the next antagonistic review, takes on any finding that remains, and a maintainer reviews every round before merge.


Pins lfreleng-actions/rtd-build-action to v0.2.0 and raises the lftools_version default of docs-build.yaml from 0.8.0 to 0.11.0 in the same commit, so the workflow never runs the new action with the old default.

What changed and why

  • .github/workflows/docs-build.yaml: rtd-build-action is pinned to the v0.2.0 release commit 8f9e04c043eefad681f0c6a1c24234ba60dc8696 (# v0.2.0), not the annotated tag object bc278b9…. I checked the commit with git ls-remote: it is the peeled refs/tags/v0.2.0^{}. v0.2.0 runs lftools-uv with its pinned extra, so every dependency resolves to an exact version. A bad dependency release, like openstacksdk 4.23.0 on 2026-11-19, therefore can no longer reach every documentation build at once.
  • The lftools_version input now defaults to 0.11.0, and its description says that 0.11.0 is the oldest release the action accepts. v0.2.0 refuses older versions, which have no pinned extra.
  • README.md: a short paragraph after the inputs table describes lftools_version, its default and the floor.

Nothing else in the readthedocs job changes. The action's inputs and outputs are the same in v0.2.0 as in v0.1.4.

Effect on callers

  • A caller that passes an lftools_version below 0.11.0 now fails in the ReadTheDocs step, before any Read the Docs call. The callers found on 2026-11-24 (onap/.github, o-ran-sc/.github, opendaylight/docs) pass none, so they pick up the new default.
  • Since v0.1.4 the action also sets up Python 3.13 for its own helpers, using actions/setup-python with update-environment: false. Before, it used the python3 on the caller's PATH.

Checks run

  • prek run --files .github/workflows/docs-build.yaml README.md: all hooks passed, including yamllint, actionlint, zizmor, markdownlint and the workflow validators. No hook was skipped.
  • gitlint (commit-msg stage): passed. The subject is 44 characters.
  • zizmor --persona auditor .github/workflows/docs-build.yaml: no findings.
  • aislop scan (telemetry off) against the base commit: empty diagnostics.

For reviewers

  • testing.yaml keeps the ReadTheDocs legs off, so no check here runs the new action or lftools-uv 0.11.0. rtd-build-action tests itself. None of the static checks in testing.yaml mention the old pin or the old default, so they are unchanged.
  • This session could not check whether Dependabot has already opened a pull request for the same action bump. If it has, close that one in favour of this pull request, because the bump on its own would break every caller's ReadTheDocs job.

Pin rtd-build-action to v0.2.0, which runs lftools-uv with its
pinned extra so each dependency resolves to an exact version rather
than the newest its requirements allow. A bad dependency release can
then no longer reach every documentation build at once.

v0.2.0 refuses an lftools_version older than 0.11.0, which has no
such extra, so raise the input's default from 0.8.0 to 0.11.0 in the
same change and document the floor in the input description and the
README.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: lf-releng-code-monkey-bot[bot] <332050256+lf-releng-code-monkey-bot[bot]@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues were identified for the documentation workflow update.

No open issues 🎉

What changed in this PR

Updates the reusable documentation workflow to use rtd-build-action v0.2.0 and lftools-uv 0.11.0 together, addressing #116 without pairing the new action with an unsupported default.

Changes:

  • Pins rtd-build-action to the v0.2.0 release commit.
  • Raises the lftools_version default to 0.11.0, enabling pinned dependencies.
  • Documents the minimum supported version and failure behavior for older overrides.
File Description
README.md Documents the lftools-uv default, pinned dependencies, and minimum version.
.github/​workflows/​docs-build.yaml Updates the action pin, lftools-uv default, and input description.

Review effort: Balanced

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🤖 Antagonistic review by agent: no line-level findings; the summary below is the verdict.

No evidenced defects found: the action pin, version default, input forwarding and documentation are consistent. The external action's implementation is unavailable in the packet, and CI disables the ReadTheDocs job, so runtime compatibility remains unverified.

Antagonistic round 1 of 3.


Automated antagonistic review by lf-releng-antagonistic-review-bot[bot] using model gpt-6-astra; see the run. This is not a human review and never an approval: a maintainer must still review and approve this pull request.

@ModeSevenIndustrialSolutions
ModeSevenIndustrialSolutions merged commit ba8e829 into lfreleng-actions:main Nov 24, 2026
37 checks passed
@ModeSevenIndustrialSolutions
ModeSevenIndustrialSolutions deleted the code-monkey/issue-116 branch November 24, 2026 12:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI CI and tests updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI: Run lftools-uv 0.11.0 for Read the Docs

2 participants