You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 4db1b7d
Browse filesBrowse the repository at this point in the historyBrowse files
test(coverage): split gap rows into owed work and accepted limitations (#3717)
* test(coverage): split gap rows into owed work and accepted limitations
Every coverage-gap row is now one of two kinds: a known-gap row is owed
work and must carry a tracking issue that owns it; a new accepted-gap
row states a non-empty reason why no evidence lane will cover it and
has no tracking issue. Enforce both in a shared manifest gate.
Linux (9 rows) and web (1 row) carried rows pointing at closed issues
#1915 and #1900; each states its permanent limitation instead, so the
closed constants are removed. macOS moves doctor, shutdown, events,
test, trace, and react-native to accepted limitations per the #1916
decision, keeping the scheduled interaction rows on the open umbrella.
tvOS keeps all 38 rows as owed work on #1914.
* test(coverage): keep macOS test-suite evidence as owed work and audit accepted reasons
The CI macOS replay lane runs agent-device test with --report-junit and
gates on its exit status, so the test row is closeable with real lane
evidence and stays known-gap on #1916. Each accepted-gap reason now
states the absence it claims against the repository's lanes, and the
gate's docstring encodes that rule.
'artifacts lists a daemon-tracked artifact produced during a web session',
69
73
'daemon artifact listing round-trips a tracked artifact for a web-backed session',
70
74
),
71
-
linux: linux.gap(
72
-
'No Linux live command creates a downloadable daemon artifact for inventory yet',
75
+
linux: linux.accepted(
76
+
'No Linux live command creates a downloadable daemon artifact for inventory',
77
+
'The Linux lanes run the local CLI, where command outputs are caller-owned local paths; request finalization inventories a response artifact only when the request carries a client artifact path (remote transport) or it is the sparse-snapshot fallback screenshot, which no Linux lane observes, so a Linux lane cannot produce a downloadable inventory entry without a local-transport product decision.',
macos: macos.gap('No command-specific macOS doctor evidence exists yet'),
143
+
macos: macos.accepted(
144
+
'No command-specific macOS doctor evidence exists',
145
+
'The doctor checks are daemon-owned host diagnostics — version, state dir, inventory probes, Metro — pinned platform-neutrally by the daemon doctor tests, and no macOS lane invokes the command: neither the System Settings replay nor the desktop and recording provider scenarios carry a doctor step.',
146
+
),
139
147
tvos: tvos.gap('No tvOS-specific doctor command evidence exists yet'),
'The Apple owner declares shutdownTarget unavailable on the macOS leaf (unsupported-platform-leaf): agent-device never powers off the host Mac it runs on, so the command refuses at admission and no lane will observe a successful macOS shutdown.',
'The Linux owner declares shutdownTarget unavailable (unsupported-platform-leaf): the Linux desktop is the host machine itself and agent-device never powers off the machine it runs on, so the command refuses at admission and no lane will observe a successful shutdown.',
'The Linux runtime declares the whole app-log family unavailable (unsupported-platform-leaf) by owner decision: a Linux desktop session has no runtime-owned app log stream, so the command refuses at admission and no lane will observe a Linux app-log stream.',
'The events timeline is daemon-owned session bookkeeping, pinned by request-router-events.test.ts for a daemon-backed web session, and no macOS lane invokes the command: neither the System Settings replay nor the desktop and recording provider scenarios carry an events step.',
"Web test-suite execution has no executable web evidence: ReplayTestPlatform = Exclude<PlatformSelector, 'web'> structurally excludes web from the declared-platform filter, so `test --platform web` can never select a script (proven by a regression test in session-command-replay.test.ts) — that is evidence of what the command cannot do, not that it works on web",
411
+
web: web.accepted(
412
+
'No command-specific web test-suite evidence exists',
413
+
"ReplayTestPlatform = Exclude<PlatformSelector, 'web'> structurally excludes web from the declared-platform filter, so `test --platform web` can never select a script (proven by a regression test in session-command-replay.test.ts); there is no successful web test-suite execution for any lane to observe, and adding web replay-test support is a product decision, not scheduled work.",
393
414
),
394
415
linux: linux.commandEvidenceLive(
395
416
'the command-evidence lane runs a dedicated Linux script as a test suite',
'The Linux owner declares the app-deployment family unavailable (unsupported-platform-leaf): a Linux desktop app is launched by name through the desktop interactor and there is no installable package model, so the command refuses at admission and no lane will observe a Linux install.',
'Reinstall reuses the app-deployment family the Linux runtime declares unavailable (unsupported-platform-leaf): there is no installable package model for the desktop interactor to reinstall, so the command refuses at admission and no lane will observe a Linux reinstall.',
'The Linux runtime declares push delivery unavailable (unsupported-platform-leaf): the desktop interactor has no OS push channel to deliver through, so the command refuses at admission and no lane will observe a Linux push delivery.',
"react-native dismiss-overlay only answers meaningfully on a surface that carries a React Native overlay, the repository's React Native overlay evidence runs on iOS simulators and Android emulators, and no macOS lane invokes the command: neither the System Settings replay nor the desktop and recording provider scenarios carry a react-native step.",
'The Linux runtime declares the screen-recording family unavailable (unsupported-platform-leaf): there is no Linux capture pipeline, so the command refuses at admission and no lane will produce a playable Linux recording.',
'trace never binds a device runtime: handleTraceCommand carries no bindDevice or inspectFacts call, its start/stop bookkeeping is pinned by the daemon trace-runtime tests, and no macOS lane invokes the command: neither the System Settings replay nor the desktop and recording provider scenarios carry a trace step.',
'trace never binds a device runtime: handleTraceCommand carries no bindDevice or inspectFacts call and its start/stop bookkeeping is pinned by the daemon trace-runtime tests, and no Linux lane invokes the command: neither the replay script nor the command-evidence lane carries a trace step.',
'Source installation runs through the app-deployment family the Linux runtime declares unavailable (unsupported-platform-leaf): the desktop has no materialized-app install route to source from, so the command refuses at admission and no lane will observe a Linux source install.',
0 commit comments