Skip to content

feat: test upload-action in ci. closes #395#399

Draft
juliangruber wants to merge 9 commits intomasterfrom
add/ci-upload-action
Draft

feat: test upload-action in ci. closes #395#399
juliangruber wants to merge 9 commits intomasterfrom
add/ci-upload-action

Conversation

@juliangruber
Copy link
Copy Markdown
Member

@juliangruber juliangruber commented Apr 2, 2026

Closes #395

Blocked #399 (comment)

@FilOzzy FilOzzy added team/filecoin-pin "Filecoin Pin" project is a stakeholder for this work. team/fs-wg FOC working group is a stakeholder for this work, and thus wants to track it on their project board. labels Apr 2, 2026
@FilOzzy FilOzzy added this to FOC Apr 2, 2026
@github-project-automation github-project-automation bot moved this to 📌 Triage in FOC Apr 2, 2026
push:
pull_request:

jobs:
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I considered using a matrix for the very similar upload and dry-run jobs, but overall it was simpler without, and the repeated code isn't much at all

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Maybe leave that as a comment in the file itself?

# Intentionally not using a `matrix` for simplicity. The repeated code isn't much. The only difference is `dryRun`.

Just so there is a siganl for someone that "yeah, these are basically the same except for dry run true and false.

And maybe to drive that home we have dryRune: false under upload?

* fix upload-action: pnpm needs to be installed before node

* check if disabling the cache fixes it

* use `package_json_file`

* try this

* add back cache

* fix path
@juliangruber
Copy link
Copy Markdown
Member Author

Getting upload to work is blocked by https://stg.usdfc.net/#/ failing to load for me

@juliangruber
Copy link
Copy Markdown
Member Author

cherry picked https://github.com/filecoin-project/filecoin-pin/pull/400/commits to verify everything works in integration

@BigLep BigLep moved this from 📌 Triage to 🔎 Awaiting review in FOC Apr 10, 2026
Copy link
Copy Markdown
Member

@BigLep BigLep left a comment

Choose a reason for hiding this comment

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

@juliangruber : is this still blocked? Lets mark it for review when ready. We can assign Russell.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

rename to test-upload-action.yml to make it clear that this is about testing the upload action rather than relying on the upload action?

push:
pull_request:

jobs:
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Maybe leave that as a comment in the file itself?

# Intentionally not using a `matrix` for simplicity. The repeated code isn't much. The only difference is `dryRun`.

Just so there is a siganl for someone that "yeah, these are basically the same except for dry run true and false.

And maybe to drive that home we have dryRune: false under upload?

uses: ./upload-action
with:
path: ./src
walletPrivateKey: ${{ secrets.WALLET_PRIVATE_KEY }}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

What wallet is this for? Was a new wallet set up? I want to make sure this is documented (at the minimum stored in FilOz 1password)?

Probalby should use the same wallet as https://github.com/filecoin-project/filecoin-pin-website/settings/secrets/actions

@juliangruber
Copy link
Copy Markdown
Member Author

This isn't ready for review yet because it's not working. Which is a great thing, the new CI action is verifying itself and failing. I haven't yet found time to fix this, as I'm moving to Pay Explorer. I'm happy for someone to take this over

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

Labels

team/filecoin-pin "Filecoin Pin" project is a stakeholder for this work. team/fs-wg FOC working group is a stakeholder for this work, and thus wants to track it on their project board.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upload action: add CI to verify functionality

4 participants