Skip to content

refactor(workbench): remove repeated Python message projections - #1576

Merged
mldangelo-oai merged 4 commits into
mainfrom
mdangelo/codex/python-message-adapters
Oct 13, 2026
Merged

mldangelo-oai merged 4 commits into
mainfrom
mdangelo/codex/python-message-adapters

Conversation

@mldangelo-oai

@mldangelo-oai mldangelo-oai commented Oct 11, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Reuse existing request lookups and response projections in the Python workbench adapters, reducing repeated mapping code.

Changes

  • Share remediation request lookup and publication projection.
  • Remove redundant aliases and unused selected columns.
  • Preserve response fields, key order, transaction behavior, diagnostics, and newer timestamps.

Testing

For fbda2e077722, source-matched validation passed 200 Python cases with two existing skips. All five portable plugin checks passed: Ruff lint and format, SDK build:ci, and the source-compatibility checker and its tests.

The earlier full Python run was on a prior snapshot. Hosted CI for this candidate remains to be verified.

Risk and rollout

Internal refactor with no change to public commands, arguments, accepted values, defaults, environment variables, schemas, migrations, or runtime settings. Existing lease checks, request ownership, transactions, and diagnostic text remain in place.

Public disclosure review

Reviewed the source, synthetic fixtures, commit metadata, description, and public PR artifacts.

  • No customer, partner, prospect, or user identities, data, or identifying details are included.
  • No credentials, personal data, private source, scan findings, or nonpublic links or tickets are included.
  • I reviewed the branch name, title, description, commits, changes, comments, logs, screenshots, attachments, and links for public disclosure.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 11, 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-10-12T17:48:21.376248Z fbda2e0 New commits
🔒 Security Review ✅ Completed 2026-10-12T17:45:53.189381Z fbda2e0 New commits
ℹ️ 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.

@mldangelo-oai
mldangelo-oai requested a balanced review from Copilot October 11, 2026 00:12

Copy link
Copy Markdown
Collaborator Author

@codex review

Copilot AI 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.

🟢 Approval recommended

The refactor preserves observable behavior and introduces no identified correctness issues.

0 open findings

What changed in this PR

Simplifies Python workbench adapters while preserving existing outputs and behavior.

Changes:

  • Reuses shared token and diff-identity projections.
  • Centralizes remediation lookup and publication record mapping.
  • Removes redundant aliases, columns, and timestamp reconstruction.
File Description
workbench_validation.py Reuses shared token field definitions.
workbench_remediation.py Adds shared remediation request lookup.
workbench_publication.py Consolidates Linear publication projection.
workbench_db.py Applies shared helpers and simplifies result handling.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 👍

Reviewed commit: 7869e2ac11

ℹ️ 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".

@mldangelo-oai
mldangelo-oai requested a balanced review from Copilot October 11, 2026 14:50

Copy link
Copy Markdown
Collaborator Author

@codex review

Copilot AI 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.

🟢 Approval recommended

The refactor preserves existing contracts and transaction behavior without introducing unresolved issues.

0 open findings

🧠 Review effort: Balanced

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Swish!

Reviewed commit: caa82579a1

ℹ️ 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".

@mldangelo-oai
mldangelo-oai requested a balanced review from Copilot October 11, 2026 15:47

Copy link
Copy Markdown
Collaborator Author

@codex review

Copilot AI 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.

🟢 Approval recommended

The refactor preserves established behavior and introduces no unresolved correctness issues.

0 open findings

🧠 Review effort: Balanced

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. What shall we delve into next?

Reviewed commit: 0bcc5d3a12

ℹ️ 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".

@mldangelo-oai mldangelo-oai changed the title refactor(workbench): simplify Python message adapters refactor(workbench): remove repeated Python message projections Oct 12, 2026
@mldangelo-oai
mldangelo-oai merged commit 0395dca into main Oct 13, 2026
64 checks passed
@mldangelo-oai
mldangelo-oai deleted the mdangelo/codex/python-message-adapters branch October 13, 2026 01:40
@github-actions github-actions Bot mentioned this pull request Oct 13, 2026
3 tasks done
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