fix: CI matchstick compatibility (ubuntu-22.04 + graph-cli 0.98.1)#2
Merged
MoonBoi9001 merged 1 commit intomainfrom Mar 13, 2026
Merged
fix: CI matchstick compatibility (ubuntu-22.04 + graph-cli 0.98.1)#2MoonBoi9001 merged 1 commit intomainfrom
MoonBoi9001 merged 1 commit intomainfrom
Conversation
58de87b to
f1aed07
Compare
- Pin runner to ubuntu-22.04 (graph-cli getPlatform() doesn't recognise Ubuntu 24) - Upgrade graph-cli to 0.98.1 (0.93.3 tried to untar raw matchstick binary) - Fix "handles multiple events" test: use distinct tx hashes instead of logIndex to produce different entity IDs (newMockEvent() defaults logIndex to 1, so setting it to 1 was a no-op) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
f1aed07 to
62f44f5
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
CI was failing in three cascading ways:
graph-cli0.93.3'sgetPlatform()didn't recognise Ubuntu 24's version string (Unsupported platform: Linux x64 24)ubuntu-24.04explicitly, same error — the issue is in graph-cli, not the runner labelubuntu-22.04, matchstick binary downloaded but graph-cli 0.93.3 tried to untar a raw binary (TAR_BAD_ARCHIVE)newMockEvent()defaults logIndex to 1 and the test was setting it to 1 (no-op), causing entity ID collisionSummary
ubuntu-22.04for matchstick binary compatibility@graphprotocol/graph-clifrom0.93.3to0.98.1(fixes binary extraction)Generated with Claude Code