Skip to content

Conversation

@tk-o
Copy link
Contributor

@tk-o tk-o commented Jun 11, 2025

Solves an issue where secret value would not be provided when running the workflow for a branch from forked repo.

Example failed workflow run:
https://github.com/namehash/ensnode/actions/runs/15565570790/job/43843278971

Also, this PR fixes references across monorepo dependencies:

 WARN  Issues with peer dependencies found
.
├─┬ @ensnode/ensrainbow-sdk 0.27.0
│ └── ✕ missing peer viem@^2.22.13
└─┬ @ensnode/utils 0.27.0
  └── ✕ missing peer viem@^catalog:
✕ Conflicting peer dependencies:
  viem  

The PR replaces PNPM catalog references, as these were not always properly resolved during package build process. Example for ^catalog: reference not being replace, while all catalog: references were replaced correctly for this particular package.json file:
https://github.com/namehash/ensnode/blob/v0.27.0/packages/ensnode-utils/package.json#L38-L49

NPM code preview:
https://www.npmjs.com/package/@ensnode/utils?activeTab=code

Preview

image

Related to #776

Solves an issue where secret value would not be provided when running the workflow for a branch from forked repo.
@tk-o tk-o requested a review from a team as a code owner June 11, 2025 07:22
@changeset-bot
Copy link

changeset-bot bot commented Jun 11, 2025

🦋 Changeset detected

Latest commit: 41a2824

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 10 packages
Name Type
@ensnode/ens-deployments Patch
@ensnode/ensnode-sdk Patch
ensadmin Patch
ensindexer Patch
ensrainbow Patch
@ensnode/ensrainbow-sdk Patch
@ensnode/ponder-metadata Patch
@ensnode/ensnode-schema Patch
@ensnode/ponder-subgraph Patch
@ensnode/shared-configs Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link

vercel bot commented Jun 11, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
admin.ensnode.io ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 11, 2025 11:42am
ensnode.io ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 11, 2025 11:42am
ensrainbow.io ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 11, 2025 11:42am

The later is not properly replaced during package build
Copy link
Member

@lightwalker-eth lightwalker-eth left a comment

Choose a reason for hiding this comment

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

@tk-o Great updates! 🫡 🚀

HEALTH_CHECK_TIMEOUT: 60
ENSRAINBOW_URL: ${{ secrets.ENSRAINBOW_URL }}
ENSNODE_PUBLIC_URL: ${{ secrets.ENSNODE_PUBLIC_URL }}
ENSRAINBOW_URL: https://api.ensrainbow.io
Copy link
Member

Choose a reason for hiding this comment

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

Could we add a little comment on these fields we hardcoded identifying why we did that rather than reading from GitHub secrets? It will be helpful to remember for the future why we did it this way.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Consider it done 👍

@tk-o tk-o merged commit e30289e into main Jun 11, 2025
7 checks passed
@tk-o tk-o deleted the fix/test-ci-workflow-use-inline-values branch June 11, 2025 11:42
@github-actions github-actions bot mentioned this pull request Jun 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants