Skip to content

fix: Resolve IssueReporting consistently on Swift 6.2 - #10

Merged
maximkrouk merged 4 commits into
mainfrom
codex/dev229-reporting-compat
Sep 5, 2026
Merged

maximkrouk merged 4 commits into
mainfrom
codex/dev229-reporting-compat

Conversation

@maximkrouk

@maximkrouk maximkrouk commented Sep 5, 2026 •

Copy link
Copy Markdown
Member

Swift 6.2 selects Point-Free compatibility manifests that use xctest-dynamic-overlay, while Swift 6.4 uses swift-issue-reporting. This package previously requested the newer identity unconditionally, causing duplicate IssueReporting targets on Xcode 26.2. Choose the same package identity as the dependency graph using a compiler conditional; public products remain unchanged.

Restoring resolution exposed a Swift 6.2 crash when resolving the generic closure-valued preprocessor dependency's associated-type metadata. Retained iOS crash reports consistently point to swift_getAssociatedTypeWitnessSlowImpl called from Environment+CollectPreprocessor.swift:31. Store that private closure in a nominal Sendable value while retaining the existing public getter/setter types and behavior. Add a direct dependency-read regression alongside the existing rendering tests.

CI retains both platform results and exports test/crash diagnostics on failure. No test is disabled and the Xcode 26.2 requirement is unchanged.

Validation: all 66 tests in 15 suites pass locally on Swift 6.4; hosted Xcode 26.2 iOS/macOS tests are running for the metadata fix. The original main/0.1.1 CI failed before compilation, so it does not establish baseline runtime behavior. The metadata diagnosis comes from the repaired graph's actual crash stacks.

Required by CaptureContext/package-resources-cli#9. The consumer will pin the merged revision; no release tag is part of this change.

@maximkrouk

Copy link
Copy Markdown
Member Author

@codex review Please review the compiler conditional against the published Point-Free compatibility manifests. Swift 6.2 uses xctest-dynamic-overlay while Swift 6.4+ uses swift-issue-reporting; both identities cannot coexist because their targets have identical names. Existing CI tests both Apple platforms on Xcode 26.2.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 5, 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-09-05T22:57:44.022823Z 3d0cd78 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.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Keep them coming!

Reviewed commit: b4dcaf29fe

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

@maximkrouk

Copy link
Copy Markdown
Member Author

@codex review The source fix is unchanged from the clean review. Commit b94126c adds failure diagnostics and retains both platform job results so we can diagnose the existing hosted test process failure after successful resolution and compilation. Local Swift 6.4: all 65 tests pass.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Nice work!

Reviewed commit: b94126c63b

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

@maximkrouk

Copy link
Copy Markdown
Member Author

@codex review Added narrow private metadata fix 3d0cd78 after exact crash diagnosis: all three retained iOS crashes resolve the generic closure-valued dependency associated type from Environment+CollectPreprocessor.swift:31. A nominal Sendable wrapper retains the public closure accessor types and existing behavior. All 66 local tests pass; hosted Xcode26.2 will validate the workaround. Please review API/source compatibility and correctness.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Another round soon, please!

Reviewed commit: 3d0cd78c8e

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

@maximkrouk
maximkrouk marked this pull request as ready for review September 5, 2026 23:03
@maximkrouk
maximkrouk merged commit aeb54d1 into main Sep 5, 2026
2 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