Skip to content

Publish swap_daily (batch 4, step 10) - #226

Merged
Kenbak merged 1 commit into
mainfrom
new/swaps-publish
Nov 2, 2026
Merged

Kenbak merged 1 commit into
mainfrom
new/swaps-publish

Conversation

@Kenbak

@Kenbak Kenbak commented Nov 2, 2026

Copy link
Copy Markdown
Owner

Publishes the daily cross-chain swap dataset after the host rollout in server/deploy/ask-analytics/swaps.md steps 0–9 was verified on 2026-11-02.

Verified on the analytics host

  • Store swap_daily equals the same query on mainnet: 5,627 rows, 0 differences (2025-05-21 → 2026-11-01).
  • NEAR Intents daily counts equal the swaps dataset on all 142 dates.
  • Amount backfill: 119,970 swaps, 0 mismatches, 0 missing. The single missing_zec is a THORChain row (2026-10-09) that has no amount on mainnet either.
  • Worker 116b8a72 and admission are live, swap_daily ready, alert healthy; live sql_query still rejects swap_daily until this merges.

Changes

  • lib/ask/research-catalogue.js: remove published:false.
  • analytics-availability.py, query-load.py: require swap_daily (14 datasets).
  • Tests: published assertions; eval counts 53 cases / 45 research (swap_volume_by_venue_2026_10 and swap_linkage_unavailable leave pending).
  • swaps.md: step 8 wording for source-side missing amounts.

Rollout (owner approval): deploy a worker build of this commit before merging (the worker enforces published), then merge, deploy both scripts, verify with a live MCP sql_query.
Rollback: revert this PR, re-deploy worker 116b8a72, restore the previous analytics-availability.py.

🤖 Generated with Claude Code

Rollout steps 0-9 in swaps.md are complete on the analytics host: store matches
mainnet row for row (5,627 rows), NEAR counts match swaps on all 142 dates.
Removes published:false, requires swap_daily in the alert and load gates, and
moves its two eval cases out of pending.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
zecblock Ready Ready Preview Nov 2, 2026 9:29pm UTC
2 Skipped Deployments
Project Deployment Actions Updated
zecblock-crosslink Ignored Ignored Nov 2, 2026 9:29pm UTC
zecblock-testnet Ignored Ignored Nov 2, 2026 9:29pm UTC

Request Review

@Kenbak
Kenbak merged commit 851dc76 into main Nov 2, 2026
30 checks passed
@Kenbak
Kenbak deleted the new/swaps-publish branch November 2, 2026 21:36

This branch was successfully deployed

1 active deployment
Preview – zecblock — 52da4559 Deployed Nov 2, 2026 by vercel[bot]
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