[BUILD-839] fix(ide): open session URL after project export#2002
Open
[BUILD-839] fix(ide): open session URL after project export#2002
Conversation
When exporting a project to Astro IDE via `astro ide project export`, the CLI now opens the session URL instead of the project URL. This ensures the user lands directly on their imported project's session rather than a blank page. The issue occurred because the frontend now requires session IDs in the URL path for IDE pages. Previously, the CLI was opening the project URL without a session ID, causing the page to appear blank. [BUILD-839] Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Pull Request Test Coverage Report for Build 18fe4422-4c81-4faf-b71b-1e37c8ac1d40Details
💛 - Coveralls |
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
openProjectInBrowserto accept a session ID and construct the session URLastro ide project export, the CLI now opens the session URL (with session ID) instead of the project URLThis fixes the issue where the Astro IDE page appears blank after project import because the frontend now requires session IDs in the URL path.
Related PRs
Test plan
astro ide project exportand verify the browser opens to the session URL{base}/{workspaceId}/astro-ide/{projectId}/sessions/{sessionId}🤖 Generated with Claude Code