Skip to content

CI runs merge3's command test on the Windows -prod binary - #27

Open
MartenH wants to merge 1 commit into
mainfrom
ci-merge3-prod
Open

MartenH wants to merge 1 commit into
mainfrom
ci-merge3-prod

Conversation

@MartenH

@MartenH MartenH commented Oct 31, 2026

Copy link
Copy Markdown
Owner

The test job builds a debug binary, and the windows job ran only check and merge on the -prod one, so merge3 never ran on a -prod build. That is how the crash #26 fixed reached main.

This adds scripts/merge3_cli_test.sh dist/arxmodel.exe to the windows job.

🤖 Generated with Claude Code

The test job's binary is a debug build, so merge3 never ran on a -prod
one, which is how #26's crash reached main.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 31, 2026 •

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 ✅ Completed 2026-10-31T15:09:17.776419Z 82a1cdc Manual request
ℹ️ 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.

@MartenH

MartenH commented Oct 31, 2026

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 82a1cdc672

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread .github/workflows/ci.yml
dist/arxmodel.exe check --schema-dir testdata/schemas testdata/export
dist/arxmodel.exe merge --schema-dir testdata/schemas -o "$RUNNER_TEMP/model.arxml" testdata/export
# the only merge3 a -prod binary runs: a fault of the optimizer shows nowhere else
scripts/merge3_cli_test.sh dist/arxmodel.exe

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Ensure LF fixtures before running the test on Windows

On a Windows checkout with core.autocrlf=true, this test fails on line endings rather than a merge regression. scripts/merge3_cli_test.sh requires the JSON context to contain UUID=\"u1\">\n, but the checked-out ARXML contains CRLF; flatxml.source_xml() preserves those source bytes, so the report contains \r\n instead. The repository has no .gitattributes enforcing LF, and this Windows job does not disable checkout conversion. Ensure LF for the script and its fixtures, or make the context assertion accept CRLF, before adding this invocation.

Useful? React with 👍 / 👎.

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