Skip to content

chore: remove stale test and typecheck configuration - #49

Merged
ananjan-nandi-9 merged 1 commit into
mainfrom
chore/stale-test-config-cleanup
Aug 9, 2026
Merged

chore: remove stale test and typecheck configuration#49
ananjan-nandi-9 merged 1 commit into
mainfrom
chore/stale-test-config-cleanup

Conversation

@ananjan-nandi-9

Copy link
Copy Markdown
Collaborator

Summary

  • Removes an unused workspace_component pytest marker registration.
  • Deletes a permanently skipped, bodyless nested-device test whose live replacement already enforces the current contract.
  • Drops a mypy override for the old shepherd_core.export.atif module while preserving the active shepherd_export.atif override.

Motivation / Context

These entries survived earlier moves and behavior changes but no longer affect a live code or test path. Removing them keeps marker output, device coverage, and type-check configuration aligned with the current repository without changing runtime behavior.

This is a tailored public cleanup; internal-only ledger and documentation-script changes are intentionally excluded.

Delta Breakdown

  1. Remove the orphan marker. workspace_component is registered but is not applied to or selected by any public test.
  2. Remove the dead skipped test. The deleted test has no body and is permanently skipped because nested devices are prohibited; test_device_context_nested_raises_error remains and passes.
  3. Remove the stale type override. The old shepherd_core.export.atif module no longer exists. The live shepherd_export.atif override remains unchanged.

Entry Point

Root mypy configuration → dialect pytest marker configuration → runtime device test cleanup.

There is no runtime or public API entrypoint.

Review Guide

Reviewers should verify that each removed entry is genuinely unreferenced and that the surviving replacement is the intended contract. In particular, this PR does not remove the active export override and does not change the nested-device prohibition.

Validation

  • Static checks: Ruff check and format check passed for the changed Python file; uv lock --check and git diff --check passed.
  • Type checks: Not run; the removed override targets a module path that no longer exists.
  • Tests: All 24 remaining device-infrastructure tests passed, including test_device_context_nested_raises_error.
  • Targeted/manual validation: Confirmed the marker has no uses, the stale module path has no live module, and make verify imports all workspace packages successfully.
  • Not run: The Linux baseline on this independent branch retains the public main clonefile limitation addressed by the separate carrier PR.

Documentation / Changelog / Decisions

No changelog or documentation update is needed because this removes inert configuration and a dead skipped test without user-visible behavior.

Risk / Rollback / Migration

Risk is near-zero: all removals were inert or redundant. Rollback is a normal revert. No migration or compatibility action is required.

Follow-ups

None.

Drop an unused pytest marker, a permanently skipped bodyless test whose replacement is live, and a mypy override for a module that moved packages.
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying shepherd-agents-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 875c9ee
Status: ✅  Deploy successful!
Preview URL: https://382e09c3.shepherd-agents-docs.pages.dev
Branch Preview URL: https://chore-stale-test-config-clea.shepherd-agents-docs.pages.dev

View logs

@ananjan-nandi-9
ananjan-nandi-9 merged commit 4b44f4e into main Aug 9, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant