Skip to content

fix(ci): run behavioral checks for authored plugin Markdown - #730

Closed
mldangelo-oai wants to merge 1 commit into
mainfrom
mdangelo/codex/ci-runtime-markdown
Closed

mldangelo-oai wants to merge 1 commit into
mainfrom
mdangelo/codex/ci-runtime-markdown

Conversation

@mldangelo-oai

Copy link
Copy Markdown
Collaborator

Summary

Changes to shipped plugin skills could take the Markdown-only CI path and skip the behavioral tests that validate those skills. Authored plugin Markdown now selects full CI, just like the generated plugin payload.

Changes

  • Exclude plugins/codex-security/** from the Markdown-only shortcut.
  • Add a regression case that executes the workflow's classifier for an authored SKILL.md change.
  • Preserve the fast path for ordinary documentation and all existing required-check gates.

Testing

  • Confirmed the new regression failed before the classifier change.
  • bun test --timeout 30000 tests-ts/release-automation.test.ts: 281 passed, 0 failed with Bun 1.3.14.
  • prettier --check tests-ts/release-automation.test.ts: passed.
  • git diff --check: passed.

Risk and rollout

This expands CI execution for Markdown changes under the authored plugin directory. It does not change runtime behavior or skip any existing check. No migration or configuration change is needed.

Public disclosure review

  • 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.

@github-actions github-actions Bot added the bug Something isn't working label Aug 29, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Aug 29, 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-29T00:41:34.142088Z 514fa9e Manual request
🔒 Security Review ✅ Completed 2026-08-29T00:39:21.137514Z 514fa9e 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.

@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: 514fa9ea60

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

while IFS= read -r -d '' path; do
changed=true
if [[ "$path" != *.md ||
"$path" == plugins/codex-security/* ||

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Keep Markdown formatting enabled for plugin-only changes

When a PR changes only plugins/codex-security/.../*.md, this condition now selects full, so the Check Markdown formatting step at lines 102–115 is skipped. The full-mode formatter is pnpm --dir sdk/typescript run format; pnpm help run defines --dir as “Change to directory

”, and that package's **/*.md glob cannot reach the authored files under ../../plugins (while _bundled_plugin/ is explicitly ignored). Consequently, a Prettier-only formatting error in an authored SKILL.md that previously failed reduced CI can now pass all full-mode checks; run the changed-file Markdown formatter in full mode as well, or explicitly include the authored plugin Markdown in a full-mode formatting step.

Useful? React with 👍 / 👎.

@mldangelo-oai

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

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

Reviewed commit: 514fa9ea60

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

Copy link
Copy Markdown
Collaborator Author

Closing as a duplicate of #729, which includes the same classifier fix and regression coverage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant