Skip to content

Run workflows through managed hook sessions - #123

Merged
Xmaster6y merged 3 commits into
mainfrom
codex/issue-114-managed-workflow-session
Aug 31, 2026
Merged

Xmaster6y merged 3 commits into
mainfrom
codex/issue-114-managed-workflow-session

Conversation

@Xmaster6y

@Xmaster6y Xmaster6y commented Aug 31, 2026

Copy link
Copy Markdown
Owner

Summary

  • add Workflow.session(model) and WorkflowSession.run(data) so imperative capture, replacement, and stopping can wrap a complete workflow run
  • associate the executed WorkflowPlan with the session HookProgram in WorkflowResult
  • retain ordered repeated capture values while preserving the existing latest-value API
  • keep Getting Started focused on Workflow composition and move HookSession concepts into a dedicated executable tutorial notebook

Validation

  • just checks
  • just tests (614 passed, 1 skipped)
  • just docs (passed with the existing AutoAPI cyclic-import warning)
  • offline HookSession and declared-workflow notebooks executed from fresh kernels

Closes #114

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Aug 31, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-08-31T09:41:00.504549Z 9279b96 PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@codecov

codecov Bot commented Aug 31, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.30%. Comparing base (c18ce26) to head (9b0e43b).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #123   +/-   ##
=======================================
  Coverage   98.29%   98.30%           
=======================================
  Files          52       52           
  Lines        3929     3947   +18     
=======================================
+ Hits         3862     3880   +18     
  Misses         67       67           

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

@cubic-dev-ai cubic-dev-ai 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.

No issues found across 5 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

You’re at about 92% of the monthly reviewed-line limit. You may want to disable incremental reviews to conserve quota. Reviews will continue until that limit is exceeded. If you need help avoiding interruptions, please contact contact@cubic.dev.

Auto-approved: Adds Workflow.session and WorkflowSession.run to wrap workflow runs in a managed HookSession, preserves repeated capture values with a new values list, and adds program to WorkflowResult; includes tests and docs.

Re-trigger cubic

@Xmaster6y
Xmaster6y merged commit 1e1b930 into main Aug 31, 2026
6 checks passed
@Xmaster6y
Xmaster6y deleted the codex/issue-114-managed-workflow-session branch August 31, 2026 14:05
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.

Run Workflow through a managed HookSession

1 participant