Skip to content

feat: accept YAML workflow configurations - #392

Open
njzjz-bot wants to merge 1 commit into
deepmodeling:masterfrom
njzjz-bot:feat/issue-94-yaml-input
Open

feat: accept YAML workflow configurations#392
njzjz-bot wants to merge 1 commit into
deepmodeling:masterfrom
njzjz-bot:feat/issue-94-yaml-input

Conversation

@njzjz-bot

Copy link
Copy Markdown

Summary

  • add a shared loader for JSON and YAML workflow configurations
  • use it for submit, resubmit, status, showkey, download, watch, restart, and workflow-control commands
  • declare PyYAML directly and document .yaml/.yml support
  • require the configuration document root to be a mapping

Tests

  • PYTHONPATH=tests python -m unittest -v tests.entrypoint.test_common tests.entrypoint.test_argparse
  • ruff format --check on changed Python files
  • isort --check-only on changed Python files
  • parsed pyproject.toml and verified the PyYAML dependency
  • git diff --check

Closes #94

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

@dosubot dosubot Bot added size:L This PR changes 100-499 lines, ignoring generated files. enhancement New feature or request labels Aug 23, 2026
@coderabbitai

coderabbitai Bot commented Aug 23, 2026

Copy link
Copy Markdown

Warning

Review limit reached

Next included review available in 59 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: 61bca676-b7ad-4418-a14e-af1f27d71a5a

📥 Commits

Reviewing files that changed from the base of the PR and between 6b01f29 and bd8f0d0.

📒 Files selected for processing (6)
  • docs/quickcli.md
  • dpgen2/entrypoint/common.py
  • dpgen2/entrypoint/main.py
  • dpgen2/entrypoint/workflow.py
  • pyproject.toml
  • tests/entrypoint/test_common.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 68.00000% with 8 lines in your changes missing coverage. Please review.
✅ Project coverage is 84.57%. Comparing base (6b01f29) to head (bd8f0d0).

Files with missing lines Patch % Lines
dpgen2/entrypoint/main.py 38.46% 8 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #392      +/-   ##
==========================================
+ Coverage   84.43%   84.57%   +0.13%     
==========================================
  Files         104      104              
  Lines        6110     6112       +2     
==========================================
+ Hits         5159     5169      +10     
+ Misses        951      943       -8     

☔ 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.

Route every CLI workflow configuration through a shared JSON/YAML loader and document the supported suffixes.

Coding-Agent: Codex
Codex-Version: codex-cli 0.149.1
Model: gpt-5.6-sol
Reasoning-Effort: xhigh
@njzjz-bot
njzjz-bot force-pushed the feat/issue-94-yaml-input branch from d9ccc76 to bd8f0d0 Compare August 26, 2026 11:00
@dosubot dosubot Bot added size:M This PR changes 30-99 lines, ignoring generated files. and removed size:L This PR changes 100-499 lines, ignoring generated files. labels Aug 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request size:M This PR changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Inpurt script switches to json5 format

1 participant