Skip to content

Add execution windows to runtime settings#2

Merged
Pigbibi merged 1 commit into
mainfrom
codex/runtime-target-execution-windows
May 15, 2026
Merged

Add execution windows to runtime settings#2
Pigbibi merged 1 commit into
mainfrom
codex/runtime-target-execution-windows

Conversation

@Pigbibi
Copy link
Copy Markdown
Contributor

@Pigbibi Pigbibi commented May 15, 2026

Add runtime_target.execution_windows to the canonical runtime target schema and validation logic, plus update the examples and docs to describe precheck/execution scheduling.

Tests:

  • python3 -m unittest discover -s tests -v

@Pigbibi Pigbibi merged commit f9c4d6e into main May 15, 2026
2 checks passed
@Pigbibi Pigbibi deleted the codex/runtime-target-execution-windows branch May 15, 2026 15:12
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6f1730bb59

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

)
if "offset_minutes" in window:
offset_minutes = window["offset_minutes"]
if not isinstance(offset_minutes, int) or offset_minutes < 0:
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Reject boolean values for offset_minutes

offset_minutes is intended to be numeric, but this check treats booleans as valid because bool is a subclass of int in Python. As a result, configs like "offset_minutes": true pass validate_target() even though the schema declares this field as an integer, so invalid runtime targets can be accepted and propagated to downstream systems.

Useful? React with 👍 / 👎.

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.

1 participant