Skip to content

fix(ci): remove third-party apt sources before apt-get update on Depot runners - #70774

Merged
gantoine merged 1 commit into
masterfrom
mendral/remove-third-party-apt-sources
Jul 14, 2026
Merged

fix(ci): remove third-party apt sources before apt-get update on Depot runners#70774
gantoine merged 1 commit into
masterfrom
mendral/remove-third-party-apt-sources

Conversation

@mendral-app

@mendral-app mendral-app Bot commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Removes third-party APT source lists (including Twingate) before apt-get update on all Depot runner workflows to prevent transient CI failures from expired/broken third-party repos
  • Fixes 14 affected locations across 8 workflow files (ci-rust, ci-rust-flags-integration, ci-backend, ci-python, ci-dagster, ci-nodejs, ci-mcp, ci-e2e-playwright)

Context

Depot runner images ship with pre-installed third-party APT repos (e.g. packages.twingate.com/apt) that our workflows don't need. When those repos return 401 or have connectivity issues, apt-get update exits non-zero and breaks the entire step — even though we only install packages from Ubuntu's official repos.

Insight: https://app.mendral.com/insights/01KXGC522N9DWJ77V092PY9SS7


Note

Created by Mendral. Tag @mendral-app with feedback or questions.

@mendral-app
mendral-app Bot requested a review from rnegron July 14, 2026 15:43
@pr-assigner-resolver-posthog
pr-assigner-resolver-posthog Bot requested a review from a team July 14, 2026 15:43
@trunk-io

trunk-io Bot commented Jul 14, 2026

Copy link
Copy Markdown

Static BadgeStatic BadgeStatic BadgeStatic Badge

View Full Report ↗︎Docs

@github-actions

github-actions Bot commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

🤖 CI report

Playwright — all passed

All tests passed.

View test results →

@mendral-app
mendral-app Bot force-pushed the mendral/remove-third-party-apt-sources branch from 6d20bc8 to 18a9a62 Compare July 14, 2026 16:09
…nners

Depot runner images include a Twingate APT repository that can fail with
401 Unauthorized, breaking apt-get update even though our workflows only
need packages from Ubuntu's official repos.

Add 'sudo rm -f /etc/apt/sources.list.d/*twingate*' before every
apt-get update call on Depot runners to prevent transient failures.

Fixes all 14 affected locations across 8 workflow files.
@mendral-app
mendral-app Bot force-pushed the mendral/remove-third-party-apt-sources branch from 18a9a62 to 627655b Compare July 14, 2026 17:24
@gantoine
gantoine merged commit 9439b74 into master Jul 14, 2026
250 checks passed
@gantoine
gantoine deleted the mendral/remove-third-party-apt-sources branch July 14, 2026 18:00
@deployment-status-posthog

deployment-status-posthog Bot commented Jul 14, 2026

Copy link
Copy Markdown

Deploy status

Environment Status Deployed At Workflow
dev ✅ Deployed 2026-07-14 18:35 UTC Run
prod-us ✅ Deployed 2026-07-14 18:52 UTC Run
prod-eu ✅ Deployed 2026-07-14 18:50 UTC Run

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants