Skip to content

Define unknown remote job status - #161

Open
njzjz-bot wants to merge 1 commit into
deepmodeling:develfrom
njzjz-bot:codex/issue-134-unknown-job-status
Open

Define unknown remote job status#161
njzjz-bot wants to merge 1 commit into
deepmodeling:develfrom
njzjz-bot:codex/issue-134-unknown-job-status

Conversation

@njzjz-bot

Copy link
Copy Markdown
Contributor

Summary:

  • define JobStatus.unknown for scheduler fallback branches
  • retain JobStatus.unknow as a compatibility alias
  • add regression coverage for the enum mapping

Tests:

  • PYTHONPATH=.. python -m unittest test_remote_job -v
  • python -m ruff check --select I,F --ignore F841 dpti/lib/RemoteJob.py tests/test_remote_job.py

Fixes #134

Coding agent: Codex
Codex version: codex-cli 0.149.0
Model: gpt-5.6-sol
Reasoning effort: xhigh

Add the correctly spelled JobStatus.unknown member used by scheduler fallbacks while retaining the legacy misspelled alias for compatibility. Add regression coverage.

Coding-Agent: Codex
Codex-Version: codex-cli 0.149.0
Model: gpt-5.6-sol
Reasoning-Effort: xhigh
@coderabbitai

coderabbitai Bot commented Aug 23, 2026

Copy link
Copy Markdown

Warning

Review limit reached

Next included review available in 44 minutes.

View limit details

Limit details: You’ve used the included review currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 1fa475cb-9e63-4e0d-970a-8d85c796ae18

📥 Commits

Reviewing files that changed from the base of the PR and between 78091bd and 08df9f5.

📒 Files selected for processing (2)
  • dpti/lib/RemoteJob.py
  • tests/test_remote_job.py

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@codecov

codecov Bot commented Aug 23, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 0.00%. Comparing base (78091bd) to head (08df9f5).

Files with missing lines Patch % Lines
dpti/lib/RemoteJob.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@          Coverage Diff          @@
##           devel    #161   +/-   ##
=====================================
  Coverage   0.00%   0.00%           
=====================================
  Files         25      25           
  Lines       6665    6666    +1     
=====================================
- Misses      6665    6666    +1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

[Code scan] Unknown remote scheduler statuses raise AttributeError

1 participant