Skip to content

Conversation

jog1t
Copy link
Contributor

@jog1t jog1t commented Sep 5, 2025

Closes FRONT-796

TL;DR

Added auto-wake functionality for sleeping actors in the actor inspector UI.

What changed?

  • Added a new wakeOnSelect filter option that automatically wakes up sleeping actors when selected
  • Created a GuardConnectableInspector component that handles different actor states (destroyed, sleeping, pending allocation)
  • Implemented actor wake-up functionality with both manual and automatic options
  • Added mutation and query options for waking up actors
  • Improved error handling and user feedback for various actor states
  • Refactored the actor context provider system to better handle different actor states
  • Enhanced filter definitions to support default values

How to test?

  1. Select a sleeping actor in the actors list
  2. Observe that it automatically wakes up if the "Auto-wake Actors on select" filter is enabled
  3. Disable the auto-wake filter and select a sleeping actor
  4. Verify that a "Wake up Actor" button appears and functions correctly
  5. Test different actor states (destroyed, sleeping, pending allocation) to ensure appropriate messages are displayed

Why make this change?

This change improves the user experience when working with sleeping actors by providing an automatic wake-up option. Previously, users had to manually wake up actors before being able to inspect them, which added friction to the workflow. The new functionality streamlines the process while still giving users control over when actors are awakened.

Copy link

vercel bot commented Sep 5, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
engine-test-runner Error Error Sep 17, 2025 4:53pm
rivet-cloud Error Error Sep 17, 2025 4:53pm
rivet-site Canceled Canceled Sep 17, 2025 4:53pm
rivet-studio Ready Ready Preview Comment Sep 17, 2025 4:53pm

Copy link
Contributor Author

jog1t commented Sep 5, 2025


How to use the Graphite Merge Queue

Add the label merge-queue to this PR to add it to the merge queue.

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

Copy link

claude bot commented Sep 5, 2025

Claude encountered an error —— View job


I'll analyze this and get back to you.

Copy link

pkg-pr-new bot commented Sep 5, 2025

Open in StackBlitz

npm i https://pkg.pr.new/rivet-dev/engine/@rivetkit/engine-runner@2875
npm i https://pkg.pr.new/rivet-dev/engine/@rivetkit/engine-runner-protocol@2875
npm i https://pkg.pr.new/rivet-dev/engine/@rivetkit/engine-tunnel-protocol@2875

commit: 71edb90

Copy link

linear bot commented Sep 5, 2025

Copy link
Contributor

graphite-app bot commented Sep 5, 2025

Graphite Automations

"Test" took an action on this PR • (09/05/25)

1 assignee was added to this PR based on Kacper Wojciechowski's automation.

@jog1t jog1t force-pushed the 09-06-feat_fe_handle_runners_unavailability branch from cc92e53 to 746212f Compare September 8, 2025 22:41
@jog1t jog1t mentioned this pull request Sep 8, 2025
Copy link

claude bot commented Sep 8, 2025

Claude encountered an error —— View job


I'll analyze this and get back to you.

Copy link

claude bot commented Sep 12, 2025

Claude encountered an error —— View job


I'll analyze this and get back to you.

Copy link

claude bot commented Sep 12, 2025

Claude encountered an error —— View job


I'll analyze this and get back to you.

@jog1t jog1t changed the base branch from main to graphite-base/2875 September 12, 2025 22:39
@jog1t jog1t force-pushed the 09-06-feat_fe_handle_runners_unavailability branch from 7d2a35f to 71c745a Compare September 12, 2025 22:40
@jog1t jog1t changed the base branch from graphite-base/2875 to 09-12-chore_util_increase_max_ident_len September 12, 2025 22:40
@NathanFlurry NathanFlurry changed the base branch from 09-12-chore_util_increase_max_ident_len to graphite-base/2875 September 14, 2025 20:00
@jog1t jog1t changed the base branch from graphite-base/2875 to 09-12-chore_util_increase_max_ident_len September 15, 2025 16:48
@MasterPtato MasterPtato force-pushed the 09-12-chore_util_increase_max_ident_len branch from b4413d1 to 3716f5a Compare September 15, 2025 18:19
This was referenced Sep 15, 2025
Base automatically changed from 09-12-chore_util_increase_max_ident_len to main September 16, 2025 08:19
@NathanFlurry
Copy link
Member

@jog1t i'll let you merge from here upward

@jog1t jog1t mentioned this pull request Sep 17, 2025
@jog1t jog1t force-pushed the 09-06-feat_fe_handle_runners_unavailability branch from 7a563a8 to 7f753b4 Compare September 17, 2025 16:19
Copy link

claude bot commented Sep 17, 2025

Claude encountered an error —— View job


I'll analyze this and get back to you.

@jog1t jog1t force-pushed the 09-06-feat_fe_handle_runners_unavailability branch from 7f753b4 to 71edb90 Compare September 17, 2025 16:38
Copy link

claude bot commented Sep 17, 2025

Claude encountered an error —— View job


I'll analyze this and get back to you.

Copy link
Contributor

graphite-app bot commented Sep 17, 2025

Merge activity

  • Sep 17, 6:14 PM UTC: jog1t added this pull request to the Graphite merge queue.
  • Sep 17, 6:15 PM UTC: CI is running for this pull request on a draft pull request (#2932) due to your merge queue CI optimization settings.
  • Sep 17, 6:16 PM UTC: Merged by the Graphite merge queue via draft PR: #2932.

graphite-app bot pushed a commit that referenced this pull request Sep 17, 2025
Closes FRONT-796

### TL;DR

Added auto-wake functionality for sleeping actors in the actor inspector UI.

### What changed?

- Added a new `wakeOnSelect` filter option that automatically wakes up sleeping actors when selected
- Created a `GuardConnectableInspector` component that handles different actor states (destroyed, sleeping, pending allocation)
- Implemented actor wake-up functionality with both manual and automatic options
- Added mutation and query options for waking up actors
- Improved error handling and user feedback for various actor states
- Refactored the actor context provider system to better handle different actor states
- Enhanced filter definitions to support default values

### How to test?

1. Select a sleeping actor in the actors list
2. Observe that it automatically wakes up if the "Auto-wake Actors on select" filter is enabled
3. Disable the auto-wake filter and select a sleeping actor
4. Verify that a "Wake up Actor" button appears and functions correctly
5. Test different actor states (destroyed, sleeping, pending allocation) to ensure appropriate messages are displayed

### Why make this change?

This change improves the user experience when working with sleeping actors by providing an automatic wake-up option. Previously, users had to manually wake up actors before being able to inspect them, which added friction to the workflow. The new functionality streamlines the process while still giving users control over when actors are awakened.
@graphite-app graphite-app bot closed this Sep 17, 2025
@graphite-app graphite-app bot deleted the 09-06-feat_fe_handle_runners_unavailability branch September 17, 2025 18:16
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.

2 participants