Skip to content

Improve CI#173

Merged
gsabran merged 1 commit intomainfrom
gsabran/split-ci-tests
Oct 15, 2025
Merged

Improve CI#173
gsabran merged 1 commit intomainfrom
gsabran/split-ci-tests

Conversation

@gsabran
Copy link
Copy Markdown
Collaborator

@gsabran gsabran commented Oct 15, 2025

Improve CI by splitting some jobs, making them run more selectively, and hopefully improving caching

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

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.

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

Comment on lines +142 to +147
test-app-tools:
runs-on: macos-26
timeout-minutes: 60
needs: detect-app-changes
if: ${{ needs.detect-app-changes.outputs.app-tools == 'true' }}
steps:
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P0 Badge Reference job outputs with hyphenated names correctly

The newly added filters expose outputs like app-tools and local-server, but the downstream jobs use the dot notation ${{ needs.detect-app-changes.outputs.app-tools == 'true' }} (similar for local-server). In GitHub Actions expressions a hyphen is treated as the subtraction operator, so this expression is parsed as outputs.app - tools and fails evaluation before the workflow even starts. As a result any PR that reaches this workflow will error out at parse time. Either rename these outputs to snake_case or access them with bracket notation (e.g. ${{ needs.detect-app-changes.outputs['app-tools'] == 'true' }}) everywhere they are used.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

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.

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

Comment on lines +142 to +147
test-app-tools:
runs-on: macos-26
timeout-minutes: 60
needs: detect-app-changes
if: ${{ needs.detect-app-changes.outputs.app-tools == 'true' }}
steps:
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P0 Badge Reference job outputs with hyphenated names correctly

The newly added filters expose outputs like app-tools and local-server, but the downstream jobs use the dot notation ${{ needs.detect-app-changes.outputs.app-tools == 'true' }} (similar for local-server). In GitHub Actions expressions a hyphen is treated as the subtraction operator, so this expression is parsed as outputs.app - tools and fails evaluation before the workflow even starts. As a result any PR that reaches this workflow will error out at parse time. Either rename these outputs to snake_case or access them with bracket notation (e.g. ${{ needs.detect-app-changes.outputs['app-tools'] == 'true' }}) everywhere they are used.

Useful? React with 👍 / 👎.

@gsabran gsabran force-pushed the gsabran/split-ci-tests branch from 986dbce to c3727ea Compare October 15, 2025 18:40
@gsabran gsabran merged commit 6aab388 into main Oct 15, 2025
1 check passed
@gsabran gsabran deleted the gsabran/split-ci-tests branch October 15, 2025 18: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.

1 participant