Repository navigation
Conversation
Enterprise Server has no pull request stacks. It validates a whole GraphQL document before `@include` applies, so the `stack` and `stackEntry` fields failed every listing and summary read there, even with `$stacks` false. The search and the linked pull request summary now have a github.com variant with the stack fields and a plain one for every other host. The repository list no longer names them at all, since it already reads stacks in their own git.832008.xyz-only request. Fixes pingdotgg#20436 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ApprovabilityVerdict: Approved at Macroscope's review found this PR approvable — This is a focused GitHub Enterprise compatibility fix that swaps unsupported GraphQL documents for host-specific plain queries while preserving GitHub.com stack behavior. The production logic is limited to pull-request reads, with targeted tests covering the affected paths. You can add or adjust custom eligibility rules. Learn more. |
Port the complete host-specific operation repair from pingdotgg/t3code#20531 at 0e82bf19f9e1d4d9270a88fc5d9ec8c3c55cff2a. Regenerate with the existing Effect generator; retain native batching, credentials, partial errors and cloud stacks. Extend HTTP-boundary regressions for Enterprise listing/search/repository fallback and batched summaries, and cloud null/nonempty stacks in the same request. Register the temporary upstream repair under fork maintenance. Refs #411.
|
Taking over this one for maintainer integration. I will preserve the author history, reduce the tests to the distinct compatibility behaviors, and verify the generated host-specific queries. No merge from this batch. |
Port the complete host-specific operation repair from pingdotgg/t3code#20531 at 0e82bf19f9e1d4d9270a88fc5d9ec8c3c55cff2a. Regenerate with the existing Effect generator; retain native batching, credentials, partial errors and cloud stacks. Extend HTTP-boundary regressions for Enterprise listing/search/repository fallback and batched summaries, and cloud null/nonempty stacks in the same request. Register the temporary upstream repair under fork maintenance. Refs #411.
|
Note 🤖 GPT-6 Astra responding with direction from Zak This fix is still relevant to current At this PR's current head ( GitHub currently reports merge conflicts. Could the maintainer integration noted above be resumed, the branch updated against main, and the fix reviewed? I've also replied on #20436 asking for it to be reopened based on the current source. |
|
Thanks @felixlaga for the earlier work on this GHES regression. This branch is stale: its October 20 head predates changes on main to the same files, and its last conflict check reported conflicts. Closing in favor of #31184 by @mrmeku, which carries the same fix on current main and credits your work. |
GitHub Enterprise Server validates the whole GraphQL document before applying directives, so pull request lists and linked summaries fail when a query names unsupported stack fields, even with
@include(if: false).This keeps @felixlaga's host-specific query design and author history from #20531, with main merged normally. Enterprise list, search, and summary documents omit
stackandstackEntryentirely. github.com keeps stack data in its existing search and summary requests. Shared fragments, alias batching, per-host credentials, paging, and lenient row decoding remain in place.Verification at 4bdb33d3e1:
Before/after proof · Schema validation results
No live Enterprise account was available. An authenticated github.com attempt hit the shared GraphQL rate limit; no live success is claimed. Other Enterprise versions, macOS, Windows, Electron, iOS, and Android were not exercised. No visual layout changed. This fix is limited to stack fields; other schema compatibility work remains separate.
Fixes #20436.
Tests: Codex gpt-6-astra. Implementation: Codex gpt-6.1-sol. Reviews: Claude Opus 5.5 and Codex gpt-6-sol. Harness: T3 Code.