posit-dev / posit-dev/commons

Flaky test: R workflows fail when Launchpad cannot serve the xtradeb PPA key

Open
#164 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
44
Forks
1
Avg merge
1d 7h
Merged PRs (30d)
142

Description

All three R workflows (R-CMD-check, pkgdown, citation-browser) fail intermittently in setup-r-dependencies, before any R code runs.

The package's system requirements resolve to chromium, so pak's pre_install runs add-apt-repository -y ppa:xtradeb/apps. That fetches the PPA signing key from Launchpad, and when Launchpad's API returns HTTP 500 the step dies with GPGKeyTemporarilyNotFoundError.

Because the three workflows share the step, one Launchpad hiccup fails all three at once, in about 90 seconds. The jobs look like a code failure but nothing was compiled or tested.

Seen on #163 (2026-08-25): all three failed, two passed on retry, pkgdown then failed the same way on two further retries.

Worth considering: install chromium without the PPA, ship or pin the signing key, or retry the sysreqs step. Whichever way, the goal is that a Launchpad outage stops blocking every PR that touches pkg-r/ or tests/shared/.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Inspect the shared setup-r-dependencies step used by the R-CMD-check, pkgdown, and citation-browser workflows, along with the pkg-r/ and tests/shared/ paths. Reproduce or trace the Launchpad HTTP 500 failure and compare the available approaches in the issue. Done means a transient Launchpad outage no longer blocks all three workflows, with the affected workflows passing reliably.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, r
Domain
ci-cd, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.