Repository navigation
Revive tent from LibRedirect; stop the slash-strip eating test_url - #16
Merged
Merged
Conversation
Tent was not dead -- its registry host was. forgejo.sny.sh no longer resolves or connects at all, so the source produced an empty list every night and tent sat at 0 instances. LibRedirect tracks Tent and is already the discovery source tools/discover.py uses elsewhere, so point at it instead: 11 instances, of which probing finds 5 clean, 2 behind anti-bot walls (the runtime check prunes those) and the rest dead. tent's fallback was https://tent.sny.sh -- same vanished host -- so it is replaced with https://tent.canine.tools, which probes clean. Separately, and more urgently: apply_update ended with sed -i 's/\/"/"/g' services-full.json which strips a / before ANY quote in the file, not just at the end of an instance URL. SearXNG's test_url became "/" in the previous change, so the next nightly run would have rewritten it to "" -- silently undoing that fix. Replaced with a jq transform that only touches .instances[] and .fallback. Verified: tent 0 -> 11, searxng test_url still "/", trailing slashes still stripped from both instance and fallback URLs, every other service and all 22 entries byte-identical. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017RU5GnqJo2CsjM4zoPX5jv
This was referenced Aug 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
From the backlog audit. Two things, the second one time-sensitive.
1.
tentwas never dead — its registry host wasforgejo.sny.shno longer resolves or connects at all, so the source produced an empty list every night andtentsat at 0 instances. I nearly retired the service on that basis; checking a second registry first was the right call.LibRedirect tracks Tent and is already the discovery source
tools/discover.pyuses for other services. Pointing at it yields 11 instances, which probe as:tent.canine.tools,tent.deep-swarm.xyz,tent.nbh.ax,tn.maid.zone,tn.dc09.rubandcamp.lurkmore.com,tent.bloat.cat— runtime check prunes thesetent's fallback was
https://tent.sny.sh— the same vanished host — so it's replaced withhttps://tent.canine.tools, which probes clean.2. The slash-strip was about to eat SearXNG's
test_urlapply_updateended with:sed -i 's/\/"/"/g' services-full.jsonThat strips a
/before any quote in the file, not just at the end of an instance URL. #15 set SearXNG'stest_urlto"/", so tonight's nightly would have rewritten it to""— silently undoing that fix and reverting searxng to a degraded check. I only caught it because the tent test diffed the whole file rather than just the service I changed.Replaced with a jq transform that touches only
.instances[]and.fallback.Validation
Ran the real
apply_updateand the real tent block in a container against live LibRedirect data, with a deliberately slash-suffixedquetreseeded in to prove the stripping still works:test_url/✅test_urls🤖 Generated with Claude Code
https://claude.ai/code/session_017RU5GnqJo2CsjM4zoPX5jv