Payload
{
"ref": "refs/heads/fkb/dune-client-hardening",
"before": "0000000000000000000000000000000000000000",
"after": "5b533f15e99b3a60874d979a91aa272ad2515752",
"repository": {
"id": 1144186344,
"node_id": "R_kgDORDLl6A",
"name": "iridium",
"full_name": "darkmatter/iridium",
"private": true,
"owner": {
"name": "darkmatter",
"email": "hello@dm.sh",
"login": "darkmatter",
"id": 17834193,
"node_id": "MDEyOk9yZ2FuaXphdGlvbjE3ODM0MTkz",
"avatar_url": "https://avatars.githubusercontent.com/u/17834193?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/darkmatter",
"html_url": "https://github.com/darkmatter",
"followers_url": "https://api.github.com/users/darkmatter/followers",
"following_url": "https://api.github.com/users/darkmatter/following{/other_user}",
"gists_url": "https://api.github.com/users/darkmatter/gists{/gist_id}",
"starred_url": "https://api.github.com/users/darkmatter/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/darkmatter/subscriptions",
"organizations_url": "https://api.github.com/users/darkmatter/orgs",
"repos_url": "https://api.github.com/users/darkmatter/repos",
"events_url": "https://api.github.com/users/darkmatter/events{/privacy}",
"received_events_url": "https://api.github.com/users/darkmatter/received_events",
"type": "Organization",
"user_view_type": "public",
"site_admin": false
},
"html_url": "https://github.com/darkmatter/iridium",
"description": null,
"fork": false,
"url": "https://api.github.com/repos/darkmatter/iridium",
"forks_url": "https://api.github.com/repos/darkmatter/iridium/forks",
"keys_url": "https://api.github.com/repos/darkmatter/iridium/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/darkmatter/iridium/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/darkmatter/iridium/teams",
"hooks_url": "https://api.github.com/repos/darkmatter/iridium/hooks",
"issue_events_url": "https://api.github.com/repos/darkmatter/iridium/issues/events{/number}",
"events_url": "https://api.github.com/repos/darkmatter/iridium/events",
"assignees_url": "https://api.github.com/repos/darkmatter/iridium/assignees{/user}",
"branches_url": "https://api.github.com/repos/darkmatter/iridium/branches{/branch}",
"tags_url": "https://api.github.com/repos/darkmatter/iridium/tags",
"blobs_url": "https://api.github.com/repos/darkmatter/iridium/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/darkmatter/iridium/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/darkmatter/iridium/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/darkmatter/iridium/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/darkmatter/iridium/statuses/{sha}",
"languages_url": "https://api.github.com/repos/darkmatter/iridium/languages",
"stargazers_url": "https://api.github.com/repos/darkmatter/iridium/stargazers",
"contributors_url": "https://api.github.com/repos/darkmatter/iridium/contributors",
"subscribers_url": "https://api.github.com/repos/darkmatter/iridium/subscribers",
"subscription_url": "https://api.github.com/repos/darkmatter/iridium/subscription",
"commits_url": "https://api.github.com/repos/darkmatter/iridium/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/darkmatter/iridium/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/darkmatter/iridium/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/darkmatter/iridium/issues/comments{/number}",
"contents_url": "https://api.github.com/repos/darkmatter/iridium/contents/{+path}",
"compare_url": "https://api.github.com/repos/darkmatter/iridium/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/darkmatter/iridium/merges",
"archive_url": "https://api.github.com/repos/darkmatter/iridium/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/darkmatter/iridium/downloads",
"issues_url": "https://api.github.com/repos/darkmatter/iridium/issues{/number}",
"pulls_url": "https://api.github.com/repos/darkmatter/iridium/pulls{/number}",
"milestones_url": "https://api.github.com/repos/darkmatter/iridium/milestones{/number}",
"notifications_url": "https://api.github.com/repos/darkmatter/iridium/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/darkmatter/iridium/labels{/name}",
"releases_url": "https://api.github.com/repos/darkmatter/iridium/releases{/id}",
"deployments_url": "https://api.github.com/repos/darkmatter/iridium/deployments",
"created_at": 1769601223,
"updated_at": "2026-06-10T06:55:30Z",
"pushed_at": 1781074870,
"git_url": "git://github.com/darkmatter/iridium.git",
"ssh_url": "git@github.com:darkmatter/iridium.git",
"clone_url": "https://github.com/darkmatter/iridium.git",
"svn_url": "https://github.com/darkmatter/iridium",
"homepage": "https://switchblade.app",
"size": 55992,
"stargazers_count": 0,
"watchers_count": 0,
"language": "TypeScript",
"has_issues": true,
"has_projects": true,
"has_downloads": true,
"has_wiki": true,
"has_pages": false,
"has_discussions": false,
"forks_count": 0,
"mirror_url": null,
"archived": false,
"disabled": false,
"open_issues_count": 0,
"license": null,
"allow_forking": false,
"is_template": false,
"web_commit_signoff_required": false,
"has_pull_requests": true,
"pull_request_creation_policy": "all",
"topics": [],
"visibility": "internal",
"forks": 0,
"open_issues": 0,
"watchers": 0,
"default_branch": "main",
"stargazers": 0,
"master_branch": "main",
"organization": "darkmatter",
"custom_properties": {}
},
"pusher": {
"name": "fkb032",
"email": "249513614+fkb032@users.noreply.github.com"
},
"forced": false,
"organization": {
"login": "darkmatter",
"id": 17834193,
"node_id": "MDEyOk9yZ2FuaXphdGlvbjE3ODM0MTkz",
"url": "https://api.github.com/orgs/darkmatter",
"repos_url": "https://api.github.com/orgs/darkmatter/repos",
"events_url": "https://api.github.com/orgs/darkmatter/events",
"hooks_url": "https://api.github.com/orgs/darkmatter/hooks",
"issues_url": "https://api.github.com/orgs/darkmatter/issues",
"members_url": "https://api.github.com/orgs/darkmatter/members{/member}",
"public_members_url": "https://api.github.com/orgs/darkmatter/public_members{/member}",
"avatar_url": "https://avatars.githubusercontent.com/u/17834193?v=4",
"description": ""
},
"enterprise": {
"id": 469843,
"slug": "darkmatter",
"name": "darkmatter",
"node_id": "E_kgDOAAcrUw",
"avatar_url": "https://avatars.githubusercontent.com/b/469843?v=4",
"description": "",
"website_url": "darkmatter.io",
"html_url": "https://github.com/enterprises/darkmatter",
"created_at": "2025-09-07T16:01:00Z",
"updated_at": "2026-06-07T16:53:26Z"
},
"sender": {
"login": "fkb032",
"id": 249513614,
"node_id": "U_kgDODt9Gjg",
"avatar_url": "https://avatars.githubusercontent.com/u/249513614?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fkb032",
"html_url": "https://github.com/fkb032",
"followers_url": "https://api.github.com/users/fkb032/followers",
"following_url": "https://api.github.com/users/fkb032/following{/other_user}",
"gists_url": "https://api.github.com/users/fkb032/gists{/gist_id}",
"starred_url": "https://api.github.com/users/fkb032/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fkb032/subscriptions",
"organizations_url": "https://api.github.com/users/fkb032/orgs",
"repos_url": "https://api.github.com/users/fkb032/repos",
"events_url": "https://api.github.com/users/fkb032/events{/privacy}",
"received_events_url": "https://api.github.com/users/fkb032/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
},
"installation": {
"id": 131074261,
"node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMTMxMDc0MjYx"
},
"created": true,
"deleted": false,
"base_ref": null,
"compare": "https://github.com/darkmatter/iridium/compare/78c0aaa02d07^...5b533f15e99b",
"commits": [
{
"id": "78c0aaa02d077483da42bc1aaa873e627a5de325",
"tree_id": "54202e852a0ffa63f9ef5b9ec59c09b01ee6b860",
"distinct": true,
"message": "fix(shared/dune): timeouts, bounded retry, fail-closed cache fallback\n\nThe Dune client is the single network dependency of the replay evidence\nchain and had no per-request timeout, no retry, and no 429 handling:\none hung connection stalled a CLI forever, one HTTP blip during results\npagination either burned the execution's credits with no artifact or\nsilently returned truncated rows, and execute/poll failures silently\nsubstituted parameter-insensitive cached rows.\n\n- AbortSignal.timeout(30s) on every request\n- bounded retry (3 attempts, exponential backoff + jitter, Retry-After\n honored on 429) for idempotent GETs; POST /execute never retried\n- execution-results pagination failures throw DunePaginationError\n carrying the execution ID so the paid execution can be recovered via\n --execution instead of re-spending; cached-latest paths keep the\n flagged stop-with-reason meta used as evidence-gap input\n- getLatestResults (rows-only) throws on mid-fetch failure instead of\n returning silently short data\n- cache fallback is now opt-in: executeDuneQuery[WithMeta] defaults to\n cacheFallback 'reject' and throws DuneFreshExecutionError with a\n typed code; aerodrome-fee-provider and dune-comparator-provider opt\n in explicitly (they gate on fromCacheFallback themselves); dune-freeze\n inherits fail-closed\n- historical-price-provider: a cached-read failure no longer skips the\n fresh-execution attempt (it previously fell straight to Coinbase\n spot, silently degrading rolling-APR pricing); fresh-execution\n failure keeps cached rows\n\nCo-Authored-By: Claude Fable 5 <noreply@anthropic.com>",
"timestamp": "2026-06-10T00:16:34-06:00",
"url": "https://github.com/darkmatter/iridium/commit/78c0aaa02d077483da42bc1aaa873e627a5de325",
"author": {
"name": "Farhan Khalaf",
"email": "249513614+fkb032@users.noreply.github.com",
"date": "2026-06-10T00:07:17-06:00",
"username": "fkb032"
},
"committer": {
"name": "Farhan Khalaf",
"email": "249513614+fkb032@users.noreply.github.com",
"date": "2026-06-10T00:16:34-06:00",
"username": "fkb032"
},
"added": [],
"removed": [],
"modified": [
"packages/cl-intelligence/src/aerodrome-fee-provider.ts",
"packages/cl-intelligence/src/dune-comparator-provider.ts",
"packages/cl-intelligence/src/dune.ts",
"packages/cl-intelligence/src/historical-price-provider.test.ts",
"packages/cl-intelligence/src/historical-price-provider.ts",
"packages/shared/src/dune/client.test.ts",
"packages/shared/src/dune/client.ts",
"packages/shared/src/dune/index.ts"
]
},
{
"id": "073eebec033ed934931d29dbf4f94034cb8ff2cb",
"tree_id": "c3791a5a90bcacbc1d8c853240891f390959550c",
"distinct": true,
"message": "fix(shared/dune): first-page cache failure keeps the no-cache contract\n\nCodex PR-review P2: a first-page failure with zero rows fetched is not\ntruncation — getLatestResults now returns [] there (legacy no-usable-\ncache contract callers branch on) and throws DunePaginationError only\nwhen rows were actually fetched and then lost mid-pagination.\n\nCo-Authored-By: Claude Fable 5 <noreply@anthropic.com>",
"timestamp": "2026-06-10T00:34:50-06:00",
"url": "https://github.com/darkmatter/iridium/commit/073eebec033ed934931d29dbf4f94034cb8ff2cb",
"author": {
"name": "Farhan Khalaf",
"email": "249513614+fkb032@users.noreply.github.com",
"date": "2026-06-10T00:34:50-06:00",
"username": "fkb032"
},
"committer": {
"name": "Farhan Khalaf",
"email": "249513614+fkb032@users.noreply.github.com",
"date": "2026-06-10T00:34:50-06:00",
"username": "fkb032"
},
"added": [],
"removed": [],
"modified": [
"packages/shared/src/dune/client.test.ts",
"packages/shared/src/dune/client.ts"
]
},
{
"id": "9c700e43d5646d2d76fb31ce3c0bc6526822be4d",
"tree_id": "18d7b2ee2b5bdc9b960ec92f000290599afc1221",
"distinct": true,
"message": "fix(shared/dune): preserve first-page cache miss behavior",
"timestamp": "2026-06-10T00:38:18-06:00",
"url": "https://github.com/darkmatter/iridium/commit/9c700e43d5646d2d76fb31ce3c0bc6526822be4d",
"author": {
"name": "fkb032",
"email": "249513614+fkb032@users.noreply.github.com",
"date": "2026-06-10T00:37:20-06:00",
"username": "fkb032"
},
"committer": {
"name": "fkb032",
"email": "249513614+fkb032@users.noreply.github.com",
"date": "2026-06-10T00:38:18-06:00",
"username": "fkb032"
},
"added": [],
"removed": [],
"modified": [
"packages/shared/src/dune/client.test.ts",
"packages/shared/src/dune/client.ts"
]
},
{
"id": "17bd42acf923f9256aa61c21dfb158a10d0e52a5",
"tree_id": "e56ec3ad257614f6b2f44709fce0aa76f0ac2de3",
"distinct": true,
"message": "fix(shared/dune): include execution id in page failures",
"timestamp": "2026-06-10T00:45:28-06:00",
"url": "https://github.com/darkmatter/iridium/commit/17bd42acf923f9256aa61c21dfb158a10d0e52a5",
"author": {
"name": "fkb032",
"email": "249513614+fkb032@users.noreply.github.com",
"date": "2026-06-10T00:45:28-06:00",
"username": "fkb032"
},
"committer": {
"name": "fkb032",
"email": "249513614+fkb032@users.noreply.github.com",
"date": "2026-06-10T00:45:28-06:00",
"username": "fkb032"
},
"added": [],
"removed": [],
"modified": [
"packages/shared/src/dune/client.test.ts",
"packages/shared/src/dune/client.ts"
]
},
{
"id": "5b533f15e99b3a60874d979a91aa272ad2515752",
"tree_id": "26c181ea2f3d510325369d2bd666388770c9ee42",
"distinct": true,
"message": "fix(cl-intelligence): flag transport pagination gaps",
"timestamp": "2026-06-10T01:01:05-06:00",
"url": "https://github.com/darkmatter/iridium/commit/5b533f15e99b3a60874d979a91aa272ad2515752",
"author": {
"name": "fkb032",
"email": "249513614+fkb032@users.noreply.github.com",
"date": "2026-06-10T01:01:05-06:00",
"username": "fkb032"
},
"committer": {
"name": "fkb032",
"email": "249513614+fkb032@users.noreply.github.com",
"date": "2026-06-10T01:01:05-06:00",
"username": "fkb032"
},
"added": [],
"removed": [],
"modified": [
"packages/cl-intelligence/src/dune-freeze.test.ts",
"packages/cl-intelligence/src/dune-freeze.ts"
]
}
],
"head_commit": {
"id": "5b533f15e99b3a60874d979a91aa272ad2515752",
"tree_id": "26c181ea2f3d510325369d2bd666388770c9ee42",
"distinct": true,
"message": "fix(cl-intelligence): flag transport pagination gaps",
"timestamp": "2026-06-10T01:01:05-06:00",
"url": "https://github.com/darkmatter/iridium/commit/5b533f15e99b3a60874d979a91aa272ad2515752",
"author": {
"name": "fkb032",
"email": "249513614+fkb032@users.noreply.github.com",
"date": "2026-06-10T01:01:05-06:00",
"username": "fkb032"
},
"committer": {
"name": "fkb032",
"email": "249513614+fkb032@users.noreply.github.com",
"date": "2026-06-10T01:01:05-06:00",
"username": "fkb032"
},
"added": [],
"removed": [],
"modified": [
"packages/cl-intelligence/src/dune-freeze.test.ts",
"packages/cl-intelligence/src/dune-freeze.ts"
]
}
}