feature request: Save `lake build` and `lake test` logs for downstream workflow steps

Aperta
#165 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
55/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
github-actions, shell
Ambito
ci-cd, devops

Direzione di ricerca

Inizia individuando i punti di ingresso di lean-action che eseguono lake build e lake test, quindi traccia il modo in cui il loro output viene attualmente inviato al log del job di GitHub Actions. Definisci come i passaggi successivi del workflow accederanno ai log salvati e verifica che i file contengano l’output originale di build e test senza rieseguire nessuno dei due comandi.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Hi, thank you for maintaining this action.
I'm the maintainer of the lean-update action.

Motivation

leanprover/lean-action runs lake build and lake test internally, but their output logs are currently only visible in the GitHub Actions job log.

This makes it difficult for later workflow steps or follow-up actions to inspect and reuse the exact build/test output. For example, in workflows using lean-update, we would like to collect the lake build / lake test logs and post or process them after lean-action has run.

At the moment, the only practical workaround is to run lake build and/or lake test again from lean-update just to capture the logs. That has a few downsides:

  • it duplicates work and makes CI slower
  • it can produce output that differs from the original failure
  • it complicates workflows that want to summarize or report Lean build/test failures

Requested feature

Would it be possible for lean-action to save the output of lake build and lake test to files that later workflow steps can access?

Use case

This would help tools such as lean-update, which need to report or process Lean build/test results after lean-action has already run. If lean-action saved the original logs, lean-update would no longer need to rerun lake build or lake test just to obtain them.

Thanks for reading this.

Lingua principale
Shell
Stelle
51
Fork
22
Merge medio
1g 14h
PR unite (30g)
3

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di leanprover/lean-action

Tutte le issue di leanprover/lean-action

Issue simili

Altre issue su Shell/Bash

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.