Skip to content

Preserve measurement targets when liquidity publication is rejected - #1042

Merged
TokenBrice merged 1 commit into
mainfrom
release/dex-target-publication-20260905
Sep 5, 2026
Merged

Preserve measurement targets when liquidity publication is rejected#1042
TokenBrice merged 1 commit into
mainfrom
release/dex-target-publication-20260905

Conversation

@TokenBrice

Copy link
Copy Markdown
Owner

A failed DefiLlama source cycle published a reduced measurement target catalog (582 → 21 targets; 468 → 11 pools) before the liquidity publication rejected the candidate. Subsequent collectors successfully measured only that reduced inventory, allowing broader exit evidence to age and lowering safety grades.

Prepare target descriptors during scoring, then publish active/shadow targets only after source and coverage guards pass and the full liquidity generation persists. Rejected candidates and failed writes preserve the previous catalog. Existing cadence, timestamps, quote identity validation, and scoring thresholds are unchanged.

Validation: 50 focused tests, all 441 cron/scheduled files (5,110 tests), Worker typecheck, lint, cron parity/connection checks, documentation checks, and full generated-artifact convergence passed. Independent review found no blocking issues. Regression coverage includes failed sources, coverage/value rejection, failed persistence, successful publication ordering, and shadow publication.

Runtime acceptance: verify the next full DEX publication rebuilds broad targets, then verify the next measurement collector consumes them and compare all 13 previously A-rated assets. Deployment alone does not close the incident.

The failed source candidate replaced 582 active measurement targets with 21 before liquidity persistence rejected it. Prepare target descriptors during scoring and publish them only after all guards and the full liquidity generation succeed, preserving the previous catalog on rejected or failed candidates.

Plan: agents/2026-09-05-night-watch/README.md
Tasks: T1, T2
@TokenBrice
TokenBrice merged commit 3904735 into main Sep 5, 2026
9 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