Skip to content

fix(debug): keep allocation progress visible - #255

Merged
Hynek Kydlíček (hynky1999) merged 1 commit into
mainfrom
codex/debug-create-heartbeat
Aug 26, 2026
Merged

Hynek Kydlíček (hynky1999) merged 1 commit into
mainfrom
codex/debug-create-heartbeat

Conversation

@hynky1999

Copy link
Copy Markdown
Collaborator

Summary

  • advertise the pipeline shorthand in top-level debug help
  • emit a flushed heartbeat every 30 seconds while worker status is unchanged
  • preserve status-change and timeout behavior

Verification

  • .venv/bin/python -m pytest -q tests/cli/test_debug_commands.py (18 passed)
  • Ruff check and format verification passed
  • ty check passed

Co-authored-by: OpenAI Codex <codex@openai.com>

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

Copy link
Copy Markdown

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: 227e095b16

ℹ️ 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 (@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 (@codex) address that feedback".

Comment thread src/refiner/cli/debug.py
Comment on lines +330 to +334
elif now - last_progress_at >= _STATUS_HEARTBEAT_SECS:
elapsed_secs = int(now - started_at)
print(
f"Debug worker: {status} (still waiting; {elapsed_secs}s elapsed)",
flush=True,

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Document the new allocation heartbeat

The 30-second status heartbeat changes user-visible macrodata debug create output, but this change set does not update docs/running-pipelines/cloud-debug-sessions.md to explain the periodic progress message or when users should expect it. Add the corresponding user-first documentation alongside this behavior change.

AGENTS.md reference: AGENTS.md:L49-L52

Useful? React with 👍 / 👎.

@hynky1999
Hynek Kydlíček (hynky1999) merged commit c57883e into main Aug 26, 2026
5 checks passed
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