Skip to content

Chore/dev fixes#2060

Merged
pikonha merged 5 commits into
devfrom
chore/dev-fixes
Jul 17, 2026
Merged

Chore/dev fixes#2060
pikonha merged 5 commits into
devfrom
chore/dev-fixes

Conversation

@pikonha

@pikonha pikonha commented Jul 17, 2026

Copy link
Copy Markdown
Member

Note

Medium Risk
The historical voting-power SQL change affects API pagination and delegation display for multi-delegation transactions; logging changes are low risk but touch all non-health API traffic in gateful.

Overview
Historical voting power is refactored so delegation/transfer enrichment no longer inflates result rows when a transaction has multiple delegations. historical-query.ts paginates history first, then uses lateral subqueries with deterministic ordering (delegate vs previousDelegate, log index) to attach a single related delegation and transfer per row. Integration tests cover redelegation (previousDelegate) and limit=1 with two delegations in the same tx.

Observability: API entrypoints (cmd/index.ts, cmd/aave.ts) and gateful requestLogger skip access logging for /health (alongside /metrics). Gateful error logs now use a shared getErrorStatus (HTTP exceptions, CircuitOpenError → 503) instead of relying on c.res during failures; unit tests were added.

Repo cleanup: Removes the git-tracked Claude shared auto-memory setup (.agents/shared-memory, scripts/setup-memory.mjs, pnpm setup:memory) and an unused authful changeset; adds an @anticapture/api patch changeset for the voting-power fix.

Reviewed by Cursor Bugbot for commit b7df0bb. Configure here.

@vercel

vercel Bot commented Jul 17, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
anticapture-storybook Ready Ready Preview, Comment Jul 17, 2026 1:41pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
anticapture Ignored Ignored Jul 17, 2026 1:41pm

Request Review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b7df0bb80e

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread .changeset/authful-validate-400.md
Comment thread package.json
@railway-app
railway-app Bot temporarily deployed to anticapture-infra / anticapture-pr-2060 July 17, 2026 13:34 Destroyed
@railway-app
railway-app Bot temporarily deployed to anticapture-infra / anticapture-pr-2060 July 17, 2026 13:39 Destroyed
@pikonha
pikonha merged commit 394d499 into dev Jul 17, 2026
26 of 29 checks passed
@pikonha
pikonha deleted the chore/dev-fixes branch July 17, 2026 13:39

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

"@anticapture/api": patch

P2 Badge Add a changeset for Gateful logging behavior

When the version workflow consumes this PR, only the API package will be bumped: the PR also changes Gateful's request logging behavior in apps/gateful/src/middlewares/logger.ts by suppressing health logs and correcting thrown-error statuses, but no pending changeset names @anticapture/gateful. The repository's .claude/skills/changesets/SKILL.md requires every behavior-changing package to be selected, so these Gateful changes would receive neither a version bump nor a changelog entry; add a Gateful patch changeset.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant