Some checks failed
Windows project source guards / test (push) Failing after 8m32s
The service's subscriptions get one report per finished connect or server switch: POST https://reports.zapret.moe/v1/reports, vpnbot client_reports schema 1, with no prompt and no setting (owner decisions 15-19.11.2026). Same contract and decisions as Android (client-reports module). - xray_fluent/client_reports/contract.py: contract and JSON, the zapret-server-ids header (base64url of zlib JSON, 512 KB inflate cap), classifier onto the vpnbot ladder, disk queue, network token, send policy. - reporter.py: install id, GET /v1/network only directly, batches directly first and through the local proxy without an answer; daemon thread, no timers. - Subscription.server_ids from the header (also on a 304), matched by provider_name and link scheme (Trojan/SS/VMess lines of the VLESS product). - AppController._report_transition_attempt at the single end of a transition: Hysteria/AWG success = connected (proven by their engines at start); VLESS success is confirmed by one HTTPS request through the Xray relay SOCKS inbound (owner decision 19.11.2026); a failure only with the core's own TARGET_* code; superseded = cancelled. - Egress allowlist entry with its reason; docs/CLIENT_REPORTS.md. Tests: tests/test_client_reports.py 19 green; full suite green except two crashes that also happen on clean HEAD in this headless container (test_smart_switch ProbeWorkerThreadingTests segfault, test_update_installer Qt window abort). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
8 lines
444 B
Python
8 lines
444 B
Python
"""Connection reports for status.zapret.moe (vpnbot client_reports, schema 1).
|
||
|
||
Owner decisions of 15–19.11.2026, stage S4 of «honest coverage»: the app tells the
|
||
service's report ingest, with no prompt and no setting, whether a connection to a
|
||
server of the service's own subscriptions worked and at which step it failed.
|
||
``contract`` holds the format and the pure decisions; ``reporter`` only the network.
|
||
See docs/CLIENT_REPORTS.md.
|
||
"""
|