`last_ok_at` loses its history in CI

Offen
#100 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
66/100
Issue-Typ
Bug
Klarheit
Klar beschrieben
Aktivitätsstatus
Aktiv
Tech-Stack
github-actions, javascript
Bereich
ci-cd

Rechercherichtung

Read health-check.py, health-check.yml, and deploy-gallery.yml to see how the report is read and saved. First trace the workflow steps that run the check and deploy, then determine how each can restore the previous health-report.json and save the updated report. Done when both workflows preserve last_ok_at across fresh Actions runs.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

ci scripts

health-check.py carries last_ok_at over from the previous health-report.json, but both reports are gitignored and every Actions run starts from a fresh checkout. In CI a failing target always gets last_ok_at: null, so the gallery says "not verified" instead of "verified 9 days ago".

Done when: health-check.yml and deploy-gallery.yml restore the previous report (cache or the last run's artifact) before the check and save it after.

Vorherrschende Sprache
JavaScript
Sterne
17
Forks
7
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus CreativesLibrary/Components

Alle Issues in CreativesLibrary/Components

Ähnliche Issues

Weitere Issues zu JavaScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.