Skip to content

[Graphite MQ] Draft PR GROUP:spec_943039 (PRs 3961)#3962

Closed
graphite-app[bot] wants to merge 1 commit intomainfrom
gtmq_spec_943039_1768621230193-81b2aa37-ea4c-4fd0-821f-42e24c06b446
Closed

[Graphite MQ] Draft PR GROUP:spec_943039 (PRs 3961)#3962
graphite-app[bot] wants to merge 1 commit intomainfrom
gtmq_spec_943039_1768621230193-81b2aa37-ea4c-4fd0-821f-42e24c06b446

Conversation

@graphite-app
Copy link
Copy Markdown
Contributor

@graphite-app graphite-app bot commented Jan 17, 2026

This draft PR was created by the Graphite merge queue.
Trunk will be fast forwarded to the HEAD of this PR when CI passes, and the original PRs will be closed.

The following PRs are included in this draft PR:

### TL;DR

Added actor count query functionality and improved the onboarding experience with better error handling and deployment URL formatting.

### What changed?

- Added a new `actorsCountQueryOptions` function to efficiently query the count of actors
- Updated the frontend setup to use the new actor count query instead of fetching all actors
- Improved actor error display to show crash messages
- Fixed deployment URL formatting by properly extracting the base URL
- Added Posthog tracking for when users skip onboarding
- Enhanced the namespace route to use the new actor count query for determining if actors exist
- Improved error handling in the actor status label component to display more specific crash messages

### How to test?

1. Navigate to the getting started flow and verify the actor count is displayed correctly
2. Check that deployment URLs are properly formatted in the frontend setup
3. Trigger an actor crash and verify the error message is displayed correctly
4. Skip onboarding and confirm the Posthog event is captured

### Why make this change?

The previous implementation was inefficient as it fetched all actors just to get a count. This change optimizes performance by providing a dedicated endpoint for actor counts. Additionally, the improved error handling and URL formatting enhance the user experience during onboarding by providing clearer feedback and properly formatted links.
@railway-app
Copy link
Copy Markdown

railway-app bot commented Jan 17, 2026

This PR was not deployed automatically as @graphite-app[bot] does not have access to the Railway project.

In order to get automatic PR deploys, please add @graphite-app[bot] to your workspace on Railway.

@graphite-app graphite-app bot closed this Jan 17, 2026
@railway-app railway-app bot temporarily deployed to rivet-frontend / preview January 17, 2026 03:41 Inactive
@graphite-app graphite-app bot deleted the gtmq_spec_943039_1768621230193-81b2aa37-ea4c-4fd0-821f-42e24c06b446 branch January 17, 2026 03:41
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