Skip to content

feat(rules): local_user now uses paths as input instead of files to improve caching - #258

Open
GPLeemrijse wants to merge 1 commit into
fix/local-license-no-remote-execfrom
fix/local-user-licence-path
Open

GPLeemrijse wants to merge 1 commit into
fix/local-license-no-remote-execfrom
fix/local-user-licence-path

Conversation

@GPLeemrijse

@GPLeemrijse GPLeemrijse commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Under local_user, popili now gets the licence file by its absolute path instead of as an action input. popili's licensing daemon rewrites that file as it renews, and that used to rerun every popili action and test. The new license_paths rule replaces the symlinked filegroup, and wrapper scripts quote popili's startup arguments literally, so a path with spaces or shell characters (such as macOS's Application Support) reaches popili unchanged. Passing the licence by path is only sound because #256 keeps popili off remote executors, so this PR is stacked on #256. It also relies on the sandbox exposing popili's data directory read-only, which Bazel's default sandboxes do.

@GPLeemrijse
GPLeemrijse force-pushed the fix/local-user-licence-path branch from 4b56aed to 03bd368 Compare November 5, 2026 17:46
@GPLeemrijse
GPLeemrijse added this pull request to stack #259 November 5, 2026 17:46
@GPLeemrijse
GPLeemrijse marked this pull request as ready for review November 5, 2026 17:53
@GPLeemrijse
GPLeemrijse requested a review from tomgr November 5, 2026 17:53
@GPLeemrijse
GPLeemrijse marked this pull request as draft November 5, 2026 21:05
@GPLeemrijse
GPLeemrijse removed the request for review from tomgr November 5, 2026 23:07
@GPLeemrijse
GPLeemrijse force-pushed the fix/local-user-licence-path branch 2 times, most recently from 591c3ad to 968de4f Compare November 6, 2026 16:22
@GPLeemrijse
GPLeemrijse marked this pull request as ready for review November 6, 2026 16:51
@GPLeemrijse
GPLeemrijse requested a review from tomgr November 6, 2026 16:51
@GPLeemrijse
GPLeemrijse force-pushed the fix/local-user-licence-path branch from 968de4f to eba40d7 Compare November 6, 2026 17:10
@GPLeemrijse
GPLeemrijse removed this pull request from stack #259 November 6, 2026 17:20
@GPLeemrijse
GPLeemrijse force-pushed the fix/local-user-licence-path branch from eba40d7 to c2de1e3 Compare November 6, 2026 17:20
@GPLeemrijse
GPLeemrijse added this pull request to stack #268 November 6, 2026 17:20
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.

1 participant