Skip to content

CI: enforce contributor build, tests and feature catalog checks - #282

Open
ralphhanna wants to merge 2 commits into
mainfrom
ci/contributor-quality-gates
Open

ralphhanna wants to merge 2 commits into
mainfrom
ci/contributor-quality-gates

Conversation

@ralphhanna

Copy link
Copy Markdown
Collaborator

Adds .github/workflows/contributor-quality.yml for PRs and pushes to main (Node 22, MongoDB service, npm ci, workspace build, catalog validation/regeneration consistency, and npm test). Adds a PR checklist for automated tests, documentation, feature catalog, changelogs, and compatibility reviews.

Note: CI enforces runnable checks; documentation/changelog quality is a reviewer checklist. After merge, enable branch protection requiring the Build, tests, feature catalog check. No CI run has been verified yet.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 4, 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-11-04T20:28:06.584542Z 82428c3 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: 82428c334f

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

Comment on lines +42 to +43
REQUIRE_AUTHENTICATION: 'false'
ENFORCE_SECURITY: 'false'

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Remove job-wide authentication and security bypasses

In .github/workflows/contributor-quality.yml, these job-wide settings are inherited by npm test and cause the existing engine security regression test to fail. In packages/bpmn-server/test/engine.test.mjs, the test “security rules: the environment's bypass is each user's own, not latched for the process” deletes ENFORCE_SECURITY and expects a newly created unprivileged user's isAdmin() to return false. However, SecureUser.securityDisabledByEnvironment() also checks REQUIRE_AUTHENTICATION, which remains 'false', so the assertion receives true and the quality gate fails even on unchanged code. Remove these global bypasses and let tests configure their own security environment; the HTTP test harness already explicitly sets both values to 'true'.

Useful? React with 👍 / 👎.

This branch has not been deployed

No deployments
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