Skip to content

github-backup deploy tests hard-fail without node instead of skipping #14267

Backlog

Description

@dezren39

Found by the #8584 freshness lane, 2026-11-24: infra/github-backup/tests/test_deploy_dry_run.py (and the sibling deploy tests that drive infra/github-backup/worker/deploy.mjs) invoke node unconditionally. On a host without node — e.g. the fleet-command executor image (run 45368159082, developing-today-forks/fleet) — the suite dies with FileNotFoundError: 'node' instead of skipping, and under bash -e runners it aborts the whole github-backup test pass at that file, hiding every later test file's result.

Fix shape: skip with a named reason when shutil.which('node') is None (the tests are hermetic stubs around the real deploy.mjs; where node exists they must keep running). Refs #8584 (found there; not part of that slice).

Activity

  1. developing-today commented on Nov 24, 2026

    @developing-today
    Contributor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions