记录Wave2公网部署验证(05-26-oa-seven-day-trial-live-ops)

这个提交包含在:
2026-05-27 19:40:44 +08:00
父节点 5f1e8938f0
当前提交 2e9e68e614
共修改 32 个文件,包含 1787 行新增和 2 行删除
+14 -2
查看文件
@@ -31,6 +31,17 @@ function optionalValue(value) {
return value?.trim() || null;
}
function reportRef(file) {
const absolute = path.resolve(file);
const relative = path.relative(rootDir, absolute);
if (relative && !relative.startsWith("..") && !path.isAbsolute(relative)) {
return relative;
}
return path.basename(absolute);
}
const reportDirRef = reportRef(reportDir);
const summary = {
issueId: optionalValue(process.env.QA_ISSUE_ID),
baseURL: optionalValue(process.env.QA_BASE_URL) ||
@@ -40,11 +51,12 @@ const summary = {
checkedAt: new Date().toISOString(),
status: optionalValue(process.env.QA_STATUS) || "UNKNOWN",
mode: optionalValue(process.env.QA_MODE),
reportDir: path.resolve(reportDir),
reportDir: reportDirRef,
reportRef: reportDirRef,
groups: optionalValue(process.env.BUSINESS_FLOW_GROUPS),
notes: optionalValue(process.env.QA_SUMMARY_NOTES),
};
mkdirSync(reportDir, { recursive: true });
writeFileSync(path.join(reportDir, "summary.json"), JSON.stringify(summary, null, 2), "utf8");
console.log(`[qa-summary] ${summary.status} ${path.join(reportDir, "summary.json")}`);
console.log(`[qa-summary] ${summary.status} ${reportRef(path.join(reportDir, "summary.json"))}`);