Repository navigation
[STORY-4374] feat(organizations): display the organization in the creation confirmation - #1289
Open
annabelle-scalingo wants to merge 5 commits into
Open
annabelle-scalingo wants to merge 5 commits into
annabelle-scalingo wants to merge 5 commits into
Conversation
…ation The `create` and `database-create` commands now display `<organization slug>/<project name>` when the project returned by the API belongs to an organization. The project is read once in the current region and the organization slug is resolved with a single `OrganizationsList`. Any failure keeps the existing confirmation message. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The project and organizations reads run after the resource is created. The SDK builds its requests without the context, so a slow API could delay the command for the default 30 seconds of each request. Use a dedicated client with a 2 seconds timeout for these reads and keep the historical confirmation when they fail or time out. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This reverts commit b8df7e8. The dedicated client with a timeout adds complexity for a limited benefit: the SDK does not honour the context, and the enrichment already falls back to the historical confirmation on failure. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…e the organization slug Replace the local projectGetter interface and the hand-written fake with the scalingo.API interface and scalingomock.MockAPI, and pass a single client to OrganizationProjectSlug. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
annabelle-scalingo
force-pushed
the
STORY-4374/feat/organization-in-creation-confirmation
branch
from
November 20, 2026 10:18
88e5bda to
7bb1adc
Compare
Base automatically changed from
STORY-4375/feat/projects-organization-column
to
master
November 20, 2026 14:04
annabelle-scalingo
marked this pull request as ready for review
November 20, 2026 14:23
annabelle-scalingo
requested review from
a team and
curzolapierre
and removed request for
a team
November 20, 2026 14:23
This branch has not been 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.
displays
<organization-slug>/<project-name>in the confirmation forcreateanddatabase-create, using the project returned by the APIfalls back to the existing message when the organization can’t be resolved
stacked on #1287 for the Go SDK bump