Capture fixture: run card graph maps, pipeline graph under graph=1
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,11 +1,13 @@
|
||||
// `?shown=2` (with `?chats=N×tamps=1&files=1`): the subscribe reply
|
||||
// carries the newer shown entries instead of the `shown=1` set, after the
|
||||
// bench transcript's last answer: a dark-aware and a light-only HTML view, a
|
||||
// run card running and one finished, a file changed since it was shown, an
|
||||
// image that no longer exists, a web image the server fetched, and a diff of
|
||||
// a revision limited to some paths.
|
||||
// bench transcript's last answer: a dark-aware and a light-only HTML view,
|
||||
// run cards running, failed and succeeded (each with its graph map), a file
|
||||
// changed since it was shown, an image that no longer exists, a web image the
|
||||
// server fetched, and a diff of a revision limited to some paths.
|
||||
import 'package:pipelines_app/core/api_gateway.dart';
|
||||
|
||||
import 'chat_shown_run_map_fixture.dart';
|
||||
|
||||
int _at(int minute, int second) =>
|
||||
DateTime.utc(2026, 11, 5, 9, minute, second).millisecondsSinceEpoch;
|
||||
|
||||
@@ -70,6 +72,7 @@ JsonMap chatShownToolsFixture(Object? sessionId) => {
|
||||
'status': 'running',
|
||||
'current_stage': 'review',
|
||||
'started_at': _now - 754000,
|
||||
'map': releaseRunningMap(_now - 40000),
|
||||
},
|
||||
},
|
||||
{
|
||||
@@ -84,6 +87,22 @@ JsonMap chatShownToolsFixture(Object? sessionId) => {
|
||||
'outcome': 'tests_failed',
|
||||
'started_at': _at(1, 0),
|
||||
'finished_at': _at(9, 30),
|
||||
'map': featureFailedMap(),
|
||||
},
|
||||
},
|
||||
{
|
||||
'id': 'shown-run-ok',
|
||||
'kind': 'run',
|
||||
'created_at': _at(19, 27),
|
||||
'run': {
|
||||
'id': 5,
|
||||
'pipeline': 'Docs',
|
||||
'title': 'Refresh the install guide',
|
||||
'status': 'succeeded',
|
||||
'outcome': 'success',
|
||||
'started_at': _at(10, 0),
|
||||
'finished_at': _at(12, 52),
|
||||
'map': docsSucceededMap(),
|
||||
},
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user