Skip to content

test: restore skipped CPU coverage - #1655

Merged
HwVanICI merged 1 commit into
areal-project:ascendfrom
Adiactive:test/restore-cpu-ci-coverage
Aug 31, 2026
Merged

HwVanICI merged 1 commit into
areal-project:ascendfrom
Adiactive:test/restore-cpu-ci-coverage

Conversation

@Adiactive

Copy link
Copy Markdown
Contributor

Description

Restore 100 CPU test cases that were unconditionally skipped because of stale LocalScheduler fixtures, cached Megatron test stubs, and legacy inference-service trajectory export assertions. This is test-only and does not change production or workflow behavior.

Related Issue

N/A

Type of Change

  • 🐛 Bug fix
  • ✨ New feature
  • 💥 Breaking change
  • 📝 Documentation update
  • ♻️ Refactoring
  • ⚡ Performance improvement
  • ✅ Test coverage improvement

Checklist

  • I have read the Contributing Guide
  • Pre-commit hooks pass (pre-commit run --all-files)
  • Relevant tests pass; new tests added for new functionality
  • Documentation updated (not applicable; test-only change)
  • Branch is up to date with ascend
  • Self-reviewed via /review-pr command
  • This PR was created by a coding agent via /create-pr
  • This PR is a breaking change

Breaking Change Details (if applicable):

N/A

Additional Context

The LocalScheduler suite now supplies the required SchedulingSpec fields and all 91 cases pass. The Megatron async-save fixture restores cached modules after its isolated stubs, allowing both previously skipped metric cases to run regardless of test order. Seven inference-service tests now validate the serialized traj response and distinguish explicit from latest trajectory selection using request-token markers. Validation: 105 recovered cases passed together in 88.28 seconds; the four affected inference-service files produced 128 passes locally, and their four existing callback tests passed separately with local proxy bypass; full pre-commit passed. Based on the latest Ascend CPU report, expected results change from 2,321 passed and 111 skipped to 2,421 passed and 11 skipped, with 2,432 selected cases unchanged.


Need help? Check the Contributing Guide or ask in GitHub Discussions!

Update stale LocalScheduler fixtures and trajectory export expectations so the CPU gate exercises them again. Isolate Megatron async-save stubs from modules cached by earlier tests.

Key changes:
- Provide current scheduling specs for LocalScheduler jobs
- Validate serialized trajectory payloads in inference-service tests
- Remove async-save import-order and fixture skips
@HwVanICI
HwVanICI merged commit e48732a into areal-project:ascend Aug 31, 2026
4 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.

2 participants