flowfi icon indicating copy to clipboard operation
flowfi copied to clipboard

[CI] Test root, packages/, and scripts/ changes; drop the no-op PR Test Gate

Open blurbeast opened this issue 2 weeks ago • 4 comments

Overview & Background

dorny/paths-filter in .github/workflows/ci.yml:30-34 matches only backend/** and frontend/**, so a PR touching only root package-lock.json, scripts/**, packages/**, or the CI workflows themselves runs zero unit tests. packages/flowfi-sdk/tests/ and packages/flowfi-react/tests/ hold 9 spec files, but the root workspaces list only frontend and backend and no job runs package tests. Meanwhile pr-test-gate.yml has jobs named "Contracts cargo test" / "Backend npm test" that run zero tests — they only re-print the CI conclusion and report success.


Technical Specification & Architecture

  1. Add packages/**, root package.json/package-lock.json, and scripts/** to the path filters (or add an always-run workspace/package test job).
  2. Either delete pr-test-gate.yml or make its jobs actually run the suites their names promise.
  3. Ensure packages/* tests execute with the shared lockfile installed.

Target Files

  • .github/workflows/ci.yml
  • .github/workflows/pr-test-gate.yml
  • package.json

Acceptance Criteria

  • [ ] A PR touching only package-lock.json triggers tests.
  • [ ] packages/** test suites run in CI.
  • [ ] No workflow reports "tests passed" without executing tests.

blurbeast avatar Nov 18 '26 19:11 blurbeast

@Michael997glitch has applied to work on this issue as part of the Stellar Wave Program's 11th wave.

Hi, I’m a smart contractor and a full-stack web developer, I have read through the issue and it’s something I’m capable of doing. Please assign me this work.

ℹ️ Repo Maintainers: To accept this application, review their application or assign @Michael997glitch to this issue.

Michael997glitch avatar Nov 20 '26 23:11 Michael997glitch

@bolabeatz has applied to work on this issue as part of the Stellar Wave Program's 11th wave.

easy issue for me

ℹ️ Repo Maintainers: To accept this application, review their application or assign @bolabeatz to this issue.

bolabeatz avatar Nov 21 '26 07:11 bolabeatz

Congratulations, @bolabeatz! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on November 25, 2026.

🧑‍💻 @bolabeatz: Please resolve the issue such that the repo's maintainers have enough time to review your contribution before the due date. You'll earn Points for completing the issue on-time, which will make you eligible for a share of the Stellar Wave Program's reward pool.

[!WARNING] When opening a PR, please link it to this issue to ensure it gets tracked accurately. Points are awarded when this issue is marked as completed by the maintainer.

🤠 Repo maintainers: Please keep an eye on the contributor's progress and review their work before the due date. You can manage this issue, including adjusting its complexity and points, here.

🌊 Happy Wave 🌊

drips-wave[bot] avatar Nov 21 '26 07:11 drips-wave[bot]

This issue has been completed by @bolabeatz as part of the Stellar Wave Program's 11th Wave 🥳

😎 @bolabeatz: You earned 200 Points for completing this issue! Once the Wave's rewards are finalized, you'll be eligible for a percentage of the Wave's reward pool based on the percentage of total points you've earned. Learn more here. You can also Leave a review to share your experience working on this issue.

🧑‍💻 Repo maintainers: How'd the contributor do? Leave a review to share your experience working with them.

drips-wave[bot] avatar Nov 21 '26 14:11 drips-wave[bot]