Skip to content

chore: Restructure CI workflows to introduce a validation job#227

Merged
danny-avila merged 2 commits into
mainfrom
chore/optimize-publish-workflow
Jun 6, 2026
Merged

chore: Restructure CI workflows to introduce a validation job#227
danny-avila merged 2 commits into
mainfrom
chore/optimize-publish-workflow

Conversation

@danny-avila

Copy link
Copy Markdown
Owner
  • Added a new validate job in the CI workflow to handle installation, linting, type-checking, and circular dependency checks.
  • Updated the publish job to depend on the validate job, ensuring all validations are completed before publishing.
  • Removed redundant steps from the publish job, streamlining the workflow and improving maintainability.
  • Introduced a new validate.yml file to encapsulate validation logic, enhancing modularity and reusability across workflows.

- Added a new `validate` job in the CI workflow to handle installation, linting, type-checking, and circular dependency checks.
- Updated the `publish` job to depend on the `validate` job, ensuring all validations are completed before publishing.
- Removed redundant steps from the `publish` job, streamlining the workflow and improving maintainability.
- Introduced a new `validate.yml` file to encapsulate validation logic, enhancing modularity and reusability across workflows.
@danny-avila

Copy link
Copy Markdown
Owner Author

@codex review

@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: f31e98d9f4

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

id: google_llm_tests
if: steps.google_changes.outputs.changed == 'true'
continue-on-error: true
run: npx jest src/llm/google/llm.spec.ts --runInBand

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 Preserve the publish timeout for gated provider tests

When this reusable workflow is reached from .github/workflows/publish.yml (publish now needs validate) and a Google LLM change is detected on main, this step no longer has the 5-minute timeout-minutes guard that the old publish job had. Because the step is intentionally soft-failed only after it exits, a hung provider/API test can now hold the publish and release path until the default Actions job timeout instead of surfacing quickly; please carry the publish timeout over here and to the other gated tests moved into validate.yml.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

changed to 6 minutes

- Added a timeout of 6 minutes to the Google, Anthropic, PTC, and Tool Search unit test jobs in the CI workflow to prevent premature job termination during execution.
@danny-avila

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

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

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

@danny-avila danny-avila merged commit d9fa4f7 into main Jun 6, 2026
10 checks passed
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