Skip to content

test(contract): record smoke cassette to enable test_user_info_smoke #111

Description

@millsmillsymills

This was generated by AI during triage.

Summary

Task 10 of the PR A plan (docs/superpowers/plans/2026-05-12-live-contract-tests-pr-a-scaffold.md) is maintainer-only — requires a real sandbox PAT scoped to teamrocket.network. Once the cassette is recorded and committed, the @pytest.mark.skipif on test_user_info_smoke becomes inert and the test runs in CI.

Why this is ready-for-human

Requires a Gandi sandbox PAT. Cannot be done by an agent.

Steps for the maintainer

  1. Create a sandbox PAT at https://account.gandi.net/, scoped to teamrocket.network only.
  2. Store it: pass insert gandi/pat-sandbox (or equivalent).
  3. From the repo root:
    GANDI_TOKEN=$(pass show gandi/pat-sandbox) make refresh-cassettes
  4. Review the cassette diff for unredacted PII per CONTRIBUTING.md "Recording contract cassettes".
  5. Commit tests/contract/cassettes/test_user_info_smoke.yaml.
  6. Remove the @pytest.mark.skipif decorator from tests/contract/test_smoke.py::test_user_info_smoke (the cassette now exists, the skip is no longer load-bearing).
  7. Open a PR with the cassette + the skipif removal.

Acceptance

  • Cassette committed with PII redacted.
  • Skipif decorator removed.
  • CI passes test_user_info_smoke on replay-only.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ready-for-humanRequires human implementationtestingTest coverage gap or test infrastructure

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions