Monorepo for Tangled tangled.org

bug: custom spindle runs workflows assigned to spindle.tangled.sh #572

Closed codeka.io
Closed opened by codeka.io
assigned to boltless.me

I run a custom spindle at spindle.codeka.io.

Since I upgraded it to 1.14.0-alpha, it runs pipelines that are not from my repositories.

Here are some logs from my spindle instance :

May 16 07:52:18 tangled-spindle spindle[4761]: 2026/05/16 07:52:18 WARN spindle: accepting knot pipeline assertion for unknown repoDid repoDid=did:plc:qzvoe5d2bot65h6xlvkau2xb err="sql: no rows in result set"
May 16 07:52:18 tangled-spindle spindle[4761]: 2026/05/16 07:52:18 ERRO spindle: failed to enqueue pipeline: queue is full
May 16 07:52:18 tangled-spindle spindle[4761]: 2026/05/16 07:52:18 WARN spindle: accepting knot pipeline assertion for unknown repoDid repoDid=did:plc:ocidihvgchr3elumb7dmnlrq err="sql: no rows in result set"
May 16 07:52:18 tangled-spindle spindle[4761]: 2026/05/16 07:52:18 ERRO spindle: failed to enqueue pipeline: queue is full
May 16 07:52:18 tangled-spindle spindle[4761]: 2026/05/16 07:52:18 WARN spindle: accepting knot pipeline assertion for unknown repoDid repoDid=did:plc:puynm7srjdawisuovhbccr76 err="sql: no rows in result set"
May 16 07:52:18 tangled-spindle spindle[4761]: 2026/05/16 07:52:18 ERRO spindle: failed to enqueue pipeline: queue is full
May 16 07:52:18 tangled-spindle spindle[4761]: 2026/05/16 07:52:18 WARN spindle: accepting knot pipeline assertion for unknown repoDid repoDid=did:plc:wttgncvbva4uzhbxfruusnux err="sql: no rows in result set"
May 16 07:52:18 tangled-spindle spindle[4761]: 2026/05/16 07:52:18 ERRO spindle: failed to enqueue pipeline: queue is full
May 16 07:52:18 tangled-spindle spindle[4761]: 2026/05/16 07:52:18 WARN spindle: accepting knot pipeline assertion for unknown repoDid repoDid=did:plc:awmyo2l2cdm7hk4puhhwjrwp err="sql: no rows in result set"
May 16 07:52:18 tangled-spindle spindle[4761]: 2026/05/16 07:52:18 ERRO spindle: failed to enqueue pipeline: queue is full
May 16 07:52:18 tangled-spindle spindle[4761]: 2026/05/16 07:52:18 WARN spindle: accepting knot pipeline assertion for unknown repoDid repoDid=did:plc:awmyo2l2cdm7hk4puhhwjrwp err="sql: no rows in result set"
May 16 07:52:18 tangled-spindle spindle[4761]: 2026/05/16 07:52:18 ERRO spindle: failed to enqueue pipeline: queue is full
May 16 07:52:18 tangled-spindle spindle[4761]: 2026/05/16 07:52:18 WARN spindle: accepting knot pipeline assertion for unknown repoDid repoDid=did:plc:puynm7srjdawisuovhbccr76 err="sql: no rows in result set"
May 16 07:52:18 tangled-spindle spindle[4761]: 2026/05/16 07:52:18 ERRO spindle: failed to enqueue pipeline: queue is full
May 16 07:52:18 tangled-spindle spindle[4761]: 2026/05/16 07:52:18 ERRO spindle: failed to enqueue pipeline: queue is full
May 16 07:52:18 tangled-spindle spindle[4761]: 2026/05/16 07:52:18 WARN spindle: accepting knot pipeline assertion for unknown repoDid repoDid=did:plc:or3x6z5fb7djdbq2eydauijr err="sql: no rows in result set"
May 16 07:52:18 tangled-spindle spindle[4761]: 2026/05/16 07:52:18 ERRO spindle: failed to enqueue pipeline: queue is full
May 16 07:52:18 tangled-spindle spindle[4761]: 2026/05/16 07:52:18 WARN spindle: accepting knot pipeline assertion for unknown repoDid repoDid=did:plc:awmyo2l2cdm7hk4puhhwjrwp err="sql: no rows in result set"
May 16 07:52:18 tangled-spindle spindle[4761]: 2026/05/16 07:52:18 ERRO spindle: failed to enqueue pipeline: queue is full
May 16 07:52:18 tangled-spindle spindle[4761]: 2026/05/16 07:52:18 WARN spindle: accepting knot pipeline assertion for unknown repoDid repoDid=did:plc:puynm7srjdawisuovhbccr76 err="sql: no rows in result set"
May 16 07:52:18 tangled-spindle spindle[4761]: 2026/05/16 07:52:18 ERRO spindle: failed to enqueue pipeline: queue is full
May 16 07:52:18 tangled-spindle spindle[4761]: 2026/05/16 07:52:18 ERRO spindle: failed to enqueue pipeline: queue is full
May 16 07:52:18 tangled-spindle spindle[4761]: 2026/05/16 07:52:18 WARN spindle: accepting knot pipeline assertion for unknown repoDid repoDid=did:plc:xs2nkl77chipgjgao6grfr36 err="sql: no rows in result set"
May 16 07:52:18 tangled-spindle spindle[4761]: 2026/05/16 07:52:18 ERRO spindle: failed to enqueue pipeline: queue is full

The first repo in this log extract is identified by did:plc:qzvoe5d2bot65h6xlvkau2xb

A quick search on PDSLS show that this repo belongs to another user : https://pdsls.dev/at://did:plc:ykz4d3th5z4yve7mxafz4h3x/sh.tangled.repo/3mksiukauxm22

The repo explicitly declares spindle.tangled.sh as its spindle.

This is the case for every other log. My spindle is constantly full. I guess it also breaks the pipelines on the others people side.

Here is my spindle env-var configuration :

# Required variables
SPINDLE_SERVER_HOSTNAME=spindle.codeka.io
SPINDLE_SERVER_OWNER=did:plc:a27wdjlmq3ebx4v5f2jpzvsk
# Default variables
SPINDLE_SERVER_LISTEN_ADDR=0.0.0.0:6555
SPINDLE_SERVER_DB_PATH=/home/tangled/spindle.db
SPINDLE_SERVER_JETSTREAM_ENDPOINT=wss://jetstream1.us-west.bsky.network/subscribe
SPINDLE_SERVER_LOG_DIR=/home/tangled/logs
SPINDLE_PIPELINES_NIXERY=nixery.tangled.sh
SPINDLE_PIPELINES_WORKFLOW_TIMEOUT=5m

For now, I had to shut my spindle down, as it is completly broken. Will try again with a futher release.

Thanks for the report! Based on the shared logs, it seems like you are running the spindle in master branch and not from tagged version. This issue appears to occur only on the unstable master branch and is not present in v1.14. Would you mind trying v1.14 and confirming whether you still encounter the issue there?

Yes, I was building the version on the master branch. I tried with the version 1.14.0-alpha explicitly and the issue does not occur anymore. Thank you.

Closing as PR#1531 has been merged.

Sign up or Sign in to add to the discussion.