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

Disallow empty string rootURL

Abierto
#23 0 comentarios 0 reacciones 1 asignado Ver en GitHub

@petemoore ya está trabajando en esto.

Desde el 7/5/2026.

Evaluación

Este issue todavía no se ha evaluado.

Descripción

For functions that take a root URL (which is possibly all of them), we should throw an exception / panic / do-language-appropriate-thing if the empty string is passed. This can be a common failure case, because if e.g. TASKCLUSTER_ROOT_URL environment variable isn't set for some program that requires it, requests could reach taskcluster-lib-urls with the empty string ("") for rootURL. This is always invalid, and it is easy to check for, so we should handle it upfront, to avoid unexpected downstream behaviour. This has already hit our systems, e.g. with invalid references being generated, such as the following from https://references.taskcluster.net/queue/v1/api.json:

{
  "$schema": "/schemas/common/api-reference-v0.json#",
  "title": "Queue API Documentation",
  ....
}

Here we see the value returned by the apiReferenceSchema method must have been generated using an empty rootUrl, since the value of property $schema does not include the root URL (it should have been "$schema": "https://schemas.taskcluster.net/common/api-reference-v0.json").

Lenguaje dominante
Java
Estrellas
1
Forks
8
Merge medio
6 h 38 min
PR fusionados (30 d)
4

Preparar el entorno

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 taskcluster/taskcluster-lib-urls

Todos los issues de taskcluster/taskcluster-lib-urls

Issues similares

Más issues de Java

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.