refactor: updates apps and apps:create commands to use sdk - #3720
Merged
tlowrimore-heroku merged 8 commits intoMay 28, 2026
Merged
tlowrimore-heroku merged 8 commits into
tlowrimore-heroku merged 8 commits into
Conversation
tlowrimore-heroku
had a problem deploying
to
AcceptanceTests
May 21, 2026 20:40 — with
GitHub Actions
Failure
tlowrimore-heroku
had a problem deploying
to
AcceptanceTests
May 21, 2026 20:40 — with
GitHub Actions
Error
tlowrimore-heroku
had a problem deploying
to
AcceptanceTests
May 21, 2026 20:40 — with
GitHub Actions
Failure
tlowrimore-heroku
had a problem deploying
to
AcceptanceTests
May 21, 2026 20:40 — with
GitHub Actions
Error
tlowrimore-heroku
force-pushed
the
tl/refactor/sdk-apps-commands
branch
from
May 22, 2026 19:55
35771fb to
aa67757
Compare
tlowrimore-heroku
had a problem deploying
to
AcceptanceTests
May 22, 2026 19:56 — with
GitHub Actions
Error
tlowrimore-heroku
had a problem deploying
to
AcceptanceTests
May 22, 2026 19:56 — with
GitHub Actions
Failure
tlowrimore-heroku
had a problem deploying
to
AcceptanceTests
May 22, 2026 19:56 — with
GitHub Actions
Error
tlowrimore-heroku
had a problem deploying
to
AcceptanceTests
May 22, 2026 19:56 — with
GitHub Actions
Failure
Bumps @heroku/sdk to 0.4.1 and @heroku/types to 0.3.2; the latter adds the missing hasRequestBody flag on configVar.update, which this migration relies on to set config vars from the heroku.yml manifest.
…gap guidance Adds guidance learned from migrating apps:create, where the codemod returned "no change" because the command threaded the APIClient through helpers, and where a missing hasRequestBody flag in @heroku/types silently dropped the configVar.update body at runtime. - Pre-flight P3: distinguish direct vs helper-threaded shapes with a grep diagnostic so the next migrator catches the helper case before running the codemod. - Step 1.2: new "Body silently dropped" entry with a tsx one-liner that prints the route's hasRequestBody flag, plus the @heroku/types bump recovery path. - Step 1.2a: manual-migration recipe for helper-threaded commands - type Platform = HerokuSDK['platform'], APIClient import drop, and a note that direct + helper-threaded shapes can coexist. - Step 1.4: clarify that existing nock tests will fail post-migration on Node 20+ (undici bypasses nock); distinguish real regressions from nock noise by stack-trace location. - Step 1.5: document the n/no-extraneous-import quirk on type-only imports from @heroku/types/3.sdk; allow lockfile bumps in the source commit when driven by a route-metadata gap. - Self-review checklist: add helper-threading callsite check and APIClient import drop; relax the no-incidental-lockfile-edits rule to match Step 1.5.
tlowrimore-heroku
force-pushed
the
tl/refactor/sdk-apps-commands
branch
from
May 26, 2026 21:19
aa67757 to
211f565
Compare
tlowrimore-heroku
had a problem deploying
to
AcceptanceTests
May 26, 2026 21:19 — with
GitHub Actions
Error
tlowrimore-heroku
had a problem deploying
to
AcceptanceTests
May 26, 2026 21:19 — with
GitHub Actions
Failure
tlowrimore-heroku
had a problem deploying
to
AcceptanceTests
May 26, 2026 21:19 — with
GitHub Actions
Failure
tlowrimore-heroku
had a problem deploying
to
AcceptanceTests
May 26, 2026 21:19 — with
GitHub Actions
Error
tlowrimore-heroku
marked this pull request as ready for review
May 26, 2026 21:45
Contributor
Author
Code reviewNo issues found. Checked for bugs and CLAUDE.md compliance. 🤖 Generated with Claude Code - If this code review was useful, please react with 👍. Otherwise, react with 👎. |
michaelmalave
approved these changes
May 27, 2026
michaelmalave
left a comment
Contributor
There was a problem hiding this comment.
Approved but left a comment about types since TeamApp and App are different. Is there work going on to later resolve that?
tlowrimore-heroku
had a problem deploying
to
AcceptanceTests
May 28, 2026 18:54 — with
GitHub Actions
Failure
tlowrimore-heroku
had a problem deploying
to
AcceptanceTests
May 28, 2026 18:54 — with
GitHub Actions
Error
tlowrimore-heroku
had a problem deploying
to
AcceptanceTests
May 28, 2026 18:54 — with
GitHub Actions
Failure
tlowrimore-heroku
had a problem deploying
to
AcceptanceTests
May 28, 2026 18:54 — with
GitHub Actions
Error
tlowrimore-heroku
had a problem deploying
to
AcceptanceTests
May 28, 2026 19:00 — with
GitHub Actions
Failure
tlowrimore-heroku
had a problem deploying
to
AcceptanceTests
May 28, 2026 19:00 — with
GitHub Actions
Error
tlowrimore-heroku
had a problem deploying
to
AcceptanceTests
May 28, 2026 19:00 — with
GitHub Actions
Failure
tlowrimore-heroku
had a problem deploying
to
AcceptanceTests
May 28, 2026 19:00 — with
GitHub Actions
Error
tlowrimore-heroku
had a problem deploying
to
AcceptanceTests
May 28, 2026 19:09 — with
GitHub Actions
Failure
tlowrimore-heroku
had a problem deploying
to
AcceptanceTests
May 28, 2026 19:09 — with
GitHub Actions
Error
tlowrimore-heroku
had a problem deploying
to
AcceptanceTests
May 28, 2026 19:09 — with
GitHub Actions
Error
tlowrimore-heroku
had a problem deploying
to
AcceptanceTests
May 28, 2026 19:09 — with
GitHub Actions
Failure
tlowrimore-heroku
merged commit May 28, 2026
47bea82
into
feat/heroku-sdk-integration
4 of 17 checks passed
This branch had an error being deployed
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.
Summary
appsandapps:createcommands to use SDK instead ofheroku-clientsdk-command-migrationskill to handle cases where the API client is passed into the commandType of Change
Breaking Changes (major semver update)
!after your change type to denote a change that breaks current behaviorFeature Additions (minor semver update)
Patch Updates (patch semver update)
Testing
Related Issues
GUS work item: W-22264732