Skip to content

fix(prediction): fail-close leftover live OMS execution - #1161

Open
proerror77 wants to merge 3 commits into
mainfrom
cursor/fail-close-live-execution-oms-8714
Open

fix(prediction): fail-close leftover live OMS execution#1161
proerror77 wants to merge 3 commits into
mainfrom
cursor/fail-close-live-execution-oms-8714

Conversation

@proerror77

@proerror77 proerror77 commented Sep 12, 2026

Copy link
Copy Markdown
Owner

Change

Compatibility live OMS submit, cancel, and replace never call a venue client. They fail closed with MONDAY_EXECUTION_DISABLED. The leftover live-execution Cargo feature is an empty tombstone, RuntimeMode::Live always exits 1, and LiveExecutor is removed. This does not enable LiveSmall and does not add a venue adapter. Monday runtime remains the only production execution authority.

The reviewed Linux ploy-research policy dependency graph is regenerated for the current Cargo.lock (input:Cargo.lock=sha256:20bda65059737c81a42fcd7035184fac7309a1ae34fc48f1dde5819ee154369b).

Issue relationship

None

Validation

From rust_hft/prediction-markets at the policy-graph commit:

  • cargo test --locked -p ploy-research --lib runtime_identity_uses_a_canonical_checked_in_linux_graph_with_features — passed
  • cargo test --locked -p ploy-platform-runtime --lib — 76 passed
  • cargo test --locked -p ploy-daemon-host --lib — 106 passed, 1 ignored
  • cargo test --locked -p ploy-strategy-runtime --lib --features live and live,live-execution — 5 passed each

CI on pre-rebase 464722de was green (42 checks). This head rebases those three commits onto current origin/main (6fdd7b29 / #1152).

Runtime impact and rollback

No LiveSmall enablement and no venue adapter. Compatibility prediction live order paths reject instead of calling a client. Rollback is revert of this PR.

Open in Web Open in Cursor 

@coderabbitai

coderabbitai Bot commented Sep 12, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: 5af02aad-df57-41ae-a314-ca297d7d2ff5


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.

@proerror77
proerror77 marked this pull request as ready for review September 12, 2026 04:58
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 12, 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-09-12T05:03:11.897187Z 1a63fe9 Draft marked ready
ℹ️ 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.

cursoragent and others added 3 commits September 12, 2026 05:44
Compatibility live submit, cancel, and replace never call a venue client.
The leftover live-execution feature is a no-op tombstone, and Live runner
mode always exits fail-closed. This does not enable LiveSmall or add a
venue adapter.

Co-authored-by: Wild Card <proerror77@users.noreply.github.com>
Live submit never acknowledges, so the injected second trading-state
write failure cannot exercise an ack path. Keep the test on the
fail-closed reject and zero venue submits.

Co-authored-by: Wild Card <proerror77@users.noreply.github.com>
The leftover live OMS lockfile edit changed Cargo.lock. Refresh the
reviewed ploy-research Linux policy graph input hash and canonical
digest so build.rs fail-closes on the current lockfile.

Co-authored-by: Wild Card <proerror77@users.noreply.github.com>
@cursor
cursor Bot force-pushed the cursor/fail-close-live-execution-oms-8714 branch from 92303af to c34946c Compare September 12, 2026 05:44
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.

2 participants