Repository navigation
API: sunset two 1.2.8 deprecations a full year out, and hold the window on the release PR - #2814
Merged
Merged
Conversation
… full year after 1.2.8 Both were first served deprecated by v1.2.8, released 2026-12-02, with x-sunset 2027-12-01: 364 days, one short of the 365-day window. Once the release's date was on main, CI's support-window check failed every pull request. A sunset may only move later, so both move to 2027-12-02.
davidmckayv
requested review from
MikeRyanDev,
dustywusty,
guidovizoso,
mxmzb,
samjulien and
tylerslaton
as code owners
December 2, 2026 20:51
v1.2.8's release PR changed only the release files, so CI skipped the API spec job, and the support window never counted the two new deprecations from the release that first served them. They had sunsets 364 days out and main went red the moment v1.2.8 was published. A release PR now runs the API spec job (a deprecation no release has served yet counts from the day its tree's version is cut), and the publish gate runs the support-window check before anything is tagged, on the day it is published. The two tests that pinned the old 2027-12-01 sunset read the sunset from the spec instead.
This was referenced Dec 2, 2026
tylerslaton
added a commit
that referenced
this pull request
Dec 2, 2026
…hem (#2814) v1.2.8, released today, first served getBotApp's actions and getRecordingTitles deprecated with x-sunset 2027-12-01, 364 days out, so CI's support-window check failed every pull request into mobile. Both move to 2027-12-02, as main moved them in #2814; merging main into mobile later finds the same lines. The workflow part of #2814 is left for that merge. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
tylerslaton
added a commit
that referenced
this pull request
Dec 2, 2026
… Account (#2718) * OpenBot Mobile: Share details under an error, and Report a problem in Account An error on the phone can now be sent to us. Every red notice and every reply that stopped offers "Share details": the phone's share sheet with the error, the screen and the ids it was opened with, the run or message, the OpenBot release, app build and update, the phone and iOS version, the server and the time. Account's "Report a problem" shares the same without an error. Nothing anybody wrote is in it: a screen's address keeps only its ids, and a stored failed reply gives its reason, not its text. It uses React Native's Share, so it needs no new native module and reaches installed apps in an update. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * API: the two 1.2.8 deprecations sunset a full year out, as main has them (#2814) v1.2.8, released today, first served getBotApp's actions and getRecordingTitles deprecated with x-sunset 2027-12-01, 364 days out, so CI's support-window check failed every pull request into mobile. Both move to 2027-12-02, as main moved them in #2814; merging main into mobile later finds the same lines. The workflow part of #2814 is left for that merge. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
9 tasks done
tylerslaton
added a commit
that referenced
this pull request
Dec 3, 2026
… Account (#2718) * OpenBot Mobile: Share details under an error, and Report a problem in Account An error on the phone can now be sent to us. Every red notice and every reply that stopped offers "Share details": the phone's share sheet with the error, the screen and the ids it was opened with, the run or message, the OpenBot release, app build and update, the phone and iOS version, the server and the time. Account's "Report a problem" shares the same without an error. Nothing anybody wrote is in it: a screen's address keeps only its ids, and a stored failed reply gives its reason, not its text. It uses React Native's Share, so it needs no new native module and reaches installed apps in an update. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * API: the two 1.2.8 deprecations sunset a full year out, as main has them (#2814) v1.2.8, released today, first served getBotApp's actions and getRecordingTitles deprecated with x-sunset 2027-12-01, 364 days out, so CI's support-window check failed every pull request into mobile. Both move to 2027-12-02, as main moved them in #2814; merging main into mobile later finds the same lines. The workflow part of #2814 is left for that merge. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
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.
CI's "The 12-month support window holds" step fails every pull request since v1.2.8 went out. Two deprecations were first served by v1.2.8 (released 2026-12-02) with
x-sunset: 2027-12-01, which is 364 days, one short of the 365-day window:getBotApp'sactionsquery parameter (api/openapi/bot-grants.yaml)getRecordingTitles(api/openapi/learning.yaml)A sunset may only move later, so both move to 2027-12-02. The bundle is regenerated; the generated clients don't change. CHANGELOG.md's 1.2.8 entry is the release's and is left as it was.
Why it got through, and the guard
v1.2.8's release PR changed only the release files, so CI skipped the
API specjob on it. That is the one run where a deprecation no release has served yet is counted from the release (scripts/support-window.tsfirstServed: once the tree's version is newer than every release, it counts from today). On every other PR such a deprecation is only held to having a sunset.scripts/ci-changes.ts: a release PR of only the release files now runsAPI spectoo.scripts/ci-changes.test.tsholds it, red before (the release PR ran onlypartialandstatic), green after.publish-release.yml: thechecks neededgate runs the support-window check against the published releases before anything is tagged, on the day the release is published, when the full checks are not re-run.scripts/release-note-check.test.tsandshared/tests/api-deprecations.test.tspinned the old 2027-12-01 date; they now read the sunset from the spec.Ran: ci-changes, release-note-check, api-deprecations, support-window, release-prepare (140 pass) and the tests that read the publish workflow (165 pass).
Changelog
Before upgrading.
GET /api/v2/organizations/{organizationId}/bots/{botId}/apps/{appId} query actions: send the actions in a body with readBotApp instead. Sunset 2027-12-02.GET /api/v2/organizations/{organizationId}/people/{personId}/recording-titles: send the ids in a body with readRecordingTitles instead. Sunset 2027-12-02.