Skip to content

refactor: clarify runtime to execroot path conversion - #823

Merged
MaximilianSoerenPollak merged 1 commit into
mainfrom
runtime-path-conversion
Sep 15, 2026
Merged

MaximilianSoerenPollak merged 1 commit into
mainfrom
runtime-path-conversion

Conversation

@AlexanderLanin

@AlexanderLanin AlexanderLanin commented Sep 14, 2026

Copy link
Copy Markdown
Member

What this achieves

Clarifies the helper name used when translating bundle runtime paths to paths relative to Bazel's execution root.

Why this is needed

The helper is used for both local and external bundle source paths. Its previous name, _bundle_execroot_path, did not describe the input transformation clearly, which made the path representation boundary harder to understand.

Changes

  • Rename _bundle_execroot_path to _convert_runtime_path_to_execroot_path.
  • Update the docstring, explanatory reference, and call sites.

@AlexanderLanin
AlexanderLanin added this pull request to stack #821 September 14, 2026 18:30
@AlexanderLanin AlexanderLanin changed the title runtime path conversion refactor: clarify runtime to execroot path conversion Sep 14, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Documentation preview for this pull request is available at:
pr-823: https://eclipse-score.github.io/docs-as-code/pr-823/

@MaximilianSoerenPollak MaximilianSoerenPollak left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems fine to me.

As long as we are sure that bundle_execroot_path is the only thing used in these places that should exists.

Base automatically changed from source-dir to main September 15, 2026 13:15
@AlexanderLanin
AlexanderLanin dismissed MaximilianSoerenPollak’s stale review September 15, 2026 13:15

The merge-base changed after approval.

@MaximilianSoerenPollak
MaximilianSoerenPollak merged commit 68d7320 into main Sep 15, 2026
22 checks passed
@MaximilianSoerenPollak
MaximilianSoerenPollak deleted the runtime-path-conversion branch September 15, 2026 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

2 participants