Files
vectorcraft/xtask
dotCooCoo a0cfe8d923 xtask: test-lint reads shell commands, signatures and guards more exactly
- A quoted NAME=value counts as a workflow variable only in a command
  that reads it as an assignment (export, env, declare, local, readonly,
  typeset) or in a pipeline that writes to $GITHUB_ENV, so a grep pattern
  sets nothing.
- The command around a printed assignment is found with quotes taken
  into account, so a ; or | inside a printf format does not hide the
  printf, and only that command's own pipeline or group can write it to
  $GITHUB_ENV.
- A # starts a shell comment only at the start of a word, and a YAML
  comment only at the start of the line or after whitespace, so
  note=one#two keeps the rest of the line.
- let _ = async || ... is dropped unrun like a plain closure.
- A size check through the local's iterator (xs.iter().count()) is a
  direct guard, so a later xs.clear() invalidates it.
- A direct length guard covers windows(k), chunks_exact(k) and the full
  chunks of as_chunks::<k>() only when the compared count is at least k.
- A grouped && or || operand of an exit-status assertion is classified
  operand by operand.
- A nested fn with an array return type (-> [u8; 1]) is found, both for
  polling loops and for unrun functions in a test.
- A method on an element indexed out of a local (xs[0].len()) is
  classified by the element, so a user type's method is not a fixture
  read.
2026-12-03 11:22:18 -08:00
..