Remove repo reports and add recurrence guard
This commit is contained in:
@@ -12,10 +12,13 @@ import {
|
||||
classifyCodeAgentBrowserFailure,
|
||||
summarizeCodeAgentPayload
|
||||
} from "./code-agent-response-contract.mjs";
|
||||
import { tempReportPath } from "./report-paths.mjs";
|
||||
|
||||
export { classifyCodeAgentBrowserJourney };
|
||||
|
||||
const repoRoot = path.resolve(path.dirname(fileURLToPath(import.meta.url)), "../..");
|
||||
const domOnlyReportPath = tempReportPath("dev-cloud-workbench-dom-only.json");
|
||||
const liveReportPath = tempReportPath("dev-cloud-workbench-live.json");
|
||||
const webRoot = path.join(repoRoot, "web/hwlab-cloud-web");
|
||||
const defaultLiveUrl = "http://74.48.78.17:16666/";
|
||||
const helpOwner = "codex_1779444232735_1";
|
||||
@@ -1584,11 +1587,11 @@ function baseReport({
|
||||
"node scripts/dev-cloud-workbench-smoke.mjs --quick-prompts-fixture",
|
||||
"node scripts/dev-cloud-workbench-smoke.mjs --local-agent-timeout-fixture",
|
||||
"node scripts/dev-cloud-workbench-smoke.mjs --layout --url http://74.48.78.17:16666/",
|
||||
"node scripts/dev-cloud-workbench-smoke.mjs --dom-only --url http://74.48.78.17:16666/ --report reports/dev-gate/dev-cloud-workbench-dom-only.json",
|
||||
"node scripts/dev-cloud-workbench-smoke.mjs --live --confirm-dev-live --url http://74.48.78.17:16666/ --report reports/dev-gate/dev-cloud-workbench-live.json",
|
||||
`node scripts/dev-cloud-workbench-smoke.mjs --dom-only --url http://74.48.78.17:16666/ --report ${domOnlyReportPath}`,
|
||||
`node scripts/dev-cloud-workbench-smoke.mjs --live --confirm-dev-live --url http://74.48.78.17:16666/ --report ${liveReportPath}`,
|
||||
mode === "dom-only"
|
||||
? "node scripts/validate-dev-gate-report.mjs reports/dev-gate/dev-cloud-workbench-dom-only.json"
|
||||
: "node scripts/validate-dev-gate-report.mjs reports/dev-gate/dev-cloud-workbench-live.json",
|
||||
? `node scripts/validate-dev-gate-report.mjs ${domOnlyReportPath}`
|
||||
: `node scripts/validate-dev-gate-report.mjs ${liveReportPath}`,
|
||||
"node scripts/validate-dev-gate-report.mjs"
|
||||
],
|
||||
localSmoke: {
|
||||
@@ -1620,8 +1623,8 @@ function baseReport({
|
||||
"No hardware write API, service restart, PROD access, or secret read is performed."
|
||||
],
|
||||
commands: [
|
||||
"node scripts/dev-cloud-workbench-smoke.mjs --dom-only --url http://74.48.78.17:16666/ --report reports/dev-gate/dev-cloud-workbench-dom-only.json",
|
||||
"node scripts/dev-cloud-workbench-smoke.mjs --live --confirm-dev-live --url http://74.48.78.17:16666/ --report reports/dev-gate/dev-cloud-workbench-live.json"
|
||||
`node scripts/dev-cloud-workbench-smoke.mjs --dom-only --url http://74.48.78.17:16666/ --report ${domOnlyReportPath}`,
|
||||
`node scripts/dev-cloud-workbench-smoke.mjs --live --confirm-dev-live --url http://74.48.78.17:16666/ --report ${liveReportPath}`
|
||||
],
|
||||
summary: liveJourneyPassed
|
||||
? "Deployed 16666 browser journey and same-origin Code Agent chat completed."
|
||||
@@ -1647,10 +1650,10 @@ function baseReport({
|
||||
|
||||
function reportModeId(mode) {
|
||||
return mode === "layout"
|
||||
? "https://hwlab.pikastech.local/reports/dev-gate/dev-cloud-workbench-layout.json"
|
||||
? "https://hwlab.pikastech.local/dev-gate/dev-cloud-workbench-layout.json"
|
||||
: mode === "dom-only"
|
||||
? "https://hwlab.pikastech.local/reports/dev-gate/dev-cloud-workbench-dom-only.json"
|
||||
: "https://hwlab.pikastech.local/reports/dev-gate/dev-cloud-workbench-live.json";
|
||||
? "https://hwlab.pikastech.local/dev-gate/dev-cloud-workbench-dom-only.json"
|
||||
: "https://hwlab.pikastech.local/dev-gate/dev-cloud-workbench-live.json";
|
||||
}
|
||||
|
||||
function addCheck(checks, blockers, id, result, summary, options = {}) {
|
||||
@@ -8441,7 +8444,7 @@ function escapeRegExp(value) {
|
||||
export function printSmokeHelp() {
|
||||
return {
|
||||
status: "usage",
|
||||
command: "node scripts/dev-cloud-workbench-smoke.mjs --source | --layout [--url http://74.48.78.17:16666/] | --mobile | --local-agent-fixture | --quick-prompts-fixture | --local-agent-timeout-fixture | --dom-only --url http://74.48.78.17:16666/ [--report reports/dev-gate/dev-cloud-workbench-dom-only.json] | --live --confirm-dev-live --url http://74.48.78.17:16666/ [--report reports/dev-gate/dev-cloud-workbench-live.json]",
|
||||
command: `node scripts/dev-cloud-workbench-smoke.mjs --source | --layout [--url http://74.48.78.17:16666/] | --mobile | --local-agent-fixture | --quick-prompts-fixture | --local-agent-timeout-fixture | --dom-only --url http://74.48.78.17:16666/ [--report ${domOnlyReportPath}] | --live --confirm-dev-live --url http://74.48.78.17:16666/ [--report ${liveReportPath}]`,
|
||||
notes: [
|
||||
"Default/source mode reads repository files and emits SOURCE-level evidence only; it never calls the live provider and must not claim DEV-LIVE.",
|
||||
"--layout runs desktop and mobile browser geometry/hit-target checks for sidebar collapse/expand; with --url it remains layout-only live evidence and does not claim M3 acceptance.",
|
||||
|
||||
Reference in New Issue
Block a user