Skip to content

Give the tests for lost remote repo files their own suite - #31110

Open
fmeum wants to merge 1 commit into
bazelbuild:masterfrom
fmeum:rewind-lost-repo-files-1
Open

fmeum wants to merge 1 commit into
bazelbuild:masterfrom
fmeum:rewind-lost-repo-files-1

Conversation

@fmeum

@fmeum fmeum commented Sep 13, 2026

Copy link
Copy Markdown
Collaborator

Description

The tests for files that the remote repo contents cache has lost set up a very particular kind of failure and run several builds each, so they get their own target, remote_repo_contents_cache_rewinding_test, with its own setup instead of growing the general remote_repo_contents_cache_test suite. The setup shared by both suites moves into a base class, and the repo with a root and a subpackage BUILD file that the existing test builds becomes a helper for the tests that follow.

Motivation

First step of a stack that recovers repo files lost from the remote repo contents cache by rewinding the repo fetch within the same command (#30218). No behavior change.

Build API Changes

No

Release Notes

RELNOTES: None

@fmeum fmeum changed the title Prepare for recovering lost repo files by rewinding Prepare for recovering lost remote repo files by rewinding Sep 13, 2026
@fmeum
fmeum force-pushed the rewind-lost-repo-files-1 branch from 240a05e to c60a53b Compare September 13, 2026 17:34
@fmeum fmeum changed the title Prepare for recovering lost remote repo files by rewinding Refactor in preparation for lost repo files rewinding Sep 13, 2026
@fmeum
fmeum requested review from Wyverald and coeuvre September 13, 2026 17:35
@fmeum
fmeum marked this pull request as ready for review September 13, 2026 17:35
@fmeum
fmeum requested review from a team and meteorcloudy as code owners September 13, 2026 17:35
@fmeum
fmeum removed request for a team and meteorcloudy September 13, 2026 17:35
@github-actions github-actions Bot added team-ExternalDeps External dependency handling, remote repositiories, WORKSPACE file. team-Remote-Exec Issues and PRs for the Execution (Remote) team awaiting-review PR is awaiting review from an assigned reviewer labels Sep 13, 2026
@fmeum
fmeum force-pushed the rewind-lost-repo-files-1 branch from c60a53b to 1b09be7 Compare September 13, 2026 21:29
@fmeum fmeum changed the title Refactor in preparation for lost repo files rewinding Give the tests for lost remote repo files their own suite Sep 13, 2026
@fmeum
fmeum force-pushed the rewind-lost-repo-files-1 branch 3 times, most recently from 63fc191 to a0f019e Compare September 14, 2026 10:39
The tests for files that the remote repo contents cache has lost set up
a very particular kind of failure and run several builds each, so they
get their own target with its own setup instead of growing the general
remote repo contents cache suite. The setup shared by both suites moves
into a base class, and the repo with a root and a subpackage BUILD file
that the existing test builds becomes a helper for the tests that
follow.
@fmeum
fmeum force-pushed the rewind-lost-repo-files-1 branch from a0f019e to a6e60a5 Compare September 14, 2026 11:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting-review PR is awaiting review from an assigned reviewer team-ExternalDeps External dependency handling, remote repositiories, WORKSPACE file. team-Remote-Exec Issues and PRs for the Execution (Remote) team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant