fc86a8257c
Make starting runs discoverable from pipeline details and the Runs tab. Share the existing launch flow, add an active-pipeline picker, and update walkthrough guidance with focused widget coverage.
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';
|
|
}
|