Skip to content
This repository was archived by the owner on Jun 2, 2026. It is now read-only.

fix: clone protocol tests not running in CI#423

Open
tamaralipows wants to merge 3 commits into
mainfrom
protocol-testing/tnl/ENG-5497-clone-ci
Open

fix: clone protocol tests not running in CI#423
tamaralipows wants to merge 3 commits into
mainfrom
protocol-testing/tnl/ENG-5497-clone-ci

Conversation

@tamaralipows

@tamaralipows tamaralipows commented Apr 15, 2026

Copy link
Copy Markdown
Collaborator

Summary of what was wrong:

Clone protocols reuse a base protocol's substreams directory rather than having their own. Because the CI only discovered protocols by scanning top-level directories, clone protocols were invisible to the test matrix and never ran.

  • Extend CI matrix detection to include clone protocols and trigger them when their base directory changes
  • Resolve clone names to their base directory in the Docker build/filter
  • Add missing clone-to-base mappings (base-alienbase-v3, unichain-curve)
  • Infer chain and RPC URL from protocol name prefix in the entrypoint
  • Rename unichain-curve integration test file to match naming convention (tested this works locally)
  • Set all necessary github secrets, even for arbitrub and BSC in the future (this will need to be re-set on the tycho-indexer monorepo)

Clone protocol detection fixes:

Clones successfully detected here: https://github.com/propeller-heads/tycho-protocol-sdk/actions/runs/24539388245

Base fixes:

Proof this works - base aerodrome v1 was not passing before. Note it failed in the base integration PR: #413

But it runs here: https://github.com/propeller-heads/tycho-protocol-sdk/actions/runs/24535243101/job/71730807057

TODO:

  • Remove dummy commit before merging.

Note:

  • We will need to force merge - these changes need to be in main for CI to pass.

tamaralipows and others added 3 commits April 15, 2026 17:47
Clone protocols reuse a base protocol's substreams directory rather than
having their own. Because the CI only discovered protocols by scanning
top-level directories, clone protocols were invisible to the test matrix
and never ran.

- Extend CI matrix detection to include clone protocols and trigger them
  when their base directory changes
- Resolve clone names to their base directory in the Docker build/filter
- Add missing clone-to-base mappings (base-alienbase-v3, unichain-curve)
- Infer chain and RPC URL from protocol name prefix in the entrypoint
- Rename unichain-curve integration test file to match naming convention

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The tycho-indexer reads RPC_URL from the environment, but in Docker
RPC_URL is always the Ethereum endpoint. Non-Ethereum protocols (Base,
Arbitrum, etc.) were hitting the wrong RPC and getting 401 errors.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

@dianacarvalho1 dianacarvalho1 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

perfection! Thank you 🙏🏼

@Troshchk Troshchk left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thank you!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants