feat: integrate codex queue and pipeline oa flow

- add Codex Queue microservice/frontend integration and related deployment docs
- document 100% Pipeline OA event-flow requirements and E2E gates
- harden Pipeline frontend Gantt/timeline E2E assertions and rendering
This commit is contained in:
Codex
2026-05-07 18:11:43 +00:00
parent 2aaf0447a6
commit 79166574e8
27 changed files with 3209 additions and 123 deletions
+351 -15
View File
@@ -1110,7 +1110,7 @@ input:focus, select:focus, textarea:focus { border-color: var(--accent-2); }
.result-card dd { margin: 0; }
.result-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.microservice-page, .findjob-page, .pipeline-page, .met-page {
.microservice-page, .findjob-page, .pipeline-page, .met-page, .codex-queue-page {
display: grid;
gap: 10px;
}
@@ -1159,7 +1159,6 @@ input:focus, select:focus, textarea:focus { border-color: var(--accent-2); }
gap: 10px;
align-items: start;
}
.pipeline-grid .panel:nth-child(3), .pipeline-grid .panel:nth-child(5) { grid-column: 1 / -1; }
.pipeline-grid .pipeline-wide-panel { grid-column: 1 / -1; }
.met-grid {
display: grid;
@@ -1205,6 +1204,173 @@ input:focus, select:focus, textarea:focus { border-color: var(--accent-2); }
color: var(--accent-2);
font-size: 12px;
}
.codex-queue-hero {
display: grid;
grid-template-columns: minmax(300px, 1.35fr) minmax(260px, 0.8fr) minmax(220px, 0.65fr);
gap: 8px;
align-items: stretch;
}
.codex-queue-metrics {
display: grid;
grid-template-columns: repeat(5, minmax(140px, 1fr));
gap: 8px;
}
.codex-queue-layout {
display: grid;
grid-template-columns: minmax(320px, 0.52fr) minmax(680px, 1.58fr);
gap: 10px;
align-items: start;
}
.codex-left-rail,
.codex-main-stage,
.codex-detail-grid,
.codex-task-form,
.codex-steer-form {
display: grid;
gap: 10px;
}
.codex-form-grid {
display: grid;
grid-template-columns: minmax(120px, 0.8fr) minmax(180px, 1fr) 92px;
gap: 8px;
}
.codex-task-list {
display: grid;
gap: 7px;
max-height: calc(100vh - 460px);
min-height: 180px;
overflow: auto;
align-content: start;
}
.codex-task-card {
display: grid;
gap: 6px;
width: 100%;
padding: 9px;
border: 1px solid var(--line-soft);
color: var(--muted);
background:
linear-gradient(135deg, rgba(78, 183, 168, 0.08), transparent 38%),
rgba(10, 16, 21, 0.74);
text-align: left;
}
.codex-task-card:hover,
.codex-task-card.selected {
color: var(--text);
border-color: var(--accent-2);
background:
linear-gradient(135deg, rgba(78, 183, 168, 0.16), transparent 42%),
rgba(12, 24, 28, 0.9);
}
.codex-task-card-head,
.codex-task-meta,
.codex-judge-line {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
}
.codex-task-card strong {
overflow-wrap: anywhere;
color: var(--text);
}
.codex-task-meta,
.codex-judge-line {
color: var(--muted);
font-size: 11px;
}
.codex-output-panel .panel-body {
padding: 0;
}
.codex-transcript {
min-height: 520px;
max-height: calc(100vh - 300px);
overflow: auto;
padding: 12px;
background:
linear-gradient(rgba(78, 183, 168, 0.03) 1px, transparent 1px),
linear-gradient(90deg, rgba(78, 183, 168, 0.026) 1px, transparent 1px),
radial-gradient(circle at top right, rgba(215, 161, 58, 0.10), transparent 34%),
#060a0d;
background-size: 24px 24px, 24px 24px, auto, auto;
}
.codex-output-empty {
padding: 24px;
border: 1px dashed var(--line);
color: var(--muted);
background: rgba(255,255,255,0.025);
}
.codex-output-line {
display: grid;
grid-template-columns: 130px minmax(0, 1fr);
gap: 10px;
padding: 8px 0;
border-bottom: 1px solid rgba(255,255,255,0.045);
}
.codex-output-meta {
display: grid;
align-content: start;
gap: 4px;
color: var(--muted);
font-size: 10px;
}
.codex-output-meta code {
max-width: 120px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.codex-output-channel {
width: max-content;
padding: 2px 6px;
border: 1px solid rgba(78, 183, 168, 0.42);
color: var(--accent-2);
background: rgba(78, 183, 168, 0.08);
letter-spacing: 0.08em;
}
.codex-output-line.user .codex-output-channel { color: var(--accent); border-color: rgba(215, 161, 58, 0.48); background: rgba(215, 161, 58, 0.08); }
.codex-output-line.error .codex-output-channel { color: var(--danger); border-color: rgba(207, 106, 84, 0.52); background: rgba(207, 106, 84, 0.08); }
.codex-output-line.command .codex-output-channel { color: #8fc7ee; border-color: rgba(105, 174, 232, 0.46); background: rgba(105, 174, 232, 0.08); }
.codex-output-line.diff .codex-output-channel { color: #b6da89; border-color: rgba(182, 218, 137, 0.42); background: rgba(182, 218, 137, 0.07); }
.codex-output-line pre {
margin: 0;
white-space: pre-wrap;
overflow-wrap: anywhere;
color: #d9e8e7;
font-size: 12px;
line-height: 1.48;
}
.codex-output-line.reasoning pre { color: #9fb5b8; font-style: italic; }
.codex-detail-grid {
grid-template-columns: minmax(320px, 1fr) minmax(320px, 1fr);
}
.codex-judge-card {
display: grid;
gap: 8px;
padding: 10px;
border: 1px solid var(--line-soft);
background: var(--panel-3);
}
.codex-judge-card p {
margin: 0;
color: var(--muted);
}
.codex-attempt-table {
max-height: 260px;
}
.inline-check {
display: inline-flex;
gap: 5px;
align-items: center;
color: var(--muted);
}
.inline-check input {
width: auto;
}
.mono-text {
font-family: "SFMono-Regular", "Consolas", monospace;
color: var(--muted);
}
.met-control-strip, .met-tabs {
display: flex;
flex-wrap: wrap;
@@ -1797,9 +1963,15 @@ input:focus, select:focus, textarea:focus { border-color: var(--accent-2); }
opacity: 0.82;
}
.pipeline-gantt-arrow.monitor,
.pipeline-gantt-arrow.guide {
.pipeline-gantt-arrow.guide,
.pipeline-gantt-arrow.observe {
stroke: var(--accent-2);
}
.pipeline-gantt-arrow.observation {
opacity: 0.92;
stroke-width: 1.9;
stroke-dasharray: 3 4;
}
.pipeline-gantt-arrow.webui {
stroke: #69aee8;
}
@@ -1859,7 +2031,20 @@ input:focus, select:focus, textarea:focus { border-color: var(--accent-2); }
color: #ffe3db;
}
.pipeline-gantt-bar.running {
animation: ganttPulse 1.8s ease-in-out infinite;
border-color: rgba(105, 174, 232, 0.95);
background:
linear-gradient(180deg, rgba(105, 174, 232, 0.95), rgba(35, 94, 133, 0.86)),
#07131d;
box-shadow: 0 0 0 1px rgba(0,0,0,0.32), 0 0 18px rgba(105, 174, 232, 0.38);
animation: ganttPulse 1.25s ease-in-out infinite;
}
.pipeline-gantt-bar.running.live::after {
content: "";
position: absolute;
inset: -18px 0;
background: linear-gradient(180deg, transparent, rgba(255,255,255,0.82), transparent);
opacity: 0.7;
animation: ganttLiveSweep 1.4s linear infinite;
}
.pipeline-gantt-bar.selected {
width: 10px;
@@ -2054,6 +2239,46 @@ input:focus, select:focus, textarea:focus { border-color: var(--accent-2); }
max-width: 100%;
overflow-wrap: anywhere;
}
.pipeline-oa-panel {
display: grid;
gap: 10px;
}
.pipeline-oa-guarantees {
display: grid;
grid-template-columns: repeat(5, minmax(0, 1fr));
gap: 7px;
}
.pipeline-oa-guarantee {
display: grid;
grid-template-columns: auto minmax(0, 1fr);
gap: 7px;
align-items: center;
min-width: 0;
padding: 7px;
border: 1px solid var(--line-soft);
background: rgba(255,255,255,0.026);
}
.pipeline-oa-guarantee.ok {
border-color: rgba(78, 183, 168, 0.22);
}
.pipeline-oa-guarantee.warn {
border-color: rgba(215, 161, 58, 0.28);
}
.pipeline-oa-guarantee strong,
.pipeline-oa-guarantee span {
display: block;
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.pipeline-oa-guarantee strong {
color: var(--text);
}
.pipeline-oa-guarantee span {
color: var(--muted);
font-size: 11px;
}
.pipeline-attempt-card {
display: grid;
gap: 8px;
@@ -2150,12 +2375,7 @@ input:focus, select:focus, textarea:focus { border-color: var(--accent-2); }
}
.pipeline-opencode-flow::before {
content: "";
position: absolute;
left: 3px;
top: 6px;
bottom: 8px;
width: 1px;
background: linear-gradient(180deg, rgba(78, 183, 168, 0.56), rgba(215, 161, 58, 0.34), rgba(105, 174, 232, 0.18));
display: none;
}
.pipeline-opencode-step {
position: relative;
@@ -2607,8 +2827,12 @@ input:focus, select:focus, textarea:focus { border-color: var(--accent-2); }
}
}
@keyframes ganttPulse {
0%, 100% { box-shadow: 0 0 0 1px rgba(0,0,0,0.32), 0 0 12px rgba(215, 161, 58, 0.28); }
50% { box-shadow: 0 0 0 1px rgba(215, 161, 58, 0.52), 0 0 20px rgba(215, 161, 58, 0.48); }
0%, 100% { box-shadow: 0 0 0 1px rgba(0,0,0,0.32), 0 0 12px rgba(105, 174, 232, 0.28); }
50% { box-shadow: 0 0 0 1px rgba(105, 174, 232, 0.62), 0 0 24px rgba(105, 174, 232, 0.58); }
}
@keyframes ganttLiveSweep {
0% { transform: translateY(-48px); }
100% { transform: translateY(48px); }
}
.pipeline-node-control {
min-width: 0;
@@ -2773,6 +2997,114 @@ input:focus, select:focus, textarea:focus { border-color: var(--accent-2); }
color: var(--muted);
font-size: 12px;
}
.pipeline-score-board {
display: grid;
gap: 8px;
}
.pipeline-score-card, .pipeline-score-empty {
display: grid;
gap: 8px;
min-width: 0;
padding: 10px;
border: 1px solid var(--line-soft);
background:
linear-gradient(135deg, rgba(78, 183, 168, 0.08), transparent 36%),
var(--panel-3);
}
.pipeline-score-empty strong {
color: var(--accent);
}
.pipeline-score-empty span {
color: var(--muted);
}
.pipeline-score-head {
display: flex;
justify-content: space-between;
gap: 10px;
align-items: flex-start;
}
.pipeline-score-head div {
display: grid;
gap: 2px;
min-width: 0;
}
.pipeline-score-head span {
overflow: hidden;
color: var(--muted);
font-size: 10px;
letter-spacing: 0.12em;
text-overflow: ellipsis;
text-transform: uppercase;
white-space: nowrap;
}
.pipeline-score-head strong {
color: var(--accent);
font-size: 30px;
line-height: 1;
}
.pipeline-score-meter {
height: 7px;
overflow: hidden;
border: 1px solid rgba(255,255,255,0.08);
background: rgba(0,0,0,0.24);
}
.pipeline-score-meter span {
display: block;
height: 100%;
min-width: 2px;
max-width: 100%;
background: linear-gradient(90deg, var(--accent-2), var(--accent));
}
.pipeline-score-card.failed .pipeline-score-meter span { background: linear-gradient(90deg, var(--danger), var(--accent)); }
.pipeline-score-card.running .pipeline-score-meter span { background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.pipeline-score-facts, .pipeline-score-items {
display: flex;
flex-wrap: wrap;
gap: 5px;
}
.pipeline-score-facts span, .pipeline-score-badge, .pipeline-score-item {
padding: 3px 7px;
border: 1px solid var(--line-soft);
background: rgba(255,255,255,0.03);
color: var(--muted);
font-size: 11px;
}
.pipeline-score-badge {
text-transform: uppercase;
}
.pipeline-score-badge.succeeded, .pipeline-score-item.passed {
border-color: rgba(78, 183, 168, 0.55);
color: var(--accent-2);
}
.pipeline-score-badge.failed, .pipeline-score-item.failed {
border-color: rgba(207, 106, 84, 0.58);
color: var(--danger);
}
.pipeline-score-badge.running {
border-color: rgba(215, 161, 58, 0.58);
color: var(--accent);
}
.pipeline-score-item {
display: grid;
gap: 1px;
min-width: 62px;
}
.pipeline-score-item b {
color: var(--text);
font-size: 12px;
}
.pipeline-score-item small {
color: currentColor;
font-size: 9px;
letter-spacing: 0.08em;
text-transform: uppercase;
}
.pipeline-score-error {
margin: 0;
color: var(--danger);
font-size: 12px;
line-height: 1.45;
}
.component-stratum span {
color: var(--muted);
font-size: 10px;
@@ -2915,9 +3247,10 @@ input:focus, select:focus, textarea:focus { border-color: var(--accent-2); }
@media (max-width: 1120px) {
.metric-grid, .policy-grid, .security-board, .docker-metrics, .monitor-chart-grid, .monitor-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pipeline-oa-guarantees { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dispatch-form { grid-template-columns: 1fr 1fr; }
.dispatch-actions { align-items: center; }
.page-grid, .docker-layout, .monitor-layout, .findjob-grid, .findjob-hero, .pipeline-grid, .pipeline-hero, .met-grid, .met-form-grid { grid-template-columns: 1fr; }
.page-grid, .docker-layout, .monitor-layout, .findjob-grid, .findjob-hero, .pipeline-grid, .pipeline-hero, .met-grid, .met-form-grid, .codex-queue-layout, .codex-queue-hero, .codex-detail-grid { grid-template-columns: 1fr; }
.pipeline-control-shell { grid-template-columns: 1fr; }
.pipeline-node-control { max-height: none; min-height: 0; }
.findjob-grid .panel:nth-child(3), .pipeline-grid .panel:nth-child(3), .pipeline-grid .panel:nth-child(5), .met-grid .panel:nth-child(3), .met-grid .panel:nth-child(5), .met-detail-panel { grid-column: 1; }
@@ -2932,6 +3265,7 @@ input:focus, select:focus, textarea:focus { border-color: var(--accent-2); }
.pipeline-control-evidence-grid,
.pipeline-evidence-row,
.pipeline-gantt-detail-layout,
.pipeline-oa-guarantees,
.pipeline-kv-grid,
.pipeline-field-list {
grid-template-columns: 1fr;
@@ -3034,8 +3368,10 @@ input:focus, select:focus, textarea:focus { border-color: var(--accent-2); }
padding: 4px 9px;
white-space: nowrap;
}
.metric-grid, .policy-grid, .security-board, .dispatch-form, .docker-metrics, .monitor-chart-grid, .monitor-summary-grid, .gateway-record-grid, .met-detail-kv { grid-template-columns: 1fr; }
.compact-row, .heartbeat-row, .log-row, .endpoint-list article, .volume-route, .findjob-hero, .pipeline-hero { grid-template-columns: 1fr; align-items: start; }
.metric-grid, .policy-grid, .security-board, .dispatch-form, .docker-metrics, .monitor-chart-grid, .monitor-summary-grid, .gateway-record-grid, .met-detail-kv, .codex-queue-metrics, .codex-form-grid { grid-template-columns: 1fr; }
.compact-row, .heartbeat-row, .log-row, .endpoint-list article, .volume-route, .findjob-hero, .pipeline-hero, .codex-queue-hero { grid-template-columns: 1fr; align-items: start; }
.codex-output-line { grid-template-columns: 1fr; }
.codex-transcript { min-height: 360px; }
.process-resource-head {
align-items: stretch;
flex-direction: column;