[Feature]: Improve cron job support and UX for Codex gpt-5.4#98
Open
viiccwen wants to merge 3 commits intoPleasePrompto:mainfrom
Open
[Feature]: Improve cron job support and UX for Codex gpt-5.4#98viiccwen wants to merge 3 commits intoPleasePrompto:mainfrom
gpt-5.4#98viiccwen wants to merge 3 commits intoPleasePrompto:mainfrom
Conversation
Author
|
cc @PleasePrompto 🙌 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hello, I'm Vic! An Apache Software Foundation Contributor in apache/airflow & apache/mahout. 🙌
I think this project is pretty cool! So I made this feature patch haha.
Summary
This PR aligns cron job tooling and cron setup guidance with the existing Codex runtime capability for modern models, especially
gpt-5.4.The runtime already supports Codex cron execution through the shared task runner and model validation pipeline, but the user-facing cron tools and rule files were still biased toward older Codex model names and incomplete edit flows.
This change makes cron support for
gpt-5.4explicit and usable end-to-end.What changed
1. Added missing cron edit functionality
tools/cron_tools/cron_edit.pynow supports in-place execution override updates:--provider--model--reasoning-effort--cli-parametersIt also supports clearing those fields with:
--clear-provider--clear-model--clear-reasoning-effort--clear-cli-parametersThis closes the gap between the tool’s documented behavior and its actual
capabilities.
2. Updated cron examples to use modern Codex defaults
Cron help text and examples now use
gpt-5.4as the primary Codex example,instead of older
gpt-5.2-codexguidance.3. Updated cron rule files for agent guidance
The cron-related rule files now recommend current Codex model choices such as:
gpt-5.4gpt-5.4-minigpt-5.3-codexgpt-5.2This ensures agents creating or editing cron jobs stop steering users toward
stale model recommendations.
4. Added tests
Added coverage for:
--cli-parametersinputWhy this is needed
Before this PR:
gpt-5.4already existedcron_edit.pycould not actually perform several edits that its own docs andsurrounding rules implied should be possible
After this PR:
gpt-5.4through supported toolingcron_jobs.jsonedits for normal model updatesScreenshot: