Skip to content

fix(cloudflare): disable observability collection and logpush - #10367

Merged
JSONbored merged 2 commits into
mainfrom
codex/disable-cloudflare-observability
Nov 3, 2026
Merged

JSONbored merged 2 commits into
mainfrom
codex/disable-cloudflare-observability

Conversation

@JSONbored

@JSONbored JSONbored commented Nov 3, 2026 •

Copy link
Copy Markdown
Owner

Summary

Cloudflare begins charging for Observability ingestion and retained storage on December 1, 2026. Disable logs, invocation logs, traces, persistence and Logpush in every Worker configuration, including the separately generated UI preview configuration, so subsequent deployments preserve the account's zero-collection policy.

Closes #10366

  • API and UI production configs, control-plane/discovery-index configs and preview uploads all explicitly disable collection.
  • External monitoring and all application bindings remain unchanged.

Scope

  • The PR title follows type(scope): short summary Conventional Commit format, for example fix(api): restore profile access checks.
  • This PR is focused and does not mix unrelated backend, UI, MCP, docs, dependency, and deploy changes.
  • This follows CONTRIBUTING.md and does not reintroduce GitHub Pages, VitePress, site/, or CNAME.
  • I linked a currently open issue this PR resolves (e.g. Closes #123) — a linked open issue is required for every contributor PR.

Validation

  • git diff --check
  • npm run actionlint
  • npm run typecheck
  • npm run test:coverage locally; codecov/patch requires ≥99% coverage of the lines AND branches you changed (aim for 100% on your diff so CI variance does not fail near the threshold). Global coverage is a non-blocking trend with a loose 90% backstop, not the gate.
  • npm run test:workers
  • npm run build:mcp
  • npm run test:mcp-pack
  • npm run ui:openapi:check
  • npm run ui:lint
  • npm run ui:typecheck
  • npm run ui:build
  • npm audit --audit-level=moderate
  • New or changed behavior has unit/integration tests for new branches, fallback paths, and sanitizer boundaries

If any required check was skipped, explain why:

  • CI run: changes, drift-history and validate-code passed, including type checks and UI build. Test coverage reported 26,246 passed, 15 failed and 21 skipped. All failures are in unchanged test/runtime files; none concerns the changed observation settings. For example, unchanged submitter-reputation fixtures seed July 10/11 rows, while the unchanged SQL 90-day recency cutoff is August 5 on the run date, producing an empty result. The entire src/, test/ and CI workflow trees are identical to the base commit. No unrelated test/runtime changes are included.
  • Dependency-free semantic verification parsed all five effective configurations, confirmed disabled collection, rejected the previous enabled states, and confirmed every unrelated configuration field is unchanged.
  • No runtime source, API contracts or authentication behavior changed.

Safety

  • No secrets, wallet details, hotkeys, coldkeys, user PATs, private keys, raw trust scores, private rankings, or private maintainer evidence are exposed.
  • Public GitHub text stays sanitized, low-noise, and does not imply compensation guarantees or optimization tactics.
  • Auth, cookie, CORS, GitHub App, Cloudflare, or session changes include negative-path tests.
  • API/OpenAPI/MCP behavior is updated and tested where needed.
  • UI changes use live API data or real empty/error/loading states, not production mock/demo fallbacks.
  • Visible UI changes include a UI Evidence section below with JPG/JPEG or PNG screenshots arranged as organized, captioned, clickable thumbnails. SVG screenshots are not used as review evidence. Review-only screenshots or recordings are not committed to the repository.
  • Public docs/changelogs are updated where needed; changelogs are only edited for release-prep PRs.

UI Evidence

No visual impact. Changes are limited to Cloudflare deployment settings.

Notes

  • Hold for manual approval after CI. Do not merge automatically.
  • Ready status was required to run CI. The previously disabled CI workflow was temporarily enabled for this validation and then restored to its original disabled state.
  • Live account settings and billing verification are handled separately.

@JSONbored JSONbored added the manual-review Gittensor contributor context label Nov 3, 2026
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
❌ Deployment failed
View logs
loopover-ui 0c53226 Nov 03 2026, 12:38 AM

@codecov

codecov Bot commented Nov 3, 2026

Copy link
Copy Markdown

Bundle Report

Bundle size has no change ✅

@codecov

codecov Bot commented Nov 3, 2026

Copy link
Copy Markdown

❌ 15 Tests Failed:

Tests completed Failed Passed Skipped
26258 15 26243 21
View the top 3 failed test(s) by shortest run time
test/unit/submitter-reputation.test.ts > getSubmitterReputation / getSubmitterReputationAcrossInstall / listSubmitterCohortRows — live-ledger repoint (#9136) > getSubmitterReputationAcrossInstall aggregates across every repo the installation owns, via `repositories`
Stack Traces | 0.00718s run time
AssertionError: expected 'neutral' to be 'low' // Object.is equality

Expected: "low"
Received: "neutral"

 ❯ test/unit/submitter-reputation.test.ts:276:24
test/unit/submitter-reputation.test.ts > getSubmitterReputation / getSubmitterReputationAcrossInstall / listSubmitterCohortRows — live-ledger repoint (#9136) > reads a submitter's login case-insensitively, and scopes strictly to the requested project
Stack Traces | 0.00731s run time
AssertionError: expected 'neutral' to be 'low' // Object.is equality

Expected: "low"
Received: "neutral"

 ❯ test/unit/submitter-reputation.test.ts:248:24
test/unit/submitter-reputation.test.ts > getSubmitterReputation / getSubmitterReputationAcrossInstall / listSubmitterCohortRows — live-ledger repoint (#9136) > listSubmitterCohortRows groups real ledger rows by submitter with pull_requests-sourced merge timing
Stack Traces | 0.0111s run time
AssertionError: expected [] to deeply equal [ ObjectContaining{…} ]

- Expected
+ Received

- [
-   ObjectContaining {
-     "avgAttemptCount": 1,
-     "avgMergeMs": 86400000,
-     "closed": 1,
-     "merged": 1,
-     "submissions": 2,
-     "submitter": "alice",
-   },
- ]
+ []

 ❯ test/unit/submitter-reputation.test.ts:291:18
test/unit/public-stats.test.ts > getPublicStats — live aggregate over the review ledger > publishes a real accuracy once the deployment records the auto-action a reversal attaches to (real D1)
Stack Traces | 0.0139s run time
AssertionError: expected null to be 100 // Object.is equality

- Expected:
100

+ Received:
null

 ❯ test/unit/public-stats.test.ts:863:36
test/unit/submitter-reputation.test.ts > getSubmitterReputation / getSubmitterReputationAcrossInstall / listSubmitterCohortRows — live-ledger repoint (#9136) > derives the quality signal from real review_audit pr_outcome rows joined to pull_requests
Stack Traces | 0.0269s run time
AssertionError: expected 'neutral' to be 'trusted' // Object.is equality

Expected: "trusted"
Received: "neutral"

 ❯ test/unit/submitter-reputation.test.ts:234:24
test/unit/retention.test.ts > runRetentionPrune + processJob > processJob prune-retention deletes, dedupes signal_snapshots, and audits both
Stack Traces | 0.0354s run time
AssertionError: expected +0 to be 1 // Object.is equality

- Expected
+ Received

- 1
+ 0

 ❯ test/unit/retention.test.ts:742:69
test/unit/operator-dashboard.test.ts > operator dashboard payload > wires computeFindingAcceptance into the dashboard's acceptance card shape (#1967/#5213)
Stack Traces | 0.0652s run time
AssertionError: expected { windowDays: 90, accepted: +0, …(2) } to deeply equal { windowDays: 90, accepted: 1, …(2) }

- Expected
+ Received

  {
-   "accepted": 1,
-   "rate": 0.5,
-   "total": 2,
+   "accepted": 0,
+   "rate": null,
+   "total": 0,
    "windowDays": 90,
  }

 ❯ test/unit/operator-dashboard.test.ts:298:32
test/unit/routes-gate-outcome-breakdown.test.ts > GET /v1/app/maintainer-dashboard gateOutcomeBreakdown (#2203) > excludes non-terminal and non-gate audit rows from gateOutcomeBreakdown totals
Stack Traces | 0.0988s run time
AssertionError: expected { windowDays: 30, …(5) } to match object { total: 1, counts: { …(3) } }
(7 matching properties omitted from actual)

- Expected
+ Received

  {
    "counts": {
      "autoClosed": 0,
-     "autoMerged": 1,
+     "autoMerged": 0,
      "held": 0,
    },
-   "total": 1,
+   "total": 0,
  }

 ❯ test/unit/routes-gate-outcome-breakdown.test.ts:147:56
test/unit/public-stats.test.ts > getPublicStats — live aggregate over the review ledger > REGRESSION: the accuracy denominator is bounded to audit_events' retention window, not lifetime (real D1)
Stack Traces | 0.114s run time
AssertionError: expected null to be +0 // Object.is equality

- Expected:
0

+ Received:
null

 ❯ test/unit/public-stats.test.ts:850:43
test/unit/signals.test.ts > world-class backend signals > covers issue lifecycle, review intelligence, registry diffs, and maintainer forecast boundaries
Stack Traces | 0.129s run time
AssertionError: expected [ 'valid_solved', 'stale', …(3) ] to deeply equal ArrayContaining{…}

- Expected
+ Received

- ArrayContaining [
-   "duplicate",
-   "invalid",
+ [
    "valid_solved",
+   "stale",
    "closed_not_solved",
-   "open",
+   "duplicate",
+   "invalid",
  ]

 ❯ test/unit/signals.test.ts:1452:58
test/integration/public-eval-scores-route.test.ts > GET /v1/public/eval-scores (#9266, epic #8534, spec #9215) > filters by ?subject=
Stack Traces | 0.16s run time
AssertionError: expected [] to have a length of 1 but got +0

- Expected
+ Received

- 1
+ 0

 ❯ test/integration/public-eval-scores-route.test.ts:91:81
test/integration/public-eval-scores-route.test.ts > a stranger can tie a record to the corpus they downloaded (#9805) > REGRESSION: publishes records with NO persisted backtest run, each committing to the corpus the other route serves
Stack Traces | 0.163s run time
AssertionError: expected [] to have a length of 1 but got +0

- Expected
+ Received

- 1
+ 0

 ❯ test/integration/public-eval-scores-route.test.ts:158:28
test/integration/public-eval-scores-route.test.ts > GET /v1/public/eval-scores (#9266, epic #8534, spec #9215) > returns records whose recordDigest is independently recomputable from the record's own content
Stack Traces | 0.17s run time
AssertionError: expected [] to have a length of 1 but got +0

- Expected
+ Received

- 1
+ 0

 ❯ test/integration/public-eval-scores-route.test.ts:66:26
test/unit/routes-gate-outcome-breakdown.test.ts > GET /v1/app/maintainer-dashboard gateOutcomeBreakdown (#2203) > surfaces repo-scoped gate-outcome counts on qualityDashboard for an owner session
Stack Traces | 0.172s run time
AssertionError: expected { windowDays: 30, …(5) } to match object { windowDays: 30, total: 3, …(2) }
(2 matching properties omitted from actual)

- Expected
+ Received

  {
    "counts": {
-     "autoClosed": 1,
-     "autoMerged": 1,
-     "held": 1,
+     "autoClosed": 0,
+     "autoMerged": 0,
+     "held": 0,
    },
    "rates": {
-     "autoClosed": 33.3,
-     "autoMerged": 33.3,
-     "held": 33.3,
+     "autoClosed": null,
+     "autoMerged": null,
+     "held": null,
    },
-   "total": 3,
+   "total": 0,
    "windowDays": 30,
  }

 ❯ test/unit/routes-gate-outcome-breakdown.test.ts:79:56
test/integration/public-eval-scores-route.test.ts > GET /v1/public/eval-scores (#9266, epic #8534, spec #9215) > filters by ?since= (an unparseable value excludes nothing, fail-open on a malformed optional filter)
Stack Traces | 0.186s run time
AssertionError: expected [] to have a length of 1 but got +0

- Expected
+ Received

- 1
+ 0

 ❯ test/integration/public-eval-scores-route.test.ts:105:82

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

@JSONbored
JSONbored merged commit 972b26f into main Nov 3, 2026
5 of 8 checks passed
@JSONbored
JSONbored deleted the codex/disable-cloudflare-observability branch November 3, 2026 00:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

manual-review Gittensor contributor context

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Disable Cloudflare Observability collection before December billing

1 participant