Skip to content

feat(DIPS): main dips branch#1238

Open
Maikol wants to merge 34 commits into
mainfrom
main-dips
Open

feat(DIPS): main dips branch#1238
Maikol wants to merge 34 commits into
mainfrom
main-dips

Conversation

@Maikol

@Maikol Maikol commented Jun 19, 2026

Copy link
Copy Markdown
Member

No description provided.

Maikol and others added 28 commits April 10, 2026 10:20
Co-authored-by: Pablo Carranza Velez <pablo@edgeandnode.com>
Co-authored-by: Claude <noreply@anthropic.com>
Adds a root docker-compose.yml that wraps the existing
Dockerfile.indexer-agent and Dockerfile.indexer-cli, and a justfile with
a build-image recipe so consumers can produce
ghcr.io/graphprotocol/indexer-{agent,cli}:local (or an override tag)
with a single command.

This unblocks the local-network integration branch from needing
host-absolute INDEXER_AGENT_SOURCE_ROOT overlays: downstream wrappers
can consume the locally-built image by tag instead.
…n-dips

# Conflicts:
#	packages/indexer-agent/src/commands/start.ts
#	packages/indexer-cli/src/commands/indexer/allocations/reallocate.ts
#	packages/indexer-common/src/actions.ts
#	packages/indexer-common/src/indexer-management/allocations.ts
#	packages/indexer-common/src/indexer-management/resolvers/allocations.ts
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@github-project-automation github-project-automation Bot moved this to 🗃️ Inbox in Indexer Jun 19, 2026
@Maikol Maikol added the DIPS label Jun 19, 2026
@Maikol Maikol requested a review from tmigone June 19, 2026 00:44
The indexer-agent tags every log line with the service name, but a few lines reuse that same label to also carry a subgraph name, so the label appears twice and log tooling silently keeps only one copy. This gives the subgraph name its own label and adds a lint rule that blocks the whole class of duplicate-key mistakes going forward.
A payment-collection setting that bounds how much the indexer will accept losing versus the expected amount could not be set to zero, even though zero — accept no loss at all — is a valid, strict choice. This change makes the setting accept zero while still capping it at 100.
Reviewing indexer-agent logs during a Direct Indexer Payments (DIPS) run surfaced three independent bugs: the agent pauses a subgraph it is still being paid to index, plus two timing bugs — it sizes an allocation's lifetime from a value in seconds but reads it as epochs, so the work never winds down, and it reads the current epoch from a clock that can lag the chain, so fresh work is judged stale. This fixes all three. Stacks on the duplicate-log-key PR (#1239).

The indexer-agent rejects any DIPS proposal whose stored payload carries a signer signature. The indexer-service now stores proposals with their signature (on main-dips-rebased), so the agent would reject every proposal once that change is live. This makes the agent ignore the signature and process the proposal normally. (#1241)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: 🗃️ Inbox

Development

Successfully merging this pull request may close these issues.

3 participants