Files
at-container-registry/deploy/upcloud/configs/appview.yaml.tmpl
T
Evan JarrettandClaude Fable 5.1 0080957a21 remove the runtime test_mode switch; the testmode build tag is the only one
server.test_mode survived the build-tag refactor only to feed five
behavioral branches: the registry's fall-back to the default hold when
the user's hold is unreachable, backfill warning suppression for
external holds, the appview listener close on shutdown, the hold's
relay-crawl skip, and the hold's appview-issuer tolerance. Every one of
them is a "this is a local development build" decision, which is what
the tag already says, and local development has to build with the tag
or nothing resolves. So they read atproto.TestModeBuild now, and the
flag, SetTestMode, IsTestMode, the middleware option, the backfill
constructor parameter, the never-read field on RemoteHoldAuthorizer,
the example and template YAML lines, and the docker-compose env vars
are gone. The registry keeps the fallback as a field seeded from the
constant so the production-path tests can pin it off under the tag.

The 24 SetTestMode calls in tests were dead already: stripping them and
running the affected packages tagged changed nothing.

Tests that resolve a loopback did:web used to t.Fatal naming the tag,
which left a bare `go test ./...` permanently red in five packages.
They now live under `//go:build testmode`: whole-file constraints where
every test needs it, and sibling *_testmode_test.go files holding the
moved tests plus their fixtures where a file mixed. The harness carries
the constraint too, with its package doc in an untagged doc.go so the
package still exists without it. An untagged run compiles those tests
out and passes; make test keeps the tag and runs everything.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UwYzaG3Yy7uA8FbZ5qk3tQ
2026-09-11 11:09:44 -05:00

61 lines
1.6 KiB
Cheetah

version: "0.1"
log_level: info
log_shipper:
backend: ""
url: ""
batch_size: 100
flush_interval: 5s
username: ""
password: ""
server:
addr: :5000
base_url: "https://seamark.dev"
client_name: Seamark
client_short_name: Seamark
registry_domains:
- "buoy.cr"
- "bouy.cr"
- "seamark.cr"
managed_holds:
- "{{.HoldDid}}"
upload_buffer_budget_mb: 512
upload_idle_timeout: 1h0m0s
ui:
database_path: "{{.BasePath}}/ui.db"
theme: seamark
libsql_sync_url: ""
libsql_auth_token: ""
libsql_sync_interval: 1m0s
health:
cache_ttl: 15m0s
check_interval: 15m0s
# Elects one instance to run the Jetstream consumer, backfill, labeler and
# cleanup workers. Harmless on a single instance; required before scaling out.
leases:
enabled: true
ttl: 1m0s
renew_interval: 20s
jetstream:
urls:
- wss://jetstream2.us-west.bsky.network/subscribe
- wss://jetstream1.us-west.bsky.network/subscribe
- wss://jetstream2.us-east.bsky.network/subscribe
- wss://jetstream1.us-east.bsky.network/subscribe
backfill_enabled: true
backfill_interval: 24h
relay_endpoints:
- https://relay1.us-east.bsky.network
- https://relay1.us-west.bsky.network
auth:
cert_path: "{{.BasePath}}/auth/private-key.crt"
credential_helper:
# docker-credential-seamark, credHelpers value "seamark", config dir ~/.seamark.
name: seamark
legal:
company_name: Seamark
jurisdiction: State of Texas, United States
ai:
api_key: ""
labeler:
did: ""