Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Blocked by #831] chore: Add coral_web client generation CI step #890

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tianjing-li
Copy link
Collaborator

@tianjing-li tianjing-li commented Jan 3, 2025

Blocked: waiting on Coral web fixes

AI Description

This pull request introduces several new steps to the workflow in the frontend_coral_web_tests.yml file. These steps aim to enhance the build process by generating and checking a client.

Changes:

  • A new step named Generate client is added, which runs the command npm run generate:client && npm run format:write.
  • Another step, Check generated client, is introduced to verify the generated client's integrity using git diff --exit-code ./src/cohere-client/generated. If the client is outdated, it prompts for regeneration and commits.

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 77.84%. Comparing base (131a1a2) to head (07ed6d1).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #890   +/-   ##
=======================================
  Coverage   77.84%   77.84%           
=======================================
  Files         259      259           
  Lines       11176    11176           
=======================================
  Hits         8700     8700           
  Misses       2476     2476           

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

Copy link
Collaborator

@EugeneLightsOn EugeneLightsOn left a comment

Choose a reason for hiding this comment

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

It's a good idea, Thank you TJ

@tianjing-li tianjing-li changed the title chore: Add coral_web client generation CI step [Blocked by #831] chore: Add coral_web client generation CI step Jan 8, 2025
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.

3 participants