A single-tenant AT Protocol OAuth Token-Mediating Backend in Swift. nnabeyang.tngl.sh/atproto-oauth-tmb

build: build the portable targets on Linux #18

Merged nnabeyang.tngl.sh
targeting main
Merged opened by and assigned to nnabeyang.tngl.sh
targeting main

Summary #

  • Move the OAuth HTTP client and identity resolver into a new ATProtoOAuthTMBClient target that depends only on the domain target.
  • Define the storage adapters, executables, and their tests only on macOS.
  • Make the resolver build with Glibc. DNS TXT lookups use DNS-SD where available; otherwise handles resolve through HTTPS.
  • Add a Dev Container (swift:6.4.0-noble) for Linux development.

Testing #

  • macOS: swift build, swift test (127 tests), swift format lint --strict, release and Homebrew script tests
  • Linux: swift test --scratch-path /tmp/build in swift:6.4.0-noble and in the Dev Container (69 tests; the macOS-only targets are excluded)

This pull request has no versions submitted yet.