Repository navigation
build(deps-dev): graduate the issue-creation-policy GraphQL gap - #685
Merged
Merged
Conversation
@octokit/graphql-schema 16.0.0 ships IssueCreationPolicy, Repository.issueCreationPolicy, and UpdateRepositoryInput.issueCreationPolicy, so graphql-js refuses the gap's SDL extension and the nightly probe-schema step and the release-gate upstream-drift job go red on the latest release. Move the pin to 16.0.0, delete the gap file, and regenerate the gaps index. Refs #680
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are reported for the schema dependency update and removal of the obsolete workaround.
No open issues 🎉
What changed in this PR
Updates the GraphQL schema dependency and retires the issue-creation-policy workaround, addressing the schema conflict reported in #680.
Changes:
- Pins
@octokit/graphql-schemato16.0.0. - Removes the obsolete schema extension and regenerates the gap index, leaving only
lfs. - Leaves declared GraphQL operations unchanged.
| File | Description |
|---|---|
src/upstream-gaps/issue-creation-policy.ts |
Deletes the obsolete schema extension. |
src/generated/upstream-gaps.ts |
Removes the retired gap from the generated index. |
package.json |
Updates the exact schema dependency pin. |
bun.lock |
Records the updated dependency and integrity hash. |
Review effort: Balanced
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Before
After
Nightly failure issue: #680. A green night closes it, so this PR only refs it.
How
@octokit/graphql-schema15.26.1 to 16.0.0, exact, like the other@octokitdev pins.gap.tsprescribe.bun .github/scripts/gen-gaps-index.tsleaveslfsas the only pending gap.Proof
bun run checkgreen, 4705 tests pass, 0 fail, 15 generated files match their generators.Technical details
probe-schemastep in both thechecksjob andrelease-gate / upstream-drift.package.json+1 -1,bun.lock+2 -2: a retirement, net negative as expected.issue-creation-policygap file: 2 before (the index import and record entry), 0 after;issueCreationPolicystays in the repository section, its tests, and docs because GitHub still serves the field.package.json,bun.lock,src/generated/upstream-gaps.ts,src/upstream-gaps/issue-creation-policy.ts(deleted).