Shuttle runs GitLab CI pipelines for Tangled repositories on an ordinary GitLab runner, and publishes the job logs to the repository owner's tangled.org/dracoblue.de/shuttle
Files
README.md

Shuttle debug #

A static page for reading Shuttle job logs and artifacts. Shuttle writes them as atproto records on the repository owner's PDS. This page loads those records in the browser. There is no server, no login, and no build step.

Open #

Serve this directory over HTTP and open the page on localhost. A file:// page cannot fetch the PDS, and SHA-256 uses WebCrypto.

python3 -m http.server 8765

Visit http://127.0.0.1:8765/ and enter a DID or a handle.

The fragment is the whole UI state, so a link can be shared and Back works:

  • did — account DID (did:plc or did:web). A handle is resolved, then stored as a DID.
  • repo — sh.tangled.repo record key. The record's name is shown when it has one; otherwise the key is the label.
  • trace — net.dracoblue.shuttle.trace record key.
  • artifact — net.dracoblue.shuttle.artifact record key, when a zip archive is open.
  • file — path of a file inside that archive.

Example: #did=did:plc:ks6l7qs37543awud4jyfl7o3&repo=shuttle

What it reads #

From the account PDS:

  • sh.tangled.repo
  • net.dracoblue.shuttle.trace
  • net.dracoblue.shuttle.artifact

Blobs come from com.atproto.sync.getBlob on that same PDS. Parts are joined by parts[].index. The page hashes the joined bytes with WebCrypto and compares them to the record's sha256.

Log text keeps GitLab's ANSI colors. section_start / section_end markers and the \x1b[0K clear-line code are removed so the text stays readable.

An artifact is listed on a job when repo, sha, job, and attempt match. Every trace is shown, including repeated runs of the same job number. An expiresAt in the past, or a missing blob, is reported on that row.

A zip artifact (format: zip) has Browse files next to its download. The page parses the archive in the browser (stored and deflate, including ZIP64), lists each path with its size and modified time, and can show a file as text or as a short hex dump. Each extracted file’s CRC-32 is checked. Assembled bytes are cached per artifact, so browsing after a download does not fetch the blobs again. Opening a file stores artifact and file in the fragment; Back closes that view.