Skip to content

Tracking: Make the lftools-uv pin update itself #120

Backlog

Description

Need

docs-build.yaml pins the lftools-uv release its ReadTheDocs job runs: the
lftools_version input, 0.11.0 once #119 merges. Dependabot cannot see
that value, so it never moves by itself, and every lftools-uv release has to
be raised here by hand, as #116 was.

credential-load-action had the same problem with the 1Password CLI and
solved it. Its op-cli-version-check.yaml compares the pin with the latest
release each Tuesday, raises a pull request as the lf-releng-general-bot
App and posts to Slack. Its first bump was
lfreleng-actions/credential-load-action#177, on 2026-11-24.

This issue tracks doing the same for the lftools-uv pin. It carries
no-agent until a maintainer has chosen between the options below.

Why that workflow cannot be copied here unchanged

Measured on 2026-11-24:

  • The pin is in a workflow file. A GitHub App needs the workflows
    permission to commit to a file under .github/workflows/.
    lf-releng-general-bot has contents, pull_requests and issues to
    write, and actions, checks and metadata to read; it has no
    workflows. In credential-load-action the pin is in action.yaml,
    which contents covers.
  • The bot's key does not reach this repository. The organisation secret
    LF_RELENG_BOT_PRIVATE_KEY is shared with credential-load-action and
    not with docs-workflows, rtd-build-action or openstack-cron-action.
    LF_RELENG_BOT_CLIENT_ID, SLACK_BOT_TOKEN and SLACK_CHANNEL_ID are
    visible here.
  • A bump raised here is untested here. testing.yaml keeps the
    ReadTheDocs legs off, and rtd-build-action tests itself against a
    stand-in for uvx, so no check anywhere runs the action against the real
    lftools-uv. Moving from 0.8.0 to 0.11.0 changed the exit status lftools-uv
    gives for a missing project, which the action relied on, and neither
    suite could have seen it (Feat: Run lftools-uv 0.11 with pinned deps rtd-build-action#75).
  • The same value is pinned twice. rtd-build-action has an
    lftools_version default of its own, 0.11.0 in v0.2.0, and refuses
    anything older. This workflow always passes its own value, so the
    action's default never applies and the two can disagree, which is what
    CI: Run lftools-uv 0.11.0 for Read the Docs #116 repaired.

Options

A. Follow the action (recommended).

  • rtd-build-action owns the pin. An empty lftools_version comes to mean
    "the release this action pins"; today it means the newest release. The
    pin updates itself there, in action.yaml, with a port of
    op-cli-version-check.yaml: contents is enough, and the Slack message
    and pull request look as they do for the 1Password CLI.
  • rtd-build-action gains a check that runs its verify and merge lanes
    with the real pinned lftools-uv against a local stand-in for the Read the
    Docs API, so a bump is tested before it merges.
  • This workflow defaults lftools_version to empty and keeps the input as
    an override. Dependabot already raises each rtd-build-action release
    here, with no cooldown.

One pin, tested where the tool runs, no workflows permission, and the
mismatch behind #116 cannot recur. It needs LF_RELENG_BOT_PRIVATE_KEY
shared with rtd-build-action.

A lighter variant keeps the pin in a requirements file inside the action
(lftools-uv[pinned]==0.11.0) for Dependabot to bump: no bot credential,
and no Slack message.

B. Copy op-cli-version-check.yaml here. Needs the workflows
permission added to lf-releng-general-bot, for every repository it is
installed on, and its key shared with this repository. The value stays
pinned in two places, and a bump still passes this repository's checks
untested.

C. A Slack reminder alone. The same weekly check without the pull
request, which is how op-cli-version-check.yaml behaves when it has no
bot credential. Needs no new permission; someone still raises the bump.

Also in scope of the decision

openstack-cron-action pins lftools-uv the same way, as the
lftools_version default in its action.yaml, so whatever
rtd-build-action gets applies there unchanged. Its install test already
runs the real tool.

Activity

  1. added
    enhancement
    no-agent
    on Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementno-agent

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions