Skip to content

[STORY-4374] feat(organizations): display the organization in the creation confirmation - #1289

Open
annabelle-scalingo wants to merge 5 commits into
masterfrom
STORY-4374/feat/organization-in-creation-confirmation
Open

annabelle-scalingo wants to merge 5 commits into
masterfrom
STORY-4374/feat/organization-in-creation-confirmation

Conversation

@annabelle-scalingo

@annabelle-scalingo annabelle-scalingo commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

displays <organization-slug>/<project-name> in the confirmation for create and database-create, using the project returned by the API
falls back to the existing message when the organization can’t be resolved

Screenshot 2026-11-20 at 08 45 44

stacked on #1287 for the Go SDK bump

@notion-workspace

Copy link
Copy Markdown

annabelle-scalingo and others added 4 commits November 20, 2026 11:10
…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
annabelle-scalingo force-pushed the STORY-4374/feat/organization-in-creation-confirmation branch from 88e5bda to 7bb1adc Compare November 20, 2026 10:18
Base automatically changed from STORY-4375/feat/projects-organization-column to master November 20, 2026 14:04
/feat/organization-in-creation-confirmation
@annabelle-scalingo
annabelle-scalingo marked this pull request as ready for review November 20, 2026 14:23
@annabelle-scalingo
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

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant