[ubuntu:24.04] PASS (0.26s)' + (hasRead ? ' - stdin bound to '
- ];
-
- if (isAlpineFail) {
- overallStatus = "MATRIX DISCREPANCY DETECTED";
- statusClass = "bg-[var(--status-fail-bg)] text-[var(--status-fail-text)] border-[var(--status-fail-border)]";
- showDiag = true;
- diagCode = "Exit Code 127";
- diagMsg = "Discrepancy detected on Alpine minimal container: " + alpineReason;
- logs.push('
[alpine:3.20] FAIL (0.11s) - Exit 127
/tmp/target_script.sh: ' + alpineReason + '
');
- } else {
- logs.push('
[alpine:3.20] PASS (0.18s)
');
- }
- }
-
renderRealApiResponse({
shellcheck: {
- status_text: scWarnings.length > 0 ? (scWarnings.length + " WARNINGS") : "0 WARNINGS",
- warning_count: scWarnings.length,
- output: scText
+ status_text: "NOT RUN",
+ warning_count: 0,
+ output: "This page does not run ShellCheck. Run shellcheck on your script locally or in CI."
},
opsscript: {
- overall_status: overallStatus,
- status_class: statusClass,
- terminal_html: logs.join('\n'),
- show_diagnostic: showDiag,
- diagnostic_code: diagCode,
- diagnostic_msg: diagMsg
+ overall_status: "UNKNOWN — NOT EXECUTED",
+ status_class: "bg-[var(--surface-muted)] text-[var(--text-muted)] border-[var(--border-medium)]",
+ terminal_html: "No container execution has taken place. Copy the workflow below to test your script across distributions.",
+ show_diagnostic: false
}
});
}
@@ -951,10 +834,12 @@
0
? "font-mono text-xs font-semibold px-2 py-0.5 rounded border bg-[var(--status-warn-bg)] text-[var(--status-warn-text)] border-[var(--status-warn-border)]"
: "font-mono text-xs font-semibold px-2 py-0.5 rounded border bg-[var(--status-pass-bg)] text-[var(--status-pass-text)] border-[var(--status-pass-border)]";
@@ -962,7 +847,7 @@