FP611 · remotes-lock-invalid
The remote interfaces lockfile does not parse, or does not match its schema.
| Code | Name | Category | Default severity | Reported by |
|---|---|---|---|---|
FP611 | remotes-lock-invalid | Graph structure | 🔴 error | lint, check, the action, the editor |
Why it matters
flowpact then checks no remote call against an interface: every remote reusable workflow and action is taken on trust, as without a lockfile.
How to fix
Run flowpact remotes update to write it again, or fix the entry the message names.
Example
# .github/flowpact/remotes.lock.yaml
version: 1
remotes:
octo/setup@v2:
sha: v2 # not a commit SHA
kind: actionAccept one finding
When a finding is intended, accept it with a reason rather than turning the rule off. It is listed apart from the other findings, and comes back when the date passes (overrides):
overrides:
- rule: FP611
target: <the finding's symbol>
reason: Why it is acceptable here, at least 10 characters.
expires: YYYY-MM-DD # optionaltarget is the symbol the finding is about; to list them:
flowpact lint --format json | jq -r '.findings[] | select(.code == "FP611") | .symbol'* matches within a path segment and ** across segments, so one entry accepts every finding whose symbol matches:
target: '**#inputs.app-id' is that input in every workflow and action.
Change the severity
Change the severity (or turn the rule off) in .github/flowpact/flowpact.config.yml, by code or by name:
rules:
FP611: off
# or: remotes-lock-invalid: errorExplain it in the terminal:
flowpact explain FP611Related
FP612remotes-lock-outdated: The remote interfaces lockfile lacks a remote workflow or action the repository uses, has one it no longer uses, or records another commit than the one a reference pins or GitHub’s actions.lock runs.FP603remote-unverified: A job calls a reusable workflow in another repository whose interface is not in the remote interfaces lockfile.- Remote interfaces
FP610 · workspace-unverified
A step’s `uses: ./...` points to a place in the runner’s workspace that flowpact cannot read, so the action is not verified.
FP612 · remotes-lock-outdated
The remote interfaces lockfile lacks a remote workflow or action the repository uses, has one it no longer uses, or records another commit than the one a reference pins or GitHub’s actions.lock runs.