Skip to content

test(chatgpt): verify Desktop plugins through the native Codex backend - #1008

Closed
777genius wants to merge 1 commit into
mainfrom
fix/chatgpt-desktop-native-audit-f53f07ba
Closed

777genius wants to merge 1 commit into
mainfrom
fix/chatgpt-desktop-native-audit-f53f07ba

Conversation

@777genius

@777genius 777genius commented Nov 19, 2026 •

Copy link
Copy Markdown
Owner

Integrated through #1014 — duplicate closed

All intended changes in this PR are already present in main 0c85dbf6f770ef69417142f976887a5aa4b94907 (tree e1b6fefdb228ead1e80a5dd2394bf3ab18da3632), through merged PR #1014, merge f9888868ccd1802ca0e258dc49b0f4723f8f9b7e.

The authoring and independent reviews checked all 41 added patch runs across the three original files. Public --target chatgpt, canonical Codex receipts/native roots/ownership/uninstall checks, exact pinned acquisition, actual-executable refusal, repeat/removal tests and the unsupported Project Skills exclusion are preserved. Current main also retains the later guarded sandbox placement and generic Prepared lifecycle correction.

Exact current-main blobs:

  • .github/workflows/live-install-remaining-clients.yml: 86c847b5e89531317858de0891e65006d8c1c41e
  • scripts/live-install-audit.py: 7f8a452594c295595c53722bcaa8ff8b0aa370b9
  • scripts/test_live_install_audit_env.py: fc61fb10c7c2ff2ce2fe4eb638b568241dd2fd6b

There is no remaining feature/test delta to integrate, so this superseded PR is closed without an empty merge or a trigger-only commit. Its original commit is not in main's ancestry; its reviewed functionality is. Historical checks remain bound to their original source, and current-main qualification remains in progress. This does not convert earlier failed checks to PASS or claim every native component is Ready.


Why

The remaining-client audit never provisioned Codex for the ChatGPT Desktop plugin target. The public CLI already maps --target chatgpt to its Codex backend, so all 30 genuine catalog cases stopped at target codex is not detected. The audit also looked for noncanonical ChatGPT receipts and could label a manual preparation as a positive result.

Changes

  • Provision genuine Codex with the unchanged full-catalog pin (0.153.4), existing archive verification and Linux sandbox helper. Validate the executable and PATH before version discovery. The workflow still builds the installer from its exact checkout.
  • Retain public --target chatgpt arguments throughout add/list/repeat/remove. Use the canonical Codex identity only for local native roots, receipts, source attribution, SQLite ownership, System-profile protection and uninstall observations.
  • Require the real executable before starting the audit. Remove the manual-preparation success shortcut; registration, repeat identity/native-file stability, complete removal and foreign-file preservation remain required.
  • Exclude the unsupported ChatGPT Desktop Project Skills combination from the positive matrix. The existing public negative contract remains. Web behavior and other clients are unchanged.

Verification

Exact source: 3df98d4857a6b63a8489fc1727b0481c833bb08b, tree 8e689e0e1f1e12b850f560e4c8cfc2f91faf5a54, parent f53f07ba829776fc00ab93e00384c84aaa7e9074.

Seven focused Python tests passed with zero skips/failures. They cover canonical receipt matching while retaining public arguments, refusal when Codex is missing, and regular/link/nonexecutable/foreign executable bootstrap cases. The extracted acquisition shell passes syntax validation. These checks use fixtures; they are not a native E2E result.

Independent source review accepted all three changed paths. All 8,113 other Git leaves match the parent. Non-ChatGPT audit behavior and URL/pin blocks are conserved, as are the latest VS Code freeze and all post-bootstrap workflow steps. The shared provision, sandbox and Codex audit helpers are unchanged.

Containing-source CI and the genuine 30-plugin Desktop-alias/Codex lifecycle are required before merge. No prior Codex catalog success is transferred to this head. This checks native installation/discovery through the existing Desktop integration; it does not claim a Desktop UI reload, vendor login, model request, or remote ChatGPT Web activation.

No release, manual workflow dispatch, rerun or weakened command budget is included.

@strix-security

Copy link
Copy Markdown

Strix is installed on this repository, but we couldn't run this PR security review because this workspace's trial has ended. Add a card to resume code reviews here.

So far, Strix has reviewed 392 pull requests, surfaced 113 security issues (1 critical/high) and blocked 3 risky merges across this workspace.

@coderabbitai

coderabbitai Bot commented Nov 19, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 28 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

Commits

Reviewing files that changed from the base of the PR and between f53f07b and 3df98d4.

Files selected for processing: 3

  • .github/workflows/live-install-remaining-clients.yml
  • scripts/live-install-audit.py
  • scripts/test_live_install_audit_env.py
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

@codecov

codecov Bot commented Nov 19, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 63.29%. Comparing base (f53f07b) to head (3df98d4).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1008   +/-   ##
=======================================
  Coverage   63.29%   63.29%           
=======================================
  Files        2267     2267           
  Lines      136179   136179           
=======================================
+ Hits        86196    86197    +1     
+ Misses      37568    37565    -3     
- Partials    12415    12417    +2     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@777genius 777genius closed this Nov 19, 2026
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