bazelbuild / bazelbuild/bazel

blocks-network and allows-network are different for different spawn strategies

Open
#7,303 6 comments 0 reactions 0 assignees View on GitHub
not stale P2 team-Local-Exec type: feature request
Dominant language
Java
Stars
25.8k
Forks
4.6k
Avg merge
2d 20h
Merged PRs (30d)
72

Description

Currently, remote execution uses platforms to manage whether tests have network access or not. linux-sandbox uses tags.

This means that we need to define tags and platform requirements for all actions which have requirements different than the default. That's error prone. There should be one way to control requirements across multiple spawn strategies.

This is on Linux, but the OS shouldn't matter here.

Contributor guide

Open the contributing guide

Research direction

Start by comparing the remote execution and linux-sandbox spawn strategies, focusing on how each currently expresses network requirements through platforms or tags. Done means actions can use one consistent mechanism to control network access across spawn strategies without strategy-specific requirements.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux
Domain
build-system
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.