Skip to content

fix(version): avoid reading parent repository metadata - #1

Merged
m-mdy-m merged 1 commit into
mainfrom
fix/version-detection-in-parent-repo
Nov 5, 2026
Merged

m-mdy-m merged 1 commit into
mainfrom
fix/version-detection-in-parent-repo

Conversation

@m-mdy-m

@m-mdy-m m-mdy-m commented Nov 5, 2026 •

Copy link
Copy Markdown
Member

Summary

Fix Runtime version resolution when Runtime Lua modules are installed inside another Git checkout.

version.lua previously ran git describe from the installed module directory. Git walks upward, so when CDIN installed Runtime under share/cdin/lua, it found CDIN's .git directory and reported CDIN's version as the Runtime version. The Runtime release metadata module was therefore bypassed.

The resolver now uses Git metadata only when the Runtime module root is the top-level of that Git worktree. A nested installation falls back to the packaged release_metadata.lua version, preserving the component's own release identity.

Verification

The PR remains Draft and is not authorized for merge.

@m-mdy-m
m-mdy-m marked this pull request as ready for review November 5, 2026 09:27
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ⚠️ Failed 2026-11-05T09:27:59.646561Z
We couldn’t complete this review. Comment @codex review to try again.
762aba7 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@m-mdy-m
m-mdy-m merged commit 470cb11 into main Nov 5, 2026
5 checks passed
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