Skip to content

Network standard 0.2.1 - #1

Merged
pip-install-python merged 2 commits into
mainfrom
network-standard-0.2.1
Aug 1, 2026
Merged

Network standard 0.2.1#1
pip-install-python merged 2 commits into
mainfrom
network-standard-0.2.1

Conversation

@pip-install-python

Copy link
Copy Markdown
Owner

No description provided.

pip-install-python and others added 2 commits July 31, 2026 23:49
Rolls this satellite onto the standard that 2plot.ai, 2plot.dev and
dash-documentation-boilerplate now ship. No dl2.* component changed;
everything here is the documentation site, its analytics and its CI.

Three defects found while doing it, all of which failed silently:

* Crawler traffic was never counted. The tracker was a Flask
  before_request registered after add_llms_routes, and the llms bot
  middleware answers every crawler with prerendered HTML, which
  short-circuits the remaining handlers. No crawler request ever reached
  the ledger, so this site reported bot_hits: 0 to 2plot.ai structurally.
  Registration order cannot fix it -- Flask wants the tracker first,
  Starlette's add_middleware wants it last -- so it now wraps the
  WSGI/ASGI callable and sits outside the handler chain entirely.

* Every page shipped an empty og:image. Dash emits the tag
  unconditionally and leaves it content="" when it finds no image, which
  unfurls as a blank card -- worse than declaring none. Fixed at the
  source via register_page(image_url=...).

* The web app manifest could never have offered an install: empty name
  and short_name, and icon paths pointing at the site root where nothing
  is served. Nothing linked to it either.

Also: a control-board toggle could rename the site at runtime
(apply_llms_state re-registered the root page as "Home", which
resolve_site_title skips as generic); the ad fetch and traffic rollup
reached the hub as python-requests and inflated its bot_hits; and
gunicorn was pinned under a CVE floor by a transitive markdown2dash pin.

Adds: explicit SITE_BRAND on every surface, the internal-traffic
contract in both directions, scripts/network_smoke.py + smoke_live.py,
an 80-test secretless suite covering all of the above and the smoke
scripts themselves, cd.yml, dependabot.yml, and the network CI baseline
(least-privilege permissions, timeouts, actionlint, a Docker
build/boot/battery job, in-image version fingerprints, pip-audit).

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
0.2.0 was never published, so 0.2.1 is the first release that reaches
PyPI. The tag command, the check_release invocation and the expected
/healthz body all said 0.2.0.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@pip-install-python
pip-install-python merged commit 849cfb3 into main Aug 1, 2026
18 of 19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant