Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Creating pipelines zip archive in docs CI on every push to a PR branch

Abierto Apto para principiantes
#714 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
1/5
Tiempo estimado
Menos de una hora
Aptitud para principiantes
88/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Tranquilo
Stack tecnológico
github-actions

Línea de trabajo

Comienza en .github/workflows/httomo_docs.yml, inspeccionando la creación del artefacto en las líneas 43-45 y 56-60 junto con la condición de carga de docs alrededor de la línea 51. Ajusta la condición del workflow para que el artefacto pipelines se cree solo para releases y, a continuación, verifica que los pushes a ramas de PR no lo carguen, mientras que las ejecuciones de release sigan haciéndolo.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

ci

I noticed that there's an artifact getting uploaded as part of the docs build CI even if the CI wasn't triggered by a tag push:

https://github.com/DiamondLightSource/httomo/blob/899a43da8c63a1431d0804dcb48773be08b46710/.github/workflows/httomo_docs.yml#L43-L45

https://github.com/DiamondLightSource/httomo/blob/899a43da8c63a1431d0804dcb48773be08b46710/.github/workflows/httomo_docs.yml#L56-L60

The artifact isn't very big (taken from https://github.com/DiamondLightSource/httomo/actions/runs/24771337928/job/72478300291?pr=708):

With the provided path, there will be 1 file uploaded
Artifact name is valid!
Root directory input is valid!
Beginning upload of artifact content to blob storage
Uploaded bytes 16937
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact zip is 5e9dd090dcaad7c024f063b92dcd1c1b6e945ce80a57d2491132ba2461fd364a
Finalizing artifact upload
Artifact full_pipelines-artifact.zip successfully finalized. Artifact ID 6575004505
Artifact full_pipelines-artifact has been successfully uploaded! Final size is 16937 bytes. Artifact ID is 6575004505
Artifact download URL: https://github.com/DiamondLightSource/httomo/actions/runs/24771337928/artifacts/6575004505

but if this happens every time a push is done to a PR branch then this could accumulate, and I imagine it'd accumulate somewhere associated with the repo and it'll eventually reach a storage limit of some kind.

We probably want to only create this artifact for releases, which would be equivalent to something like the following condition used for the docs upload, just without the main part: https://github.com/DiamondLightSource/httomo/blob/899a43da8c63a1431d0804dcb48773be08b46710/.github/workflows/httomo_docs.yml#L51

Lenguaje dominante
Python
Estrellas
10
Forks
5
Merge medio
6 min
PR fusionados (30 d)
1

Preparar el entorno

  • Incluye un Dockerfile o un archivo de Docker Compose
  • Tiene una plantilla de pull request
  • Sin guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de DiamondLightSource/httomo

Todos los issues de DiamondLightSource/httomo

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.