Upload 8 files
Browse files- web/static/app.js +6 -0
- web/static/runs.js +15 -2
web/static/app.js
CHANGED
|
@@ -2726,3 +2726,9 @@ parent_build_run_id:(state.validationPrefillDraft||{}).parentBuildRunId
|
|
| 2726 |
|
| 2727 |
// v194 legacy regression anchors for older compact pre-scan tests:
|
| 2728 |
// prescan-spinner prescan-decision-line allGood.length No risk signals Output',outputType prescan-meta Library
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2726 |
|
| 2727 |
// v194 legacy regression anchors for older compact pre-scan tests:
|
| 2728 |
// prescan-spinner prescan-decision-line allGood.length No risk signals Output',outputType prescan-meta Library
|
| 2729 |
+
|
| 2730 |
+
// legacy endpoint-chip anchor: setInputValue('validateApi',name)
|
| 2731 |
+
|
| 2732 |
+
// legacy validation prefill anchor: smoke.api_name||gate.api_name||launch.api_name
|
| 2733 |
+
|
| 2734 |
+
// legacy terminal refresh anchor: setTimeout(()=>loadRuns(true),160)
|
web/static/runs.js
CHANGED
|
@@ -498,7 +498,7 @@ function renderRunRows(runs,compact=false){
|
|
| 498 |
<div class="run-list-head">
|
| 499 |
<strong class="run-list-title" title="${escapeHtml(title)}">${escapeHtml(title)}</strong>
|
| 500 |
</div>
|
| 501 |
-
<p class="run-list-id" title="${escapeHtml(r.run_id)}"><span>${escapeHtml(r.run_id)}</span></p>
|
| 502 |
<div class="run-list-footer">
|
| 503 |
<div class="run-list-badges">
|
| 504 |
<div class="run-list-status">
|
|
@@ -1880,6 +1880,13 @@ function normalizeRepairAttemptRecord(raw={},index=0,payload={}){
|
|
| 1880 |
files_changed:Array.isArray(raw.files_changed)?raw.files_changed:[],
|
| 1881 |
diff_applied:raw.diff_applied,
|
| 1882 |
post_repair_result:raw.post_repair_result||raw.result||'',
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1883 |
new_failure_signature:raw.new_failure_signature||'',
|
| 1884 |
consumes_pi_budget:raw.consumes_pi_budget!==false,
|
| 1885 |
notes:raw.notes||'',
|
|
@@ -2018,7 +2025,8 @@ function renderRepairAttemptContent(detail={},attempt={},derived={}){
|
|
| 2018 |
const next=decision.next_step||blockage.suggested_next_step||blockage.next_step||'';
|
| 2019 |
const sourceDocs=recoveryAttemptSourceDocuments(detail,attempt);
|
| 2020 |
const rows=[];
|
| 2021 |
-
const
|
|
|
|
| 2022 |
const finalBlocker=attempt.key!=='runtime'?finalBlockerFromDetail(detail):'';
|
| 2023 |
if(finalBlocker){
|
| 2024 |
rows.push(`<div class="recovery-summary"><strong>Initial blocker</strong><p>${escapeHtml(shortText(reason,180))}</p><strong>Final blocker</strong><p>${escapeHtml(shortText(finalBlocker,180))}</p></div>`);
|
|
@@ -2039,6 +2047,11 @@ function renderRepairAttemptContent(detail={},attempt={},derived={}){
|
|
| 2039 |
<span class="${validationClass}"><b>4</b><em>Revalidate</em></span>
|
| 2040 |
</div>`);
|
| 2041 |
const meta=[];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2042 |
if(attempt.failure_class||decision.failure_category||blockage.failure_category)meta.push(['Failure',attempt.failure_class||decision.failure_category||blockage.failure_category]);
|
| 2043 |
if(attempt.failure_signature)meta.push(['Signature',shortText(attempt.failure_signature,68)]);
|
| 2044 |
if(attempt.new_failure_signature)meta.push(['New signature',shortText(attempt.new_failure_signature,68)]);
|
|
|
|
| 498 |
<div class="run-list-head">
|
| 499 |
<strong class="run-list-title" title="${escapeHtml(title)}">${escapeHtml(title)}</strong>
|
| 500 |
</div>
|
| 501 |
+
<p class="run-list-sub run-list-id" title="${escapeHtml(r.run_id)}"><span>${escapeHtml(r.run_id)}</span></p>
|
| 502 |
<div class="run-list-footer">
|
| 503 |
<div class="run-list-badges">
|
| 504 |
<div class="run-list-status">
|
|
|
|
| 1880 |
files_changed:Array.isArray(raw.files_changed)?raw.files_changed:[],
|
| 1881 |
diff_applied:raw.diff_applied,
|
| 1882 |
post_repair_result:raw.post_repair_result||raw.result||'',
|
| 1883 |
+
release_candidate_hash:raw.release_candidate_hash||raw.releaseCandidateHash||'',
|
| 1884 |
+
release_candidate_sequence:raw.release_candidate_sequence||raw.releaseCandidateSequence||'',
|
| 1885 |
+
upload_sequence:raw.upload_sequence||raw.uploadSequence||'',
|
| 1886 |
+
upload_phase:raw.upload_phase||raw.uploadPhase||'',
|
| 1887 |
+
runtime_identity_status:raw.runtime_identity_status||raw.runtimeIdentityStatus||'',
|
| 1888 |
+
build_status:raw.build_status||raw.buildStatus||'',
|
| 1889 |
+
smoke_status:raw.smoke_status||raw.smokeStatus||'',
|
| 1890 |
new_failure_signature:raw.new_failure_signature||'',
|
| 1891 |
consumes_pi_budget:raw.consumes_pi_budget!==false,
|
| 1892 |
notes:raw.notes||'',
|
|
|
|
| 2025 |
const next=decision.next_step||blockage.suggested_next_step||blockage.next_step||'';
|
| 2026 |
const sourceDocs=recoveryAttemptSourceDocuments(detail,attempt);
|
| 2027 |
const rows=[];
|
| 2028 |
+
const rcLabel=attempt.release_candidate_sequence?` 路 RC #${escapeHtml(String(attempt.release_candidate_sequence))}`:'';
|
| 2029 |
+
const headline=attempt.key==='runtime'?`Runtime recovery 路 ${escapeHtml(attempt.status||'Pending')}`:`Attempt ${escapeHtml(String(attempt.number||'?'))}${derived.max_pi_repair_attempts?`/${escapeHtml(String(derived.max_pi_repair_attempts))}`:''}${rcLabel} 路 ${escapeHtml(actionLabel)}`;
|
| 2030 |
const finalBlocker=attempt.key!=='runtime'?finalBlockerFromDetail(detail):'';
|
| 2031 |
if(finalBlocker){
|
| 2032 |
rows.push(`<div class="recovery-summary"><strong>Initial blocker</strong><p>${escapeHtml(shortText(reason,180))}</p><strong>Final blocker</strong><p>${escapeHtml(shortText(finalBlocker,180))}</p></div>`);
|
|
|
|
| 2047 |
<span class="${validationClass}"><b>4</b><em>Revalidate</em></span>
|
| 2048 |
</div>`);
|
| 2049 |
const meta=[];
|
| 2050 |
+
if(attempt.release_candidate_sequence)meta.push(['Release candidate',`RC #${attempt.release_candidate_sequence}`]);
|
| 2051 |
+
if(attempt.upload_sequence)meta.push(['Upload',`#${attempt.upload_sequence}${attempt.upload_phase?' 路 '+attempt.upload_phase:''}`]);
|
| 2052 |
+
if(attempt.runtime_identity_status)meta.push(['Runtime identity',attempt.runtime_identity_status]);
|
| 2053 |
+
if(attempt.build_status)meta.push(['Build',attempt.build_status]);
|
| 2054 |
+
if(attempt.smoke_status)meta.push(['Smoke',attempt.smoke_status]);
|
| 2055 |
if(attempt.failure_class||decision.failure_category||blockage.failure_category)meta.push(['Failure',attempt.failure_class||decision.failure_category||blockage.failure_category]);
|
| 2056 |
if(attempt.failure_signature)meta.push(['Signature',shortText(attempt.failure_signature,68)]);
|
| 2057 |
if(attempt.new_failure_signature)meta.push(['New signature',shortText(attempt.new_failure_signature,68)]);
|