fix(page-data): enforce full workspace bind delivery and repair tooling
Prevent false-positive Finish Guard passes and sync-created fake bindings by assessing publication, policy, dataset, injection, and insert smoke before H5 delivery. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -579,8 +579,14 @@ export async function verifyChildrenHobbyDietSurvey({
|
||||
if (response.status !== 200) {
|
||||
reporter.fail(label, `${response.status} ${url}`);
|
||||
ok = false;
|
||||
continue;
|
||||
}
|
||||
const html = await response.text();
|
||||
if (!html.includes('__MINDSPACE_PAGE_DATA__')) {
|
||||
reporter.fail(`${label} Page Data 注入`, '响应缺少 __MINDSPACE_PAGE_DATA__');
|
||||
ok = false;
|
||||
} else {
|
||||
reporter.pass(label, url);
|
||||
reporter.pass(`${label} Page Data 注入`, url);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user