refactor(vault-pinning): use the broker and remove NEXT_PUBLIC provider credentials
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 67/100
- Issue type
- Refactor
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- javascript, next.js
Research direction
Start by reading the Pinata and Lighthouse adapters in services/*.ts and the vault pinning tests in frontend/tests/vault-pinning.test.mjs; check the broker routes from dependency #45. Update the adapters, tests, and docs, and add the production build credential check. Done means the NEXT_PUBLIC_* reads are removed, build output contains no provider credential, and the vault pinning tests pass against the broker.
Written by the indexing model from the issue text.
Description
Summary
Point the Pinata and Lighthouse adapters at the broker routes and delete the browser-side credentials.
Estimated size: S
Motivation
Finishes the credential-safety work started by the broker.
Current state in this repo
NEXT_PUBLIC_PINATA_JWTandNEXT_PUBLIC_LIGHTHOUSE_KEYare read inservices/*.ts;frontend/tests/vault-pinning.test.mjssetsNEXT_PUBLIC_LIGHTHOUSE_KEY.
Proposal
- Adapters call the broker routes through
fetch. - Remove the
NEXT_PUBLIC_*reads, update tests and docs. - Add a short upgrade note: any provider key that was ever exposed as
NEXT_PUBLIC_*should be rotated.
Acceptance criteria
-
git grep NEXT_PUBLIC_PINATA NEXT_PUBLIC_LIGHTHOUSEreturns nothing. - The production build output contains no provider credential.
- Existing vault-pinning tests pass against the broker.
Dependencies
- #45
Testing plan
- Update
frontend/tests/vault-pinning.test.mjs; add a build-output check for the credential strings.
Part of #43. Ground rules for the content layer: no secrets in the repo, content-layer failures must never block or discard quantum execution, and tests and docs ship with every PR.
- Dominant language
- Python
- Stars
- 2
- Forks
- 4
- Avg merge
- 5h 19m
- Merged PRs (30d)
- 11
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from QMeshPy/distributed-quantum
-
enhancement good first issue helia storage tier-1
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
QMeshPy/distributed-quantum#53 ·
Maintainers usually reply within 1 day
-
chain-integration enhancement payments research-spike tier-2
Difficulty 4/5 3-5 days Newbie friendliness 55/100
QMeshPy/distributed-quantum#78 ·
Maintainers usually reply within 1 day
-
chain-integration enhancement payments research-spike tier-2
Difficulty 3/5 1-2 days Newbie friendliness 66/100
QMeshPy/distributed-quantum#77 ·
Maintainers usually reply within 1 day
-
chain-integration enhancement payments tier-2
Difficulty 5/5 Over a week Newbie friendliness 35/100
QMeshPy/distributed-quantum#76 ·
Maintainers usually reply within 1 day
-
documentation good first issue kubo storage tier-1
Difficulty 2/5 1-3 hours Newbie friendliness 42/100
QMeshPy/distributed-quantum#75 ·
Maintainers usually reply within 1 day
All issues in QMeshPy/distributed-quantum
Similar issues
-
Python Volcengine provider returns failures instead of raising themPossibly taken @Ricardo-M-L claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
agent-infra/sandbox#248 ·
-
Textractor leaves empty temporary files when remote retrieval failsPossibly taken @HuaTNA claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
test(bm_generation): pin the learning parameters and CPU sync shortcutPossibly taken @iloveeyjafjalla claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
qboson/kaiwu-pytorch-plugin#1341 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
elder-plinius/V3R1T4S#625 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
foxglove/mcap#1907 · 1 comment ·
Maintainers usually reply within 1 day