Skip to content

refactor(tools): read setup metadata through the shared catalog - #203

Merged
lurtz merged 1 commit into
eclipse-score:mainfrom
etas-contrib:refactor/tool-setup-metadata
Nov 6, 2026
Merged

lurtz merged 1 commit into
eclipse-score:mainfrom
etas-contrib:refactor/tool-setup-metadata

Conversation

@AlexanderLanin

Copy link
Copy Markdown
Member

Setup scripts and feature tests need the catalog’s version and checksum metadata. Keeping its preparation in the shared reader makes that data available independently of the container installer and keeps metadata rules together after #198.

Move the metadata preparation to catalog.load_setup_metadata() and have the installer use it for setup environments and shell-metadata. Move the existing metadata assertion to the catalog tests and document the boundary. Existing shell exports and installation behavior are preserved.

Part of #190; follows #196 and #198.

Copilot AI balanced review requested due to automatic review settings November 5, 2026 15:52

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues remain for the change centralizing setup metadata preparation in the shared catalog reader.

No open issues 🎉

What changed in this PR

Moves setup metadata preparation into the shared catalog reader, continuing the separation of metadata access from installation logic. Existing shell exports and installation behavior are preserved.

Changes:

  • Add catalog.load_setup_metadata() and use it for setup environments and shell-metadata.
  • Move the version metadata assertion from installer tests to catalog tests.
  • Document the boundary between metadata preparation and installer responsibilities.
File Description
tools/​tests/​environment_test.py Remove the metadata assertion moved to catalog tests.
tools/​tests/​catalog_test.py Verify command versions through the shared metadata reader.
tools/​internal/​README.md Document setup metadata ownership and installer responsibilities.
tools/​internal/​devcontainer/​install.py Replace local metadata preparation with the shared reader.
tools/​internal/​catalog.py Add the extracted setup metadata preparation function.

Review effort: Balanced

@AlexanderLanin
AlexanderLanin marked this pull request as ready for review November 5, 2026 19:24
@lurtz
lurtz added this pull request to the merge queue Nov 6, 2026
Merged via the queue into eclipse-score:main with commit e2df544 Nov 6, 2026
8 checks passed
@github-actions

github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown

🎉 This PR is included in version 1.12.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants