26bb583f10
Keep Settings navigation independent while preserving shell actions and destination-specific state. Add the reviewed chat, run-entry, layout, and regression-test updates needed by the destination behavior.
12 lines
523 B
Dart
12 lines
523 B
Dart
import '../core/api_gateway.dart';
|
|
import '../core/servers/server_scope.dart';
|
|
import 'server_endpoint.dart';
|
|
|
|
/// The scope that isolates a server's pending launch intents. Pipelines and
|
|
/// Runs must compute the same scope, or a lost reply could be retried under a
|
|
/// different key from the one the Pipelines tab would check.
|
|
String pendingRunScope(ApiGateway gateway, ServerEndpoint server) {
|
|
final identity = serverIdentity(gateway);
|
|
return identity == null ? server.uri?.toString() ?? '' : 'profile:$identity';
|
|
}
|