Repository navigation
ci: add read-only upstream merge preview - #855
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
Code Review
This pull request introduces upstream_merge_preview.py, a helper script to generate a read-only, metadata-only preview of an explicit upstream merge, along with its corresponding test suite in test_upstream_merge_preview.py. The review feedback highlights a path traversal vulnerability on Windows within serialise_repo_path due to unnormalized backslashes, and suggests adding test cases to cover this scenario. Additionally, the feedback points out that the Git version parsing regex is too restrictive and will fail on macOS environments, recommending a more permissive pattern.
Summary
Validation
GitHub-hosted fixture checks and the scoped review are pending. The fixtures cover clean content merges, text and directory conflicts, mapped bases, ambiguous or invalid inputs, path encoding, and process exit semantics. No local tests were run.
This change does not merge upstream, modify branch protections, move existing refs, or run a public-repository preview automatically. A conflict preview is diagnostic evidence, not merge or promotion approval.