Skip to content

test(server): add pause/resume route coverage#289

Merged
Pangjiping merged 1 commit intoalibaba:mainfrom
liuxiaopai-ai:codex/test-pause-resume-routes
Mar 2, 2026
Merged

test(server): add pause/resume route coverage#289
Pangjiping merged 1 commit intoalibaba:mainfrom
liuxiaopai-ai:codex/test-pause-resume-routes

Conversation

@liuxiaopai-ai
Copy link
Contributor

Summary

  • add route tests for pause/resume lifecycle endpoints in server/tests/test_routes_pause_resume.py
  • verify 202 Accepted behavior and service invocation for pause/resume routes
  • verify service-layer HTTPException is propagated with standardized payload
  • verify auth middleware enforcement on pause route

Why

This adds concrete lifecycle route coverage and reduces regression risk around pause/resume orchestration.

Validation

  • python3 -m pytest server/tests/test_routes_pause_resume.py -q
  • python3 -m ruff check server/tests/test_routes_pause_resume.py

@CLAassistant
Copy link

CLAassistant commented Mar 1, 2026

CLA assistant check
All committers have signed the CLA.

@Pangjiping Pangjiping merged commit d748a52 into alibaba:main Mar 2, 2026
9 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants