Skip to content

freebsd-amd64: reject exit-0 in the etext/end XFAIL signature check - #81

Merged
GGRei merged 1 commit into
vlang:thirdparty-freebsd-amd64from
quaesitor-scientiam:fix/etext-end-exit-0-rejection
Jul 27, 2026
Merged

freebsd-amd64: reject exit-0 in the etext/end XFAIL signature check#81
GGRei merged 1 commit into
vlang:thirdparty-freebsd-amd64from
quaesitor-scientiam:fix/etext-end-exit-0-rejection

Conversation

@quaesitor-scientiam

Copy link
Copy Markdown

Follow-up to #75. That PR merged before a Codex finding on the sibling
macos-amd64 workflow (pullrequestreview-4783389496, #74) was ported over
here, so it never made it in.

is_known_etext_end only rejected signal-terminated exits (>128), never
exit 0. A changed tcc.exe that starts printing the same etext/end
diagnostic as noise while still exiting 0 overall would still be accepted
as the known XFAIL — the text alone isn't proof the compile actually
failed. Now rejects both signal-terminated exits and exit 0, matching the
same hardening already merged on macos-amd64.

Single-line logic change, no other behavior affected.

Fixes the same class of gap as pullrequestreview-4783389496 on the
sibling macos-amd64 workflow, vlang#74 (applied here
proactively): is_known_etext_end only rejected signal-terminated
exits (>128), never exit 0 - a changed tcc.exe reporting the expected
etext/end diagnostic as noise while still succeeding overall would
still be accepted as the known XFAIL.
@GGRei

GGRei commented Jul 27, 2026

Copy link
Copy Markdown

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Already looking forward to the next diff.

Reviewed commit: 891d6c13bf

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

@GGRei
GGRei merged commit bf0ad2f into vlang:thirdparty-freebsd-amd64 Jul 27, 2026
1 check passed
@quaesitor-scientiam
quaesitor-scientiam deleted the fix/etext-end-exit-0-rejection branch July 27, 2026 19:46
GGRei added a commit that referenced this pull request Jul 29, 2026
Restore the validated #75 workflow including the #81 exit-zero hardening after the automated TCC rebuild removed the branch-local CI file. Keep the 85ba3ae8 TCC update and all rebuilt artifacts unchanged.
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.

3 participants