Repository navigation
Fix(PE-1558): regenerate both schemas and unblock the weekly schema update - #114
Merged
plain-thinh-tran merged 1 commit intoOct 23, 2026
Conversation
plain-thinh-tran
marked this pull request as ready for review
October 23, 2026 13:57
plain-thinh-tran
enabled auto-merge (squash)
October 23, 2026 13:58
mattvagni
reviewed
Oct 23, 2026
| - Field 'SlackThreadChannelAssociation.companyId' is deprecated | ||
| - Field 'SlackThreadChannelAssociation.tenantId' is deprecated | ||
| - Field 'SlackThreadChannelAssociation.tenantMembershipPolicy' is deprecated | ||
| - Field 'Thread.tenant' is deprecated |
Member
There was a problem hiding this comment.
Something is wrong with how this changelog is generated as this has not been removed, just marked as deprecated which is quite different.
I'm going to be taking this over from @mpsq and can then fix this script plus the pending release.
If you want to have a look at this in the meantime, please be my guest!
mattvagni
approved these changes
Oct 23, 2026
mattvagni
left a comment
Member
There was a problem hiding this comment.
Minus the comment on the changeset.
plain-thinh-tran
deleted the
PE-1558/regenerate-both-schemas-and-unblock-the-weekly
branch
October 23, 2026 14:41
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.
Ships the pending GraphQL regeneration and webhooks
2026-10-06in one PR, and fixes the two things that kept the weekly schema update red. Contains the main changes from the weekly generated #98.Note
High Risk
Major GraphQL/ui-components releases drop deprecated company/tenant fields from generated types and add many API changes; webhooks require retargeting to 2026-10-06 or parsing fails.
Overview
Regenerates
@team-plain/graphqland@team-plain/ui-componentsagainst the current Plain API (major releases) and bumps@team-plain/webhooksto schema2026-10-06(minor).The GraphQL schema/SDK refresh continues the company/tenant → account migration: many fields and operations are marked deprecated in
schema.graphql, and the codegen changeset notes that deprecated fields are no longer included in generated result types (e.g.Customer.company, thread/tenant filters). New surface area includes OAuth apps, business hours overrides, account import APIs, member seat cap checks, workflow NOTE steps, billing committed credits /USER_SEATS, and assorted Sidekick/workflow/billing tweaks. Client tests now exercise lazy-loading viacompany.accountOwnerinstead ofcustomer.company, and dropcompanyfrom customer fixtures where the generator no longer selects it.@team-plain/webhooksadds eight account lifecycle events plusdiscussion.turn_stop_requested, extends SLA payloads withFIRST_RESOLUTION_TIME/TOTAL_RESOLUTION_TIME,policy, andbusinessHoursSchedules, and pins parsing towebhookTargetVersion: 2026-10-06(upgrade webhook targets when bumping the package). Webhook codegen is invoked viabashinstead ofsh.Reviewed by Cursor Bugbot for commit c2ac285. Bugbot is set up for automated code reviews on this repo. Configure here.