Skip to content

Disable flakehub API call in dart CI - #1810

Merged
benalleng merged 1 commit into
payjoin:masterfrom
emmanuelist:ci-dart-disable-flakehub
Aug 17, 2026
Merged

Disable flakehub API call in dart CI#1810
benalleng merged 1 commit into
payjoin:masterfrom
emmanuelist:ci-dart-disable-flakehub

Conversation

@emmanuelist

Copy link
Copy Markdown
Contributor

dart.yml is the only workflow still calling magic-nix-cache-action without
use-flakehub: false.

#1798 added the flag to crates-release.yml (4 call sites), csharp.yml,
format.yml, javascript.yml, python.yml and rust.yml, but dart.yml got
missed, so it's still hitting the FlakeHub API on every run even though we
don't have an account. Same behaviour #1798 was removing everywhere else.

I went through every magic-nix-cache-action call site under
.github/workflows/ and this was the only one left without the flag.

Worth flagging: the dart workflow won't actually run on this PR. Its
pull_request filter is payjoin-ffi/**, flake.nix and flake.lock, so
editing .github/workflows/dart.yml doesn't match and the job stays skipped.
The change is unexercised until something under payjoin-ffi/ next touches it.
I left the filter alone rather than widen it here, but happy to if you'd
rather workflow edits triggered their own job.

Disclosure: co-authored by Claude Code. It found the gap, wrote the patch and
drafted this description. I reviewed and verified it.

PR payjoin#1798 added `use-flakehub: false` to every workflow that uses
magic-nix-cache-action, but dart.yml was missed. It still calls the
FlakeHub API on every run even though the project has no FlakeHub
account, which is the behaviour that PR set out to remove.

Align dart.yml with csharp.yml, javascript.yml, python.yml, rust.yml,
format.yml and crates-release.yml.
@coveralls

Copy link
Copy Markdown
Collaborator

Coverage Report for CI Build 31883237660

Coverage remained the same at 86.718%

Details

  • Coverage remained the same as the base build.
  • Patch coverage: No coverable lines changed in this PR.
  • No coverage regressions found.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 16458
Covered Lines: 14272
Line Coverage: 86.72%
Coverage Strength: 343.36 hits per line

💛 - Coveralls

@benalleng benalleng left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

ACK 6d13a2d thanks for catching this one!

@benalleng
benalleng merged commit 640466b into payjoin:master Aug 17, 2026
13 checks passed
@emmanuelist
emmanuelist deleted the ci-dart-disable-flakehub branch August 17, 2026 16:31
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