Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
eeaed69
refactor(dips): replace off-chain epoch vouchers with on-chain Signed…
MoonBoi9001 Feb 17, 2026
b52b3fe
feat(dips): improve config ergonomics with GRT pricing and explicit n…
MoonBoi9001 Feb 18, 2026
ed1d476
feat(dips): make RCA storage idempotent for safe retries (#948)
MoonBoi9001 Feb 18, 2026
1189d75
feat(dips): add `/dips/info` endpoint and indexing agreement rejectio…
MoonBoi9001 Feb 24, 2026
41feb8c
refactor: use GRT per billion entities instead of per million (#959)
MoonBoi9001 Mar 4, 2026
df80934
build: add docker-compose.yml and build-image just target
RembrandtK Apr 14, 2026
c25add9
chore: ignore .claude/ local agent config
RembrandtK Apr 12, 2026
ad67f05
ci(containers): multi-arch images + workflow_dispatch for main-dips (…
RembrandtK May 5, 2026
809bcc0
fix: use version 0 for IndexingAgreementVersion.V1 in metadata valida…
MoonBoi9001 May 8, 2026
afc859a
feat: improve DIPs observability for indexer operators (#1032)
MoonBoi9001 May 8, 2026
c38c397
Merge remote-tracking branch 'origin/main' into main-dips-rebased
MoonBoi9001 May 27, 2026
f1dd81b
chore(deps): reconcile Cargo.lock after merging main
MoonBoi9001 May 27, 2026
1a82d7c
fix(service): drop unused Horizon check and side escrow connection
MoonBoi9001 May 27, 2026
0ab9ca8
fix(service): restore v2_watcher clone so the second use compiles
MoonBoi9001 May 27, 2026
a1192e9
feat: switch to on-chain offer-based authorization (#1009)
MoonBoi9001 May 27, 2026
29b2997
refactor: remove dead DIPs cancel and collect endpoints (#1036)
MoonBoi9001 May 27, 2026
2d646e4
fix: check allocation closed status instead of redeem transactions (#…
Maikol May 28, 2026
1a90fa3
refactor: drop misleading DIPs payer allowlist (#1039)
MoonBoi9001 May 28, 2026
8a46d33
feat(dips): separate accept and reject in the proposal response (#1041)
MoonBoi9001 Jun 8, 2026
103c7cc
feat: cap DIPs manifest download at Graph Node's default size (#1042)
MoonBoi9001 Jun 8, 2026
ff48699
feat: verify DIPs proposal manifest network is supported (#1043)
MoonBoi9001 Jun 8, 2026
64268f1
feat: verify the signature on indexing agreement proposals (#1045)
MoonBoi9001 Jun 11, 2026
750f9a3
feat: introduce optional cap on # of DIPs agreements accepted per day…
MoonBoi9001 Jun 15, 2026
55b39a2
feat: reject proposals from untrusted senders and update docs (#1048)
MoonBoi9001 Jun 15, 2026
04c506d
refactor: represent "no signer limit" as an absent value (#1056)
MoonBoi9001 Jun 15, 2026
4fdfaf2
refactor: reject zero for the two subgraph freshness checks (#1057)
MoonBoi9001 Jun 15, 2026
a0381e9
Merge branch 'main' into main-dips-rebased
MoonBoi9001 Jun 19, 2026
9ce6861
feat: skip duplicate work when an indexing proposal is re-sent (#1052)
MoonBoi9001 Jun 23, 2026
9e7e6c3
feat(dips): log subgraph deployment id on RCA acceptance (#1064)
MoonBoi9001 Jul 9, 2026
667d638
feat(config): validate the escrow dust floor at load time (#1058)
MoonBoi9001 Jul 9, 2026
108b2b4
feat: reject zero for the metrics port and size limits (#1059)
MoonBoi9001 Jul 9, 2026
1b32972
Merge branch 'main' into main-dips-rebased
MoonBoi9001 Jul 13, 2026
6ea6a05
Merge branch 'main' into main-dips-rebased
MoonBoi9001 Jul 24, 2026
b25a703
docs: correct DIPs documentation that disagrees with the code (#1075)
MoonBoi9001 Jul 29, 2026
9194dbb
fix: listen for DIPs proposals on the port the payer dials (#1076)
MoonBoi9001 Jul 29, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
157 changes: 124 additions & 33 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,23 +28,103 @@ jobs:
steps:
- name: Release please
id: release-please
uses: googleapis/release-please-action@5c625bfb5d1ff62eadeeb3772007f7f66fdcf071 # v4
uses: googleapis/release-please-action@5c625bfb5d1ff62eadeeb3772007f7f66fdcf071 # v4.4.1
with:
token: ${{ secrets.GITHUB_TOKEN }}

builds-linux:
prepare:
runs-on: ubuntu-latest
needs: release-please
if: always() && (needs.release-please.result == 'success' || needs.release-please.result == 'skipped')
outputs:
targets: ${{ steps.set.outputs.targets }}
steps:
- id: set
run: echo 'targets=["indexer-service-rs","indexer-tap-agent"]' >> $GITHUB_OUTPUT

build:
name: Build ${{ matrix.target }} (${{ matrix.platform }})
needs: [prepare, release-please]
if: always() && needs.prepare.result == 'success' && (needs.release-please.result == 'success' || needs.release-please.result == 'skipped')
strategy:
fail-fast: false
matrix:
target: [indexer-service-rs, indexer-tap-agent]
target: ${{ fromJSON(needs.prepare.outputs.targets) }}
platform: [linux/amd64, linux/arm64]
include:
- platform: linux/amd64
runner: ubuntu-24.04
- platform: linux/arm64
runner: ubuntu-24.04-arm
runs-on: ${{ matrix.runner }}
permissions:
packages: write
steps:
- name: Prepare platform pair
run: |
platform=${{ matrix.platform }}
echo "PLATFORM_PAIR=${platform//\//-}" >> $GITHUB_ENV

- name: Checkout
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0

- name: Log in to the Container registry
uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Docker labels
id: meta
uses: docker/metadata-action@030e881283bb7a6894de51c315a6bfe6a94e05cf # v6.0.0
with:
images: ${{ env.REGISTRY }}/${{ matrix.target }}

- name: Build and push by digest
id: build
uses: docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f # v7.1.0
with:
context: ./
file: Dockerfile.${{ matrix.target }}
platforms: ${{ matrix.platform }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha,scope=${{ matrix.target }}-${{ env.PLATFORM_PAIR }}
cache-to: type=gha,mode=max,scope=${{ matrix.target }}-${{ env.PLATFORM_PAIR }}
outputs: type=image,name=${{ env.REGISTRY }}/${{ matrix.target }},push-by-digest=true,name-canonical=true,push=${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository }}

- name: Export digest
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
run: |
mkdir -p ${{ runner.temp }}/digests
digest="${{ steps.build.outputs.digest }}"
touch "${{ runner.temp }}/digests/${digest#sha256:}"

- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
with:
name: digests-${{ matrix.target }}-${{ env.PLATFORM_PAIR }}
path: ${{ runner.temp }}/digests/*
if-no-files-found: error
retention-days: 1

merge:
name: Merge ${{ matrix.target }} into multi-arch manifest
needs: [prepare, release-please, build]
if: |
!cancelled()
&& needs.build.result == 'success'
&& (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository)
strategy:
fail-fast: false
matrix:
target: ${{ fromJSON(needs.prepare.outputs.targets) }}
runs-on: ubuntu-latest
permissions:
packages: write
steps:
# When release-please is skipped (workflow_dispatch, or no releasable commits) VERSION is empty;
# meta.outputs.version then falls back to the branch/sha tag, which is intentional.
- name: Extract version from tag
id: extract_version
run: |
Expand All @@ -54,40 +134,51 @@ jobs:
else
VERSION=""
fi
echo $VERSION
echo "version=$VERSION" >> $GITHUB_OUTPUT

- name: Docker meta
id: meta
uses: docker/metadata-action@c299e40c65443455700f0fdfc63efafe5b349051 # v5
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
images: |
${{ env.REGISTRY }}/${{matrix.target}}
tags: |
type=schedule
type=ref,event=branch
type=ref,event=pr
type=semver,pattern={{version}},value=${{steps.extract_version.outputs.version}}
type=semver,pattern={{major}}.{{minor}},value=${{steps.extract_version.outputs.version}}
type=semver,pattern={{major}}.{{minor}}.{{patch}},value=${{steps.extract_version.outputs.version}}
type=semver,pattern={{major}},value=${{steps.extract_version.outputs.version}}
type=semver,pattern=v{{version}},value=${{steps.extract_version.outputs.version}}
type=semver,pattern=v{{major}}.{{minor}},value=${{steps.extract_version.outputs.version}}
type=semver,pattern=v{{major}}.{{minor}}.{{patch}},value=${{steps.extract_version.outputs.version}}
type=semver,pattern=v{{major}},value=${{steps.extract_version.outputs.version}}
type=sha
path: ${{ runner.temp }}/digests
pattern: digests-${{ matrix.target }}-*
merge-multiple: true

- name: Log in to the Container registry
uses: docker/login-action@3227f5311cb93ffd14d13e65d8cc400d30f4dd8a # v4
- uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0

- uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push
uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8 # v6
- name: Docker tags
id: meta
uses: docker/metadata-action@030e881283bb7a6894de51c315a6bfe6a94e05cf # v6.0.0
with:
context: ./
push: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository }}
tags: ${{ steps.meta.outputs.tags }}
file: Dockerfile.${{ matrix.target }}
images: ${{ env.REGISTRY }}/${{ matrix.target }}
tags: |
type=schedule
type=ref,event=branch
type=ref,event=pr
type=semver,pattern={{version}},value=${{ steps.extract_version.outputs.version }}
type=semver,pattern={{major}}.{{minor}},value=${{ steps.extract_version.outputs.version }}
type=semver,pattern={{major}}.{{minor}}.{{patch}},value=${{ steps.extract_version.outputs.version }}
type=semver,pattern={{major}},value=${{ steps.extract_version.outputs.version }}
type=semver,pattern=v{{version}},value=${{ steps.extract_version.outputs.version }}
type=semver,pattern=v{{major}}.{{minor}},value=${{ steps.extract_version.outputs.version }}
type=semver,pattern=v{{major}}.{{minor}}.{{patch}},value=${{ steps.extract_version.outputs.version }}
type=semver,pattern=v{{major}},value=${{ steps.extract_version.outputs.version }}
# Forced on so workflow_dispatch from a non-default branch (no `latest`,
# no tag ref) still yields a populated meta.outputs.version for Inspect.
type=sha,enable=true

# Glob `*` expands to digest-named files written by the build job's Export digest step.
- name: Create manifest list and push
working-directory: ${{ runner.temp }}/digests
run: |
docker buildx imagetools create \
$(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \
$(printf '${{ env.REGISTRY }}/${{ matrix.target }}@sha256:%s ' *)

- name: Inspect image
run: |
docker buildx imagetools inspect ${{ env.REGISTRY }}/${{ matrix.target }}:${{ steps.meta.outputs.version }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ indexer.toml
.vscode/
# migrations/
.helix
.claude/

# Node.js related files
crates/dips/node_modules/
Expand Down
9 changes: 6 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion crates/config/default_values.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ syncing_interval_secs = 60
recently_closed_allocation_buffer_secs = 3600
max_data_staleness_mins = 30
escrow_min_balance_grt_wei = "100000000000000000"
max_signers_per_payer = 0

[service]
ipfs_url = "https://api.thegraph.com/ipfs/"
Expand Down
Loading
Loading