• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

snarfed / webutil
92%

Build:
DEFAULT BRANCH: main
Repo Added 27 May 2026 11:20PM UTC
Files 15
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH main
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • circle
  • main

18 Nov 2026 11:16PM UTC coverage: 91.733% (+0.04%) from 91.698%
a89a00c8-2a02-4d57-be75-8cbedd40ce81

push

circleci

snarfed
flask_util.canonicalize_domain: swap args to (to_domain, from_domains=None)

from_domains=None redirects all domains except localhost and 127.0.0.1, on any port. same for canonicalize_request_domain

25 of 25 new or added lines in 2 files covered. (100.0%)

3440 of 3750 relevant lines covered (91.73%)

1.83 hits per line

Relevant lines Covered
Build:
Build:
3750 RELEVANT LINES 3440 COVERED LINES
1.83 HITS PER LINE
Source Files on main
  • Tree
  • List 15
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
a89a00c8... main flask_util.canonicalize_domain: swap args to (to_domain, from_domains=None) from_domains=None redirects all domains except localhost and 127.0.0.1, on any port. same for canonicalize_request_domain push 18 Nov 2026 11:20PM UTC snarfed circleci
91.73
ea038dbd... main util.requests_fn: pass gateway through to punycode retry so that when the retry also fails, eg for a truncated domain like bsky…, we return 400 instead of raising the raw InvalidURL https://console.cloud.google.com/errors/detail/COLzgISI47vpMg;l... push 16 Nov 2026 04:19PM UTC snarfed circleci
91.7
a0cab683... main util.interpret_http_exception: fix NameError on connection failures when websockets isn't installed push 11 Nov 2026 12:38AM UTC snarfed circleci
91.69
be82d25f... main util: make grpc import optional, drop grpcio dependency GrpcLoggingInterceptor is now only defined if grpcio is installed for snarfed/bridgy#1069 push 10 Nov 2026 10:39PM UTC snarfed circleci
91.68
3e0eac6b... main appengine_config: on Cloud Run, pass project id to StructuredLogHandler so that log entries have full projects/.../traces/... trace ids, which Cloud Logging needs to link them to their requests and traces https://docs.cloud.google.com/trace/docs... push 08 Nov 2026 04:22PM UTC snarfed circleci
91.72
f1e1e5d2... main testutil: patch util.session to block unmocked HTTP requests push 06 Nov 2026 04:05PM UTC snarfed circleci
91.72
606a10be... main util.requests_fn: attach requests_response to BadGateway when gateway=True lets callers check the underlying HTTP status, eg to detect remote servers blocking us with 401/403 push 03 Nov 2026 11:10PM UTC snarfed circleci
91.62
9d494cae... main flask_util.MODERN_HEADERS: drop Reporting-Endpoints /csp-report push 28 Oct 2026 06:21PM UTC snarfed circleci
91.59
53265aa1... main util.is_connection_failure: add zlib.error for https://console.cloud.google.com/errors/detail/CI2P08exgaep-AE;locations=global;time=P30D?project=bridgy-federated push 21 Oct 2026 04:34AM UTC snarfed circleci
91.59
4571df5a... main release v3.0 push 15 Oct 2026 05:39AM UTC snarfed circleci
91.59
See All Builds (74)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc