Skip to content

Commit 7f7eaae

Browse files
committed
test: keep missing reader artifacts importable
1 parent ef0f852 commit 7f7eaae

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

tests/native_corpus_device_lab_test.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,15 +131,18 @@
131131

132132
# Reader learning imports exactly the trusted-main Android run that completed,
133133
# once. PR candidate evidence is diagnosable but cannot silently mutate persistent
134-
# Brain memory. The general Brain lab preserves this memory rather than polling
135-
# or replaying an old corpus workflow.
134+
# Brain memory. Missing repair artifacts do not consume the run id, so rerunning
135+
# the same GitHub run remains learnable when it later produces complete evidence.
136136
for required in (
137137
"Native Android route reader acceptance",
138138
"github.event.workflow_run.id",
139139
"github.event.workflow_run.event == 'push'",
140140
"github.event.workflow_run.head_branch == 'main'",
141141
"importedRunIds",
142142
"native-reader-brain-repair-$RUN_ID",
143+
"has_comparison=true",
144+
"has_comparison=false",
145+
"run remains importable after a rerun",
143146
"duplicate",
144147
):
145148
assert required in reader_learning, required
@@ -252,5 +255,5 @@
252255

253256
print(
254257
"native device lab contract passed: "
255-
f"fixtures={len(expected_slugs)} providers={len(stageable)} android_exhaustive=true desktop_native=true brain_retest=true cached_profiles=true targeted_manual=true reader_learning_idempotent=true trusted_main_learning=true"
258+
f"fixtures={len(expected_slugs)} providers={len(stageable)} android_exhaustive=true desktop_native=true brain_retest=true cached_profiles=true targeted_manual=true reader_learning_idempotent=true trusted_main_learning=true missing_artifact_retriable=true"
256259
)

0 commit comments

Comments
 (0)