Skip to Content

What the check refuses

pitafix rig check reads the manifest and refuses what a core, or a person reading the sheet, would trip over.

pitafix rig check reads the manifest and refuses what a core, or a person reading the sheet, would trip over. Every problem comes with the field and a fix. In summary:

  • Unknown keys. The decoder names any key a rig has no use for, so a typo can't pass.
  • The head. A schema other than 1, an id that isn't plain, a core that isn't a core's id, a [match] with no rules (the rig would be offered for no project), and a name or sentence over its limit or holding control characters.
  • Commands. An empty program, a blank no core fills, or an env name that isn't a variable's.
  • Services. A run other than the three, a fixture with no handler, a local service with no start, a remote one with no hosts or a host that isn't a DNS name, and any key that belongs to another kind of service. Two services with one id.
  • People. A person with cookies and steps, or neither. A cookie with no name, or both value and ask. A data no service runs. A person's steps with a sign_in in them.
  • States. No way_in, an as that is no person, an open that isn't a path of the app.
  • Journeys. No name, no steps, an in that is no state, a data no service runs, a duplicate step id, a step with no verb or with two, a use of a run that isn't there or that uses itself, a state with neither as nor open.
  • Steps. An open that isn't a path of the app. A selector that names nothing. A tap's at outside 0 to 1. A key with no name, a scroll that goes nowhere, an idle of no time, an upload that chooses no file, a menu that names no item, a sign_in of nobody. An expect that expects nothing, a regular expression that doesn't compile, a status that isn't one.
  • Screens. A screen named by both route and name, or by neither. A screen or state that has both states and an unreached, or neither. A by that names no step.
  • Files. A handler or an upload that isn't a regular file inside the rig's folder.
  • The limits. At most 64 services, 64 people, 256 states, 500 journeys, 2000 steps in a list and 5000 screens. A rig that large is more than one project's.

--project DIR adds one more: the rig's [match] must hold for the project.

On this page