Run CI in your Namespace workspace

A Discord bot, new themes and more

Anirudh

Spindles have a new engine, namespace. You can now run workflows on your own Namespace workspace. Take advantage of multiarch builds, cache volumes and configurable machines!

engine: namespace
namespace:
  workspace: tenant_abc123
  machine: linux/arm64:8x16
  cache:
    nix: true
dependencies: [go]
steps:
  - name: test
    command: go test ./...

To access your workspace, spindle doesn’t need to store any Namespace credentials. Instead, each run gets a short-lived OIDC token from the spindle and exchanges it for access to your workspace. To allow this, the workspace owner runs nsc auth trust-relationships add once per repository; see Trusting the spindle. Self-hosted spindles need OIDC turned on first: OIDC federation for operators.

Discord integration

If you want notifications in Discord for your Tangled repository, we have some good news for you: Tangled now has an installable Discord integration! It posts a repository’s new issues, pull requests, tags, artifacts and star milestones to a channel, for any public repository. Add it to your server, then run the slash command like so:

/tangled watch repo:tangled.org/core

There are several knobs available to tune, see the Discord bot docs for every command, and building an integration if you want to make your own.

All sorts of knots and spindles

A knot is just a git server that satisfies an XRPC surface, and people have been building their own:

  • yumak: a knot with no daemon. It turns repos and records into static files nginx serves from disk.
  • naut: a knot that runs as a single Cloudflare Worker, with each repo stored in Cloudflare Artifacts.
  • exe-knot: the standard knot on an exe.dev VM, with a reusable setup prompt to run your own.
  • walknot: knot2 with its storage in an S3 bucket, so you can run one replica or many on Kubernetes and lose any of their disks without losing data.

A spindle only has to read workflows and report back, so it can drive other CI systems:

  • spindle-crowci: runs Tangled pipelines on Crow CI agents, or on stock Gitea runners for GitHub Actions workflows.
  • avsm’s OxCaml spindle: detects a repository’s languages and toolchains, so it gets CI without a workflow file, and hands the jobs to the existing OCluster runners from the OCurrent project.

If you have built your own knot, shoot us a message and we will feature it in our upcoming “Built on Tangled” page!

Themes and activity

Default Light Default Dark Classic Light Classic Dark Snow Ash
The six theme presets

Tangled now has six theme presets. Owing to popular demand, we decided to bring back the Classic Light and Dark themes, along with two new ones: Snow and Ash.

The profile activity graph has seen some tweaks: hover over a count to trace its line, click on a month to see more detailed activity info below.

Knot 1.20.1 is out

If you run a knot, do upgrade to 1.20.1, we have got a variety of updates for you:

  • Fixes go get from knots: GOPROXY=direct fetches broke on shallow boundaries, and the Go module proxy hit “bad band” errors on sha256 repos.
  • No more manual requestCrawl after upgrading: the knot asks once it’s live, and index.tangled.network is the default crawler.
  • knot doctor checks your knot’s crawler status; knot admin repair-handover repairs a stuck handover.
  • lfs.store_path has a default now.
  • Only collaborators can delete issues, PRs and other contribution records, and collaborators can manage label definitions.
  • Pushes to the spindle no longer stall behind one stuck repo.
  • The container image is multi-arch, and there’s an example nginx config with WebSocket handling.
  • The Go knot is gone from the tree. Still on it? Follow the knot 2 upgrade guide, then upgrading knots and spindles.

Your code, your network.
Come build with us on Tangled.

Sign up