Skip to content

Clojure docs never published; wrapper docs legs fail at docs 8245169 #148

Open

Description

@tony

Summary

No Clojure documentation has ever been published: https://libtmux.org/en/clojure/latest/ returns 403, while the site's port picker already lists Clojure. Clojure publishes only through this repository's docs.yml, as an include-wrappers leg. At libtmux/docs 8245169, the docs commit that adds Clojure to the site, three wrapper legs fail. kotlin and scala stop on their Maven Central README badges, and clojure stops because its leg has no Java checkout. The causes are in libtmux/docs, and libtmux/docs#296 changes all three. This repository's docs pins stay at c5b56f2b9, which predates Clojure, so Clojure stays unpublished until a caller PR moves them to a docs commit that contains #296.

Reproduction

  1. Request the Clojure landing page:

    $ curl -s -o /dev/null -w '%{http_code}\n' https://libtmux.org/en/clojure/latest/
  2. Read the failed legs of the docs run on ci(docs) Refine the pages and list the new ports #147, which moved both pins from c5b56f2b9 to 8245169:

    $ gh run view 42714401041 --repo libtmux/libtmux-java --log-failed

Expected

With the pins on 8245169, the PR build passes for java, kotlin, scala and clojure, and the merge publishes all four.

Actual

  • The landing page returns 403 (CloudFront AccessDenied for a key that does not exist). Nothing exists under en/clojure/latest/.
  • Run 42714401041: the java leg passes, and kotlin, scala and clojure fail. ci(docs) Refine the pages and list the new ports #147 was closed unmerged.
  • The last publish, push run 42441924627 at c5b56f2b9, built java, kotlin and scala only.
  • The workflow_dispatch language input offers all, java, kotlin, scala (docs.yml#L23), so a manual Clojure build is reachable only through all.

Environment

Revisions

Evidence

Failing lines of run 42714401041
build / build (latest, trunk, false, false, kotlin)   Error: kotlin: unsupported badge https://img.shields.io/maven-central/v/io.github.libtmux/libtmux-kotlin?label=libtmux-kotlin; add a mapping to scripts/lib/badges.mjs
build / build (latest, trunk, false, false, scala)    Error: scala: unsupported badge https://img.shields.io/maven-central/v/io.github.libtmux/libtmux-scala_3?label=libtmux-scala_3; add a mapping to scripts/lib/badges.mjs
build / build (latest, trunk, false, false, clojure)  Error: java: no checkout at /home/runner/work/libtmux/libtmux-java; set LIBTMUX_DOCS_CHECKOUT_JAVA

Clojure leg, traced at libtmux/docs 8245169:

Kotlin and scala legs:

Why no check caught it before #147:

  • This repository's docs.yml runs on pull requests, master pushes, tags and dispatch, with no schedule. A run only builds the docs commit its pins name.
  • libtmux/docs CI checks out none of java, kotlin, scala or clojure (test.yml#L52-L130).
  • Its shell build runs without LIBTMUX_DOCS_SOURCE_SHA, so the clojure branch of build-site.sh never runs there.

References

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions