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

feat: add workflows #3

Merged
merged 8 commits into from
Nov 13, 2023
Merged

feat: add workflows #3

merged 8 commits into from
Nov 13, 2023

Conversation

SuZhou-Joe
Copy link
Member

Description

Add workflows:

  • backport
  • unit test
  • changelog verifier
  • links checker

Issues Resolved

List any issues this PR will resolve, e.g. Closes [...].

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: SuZhou-Joe <[email protected]>
- name: Run tests
run: |
cd OpenSearch-Dashboards/plugins/dashboards-assistant
yarn run test:jest --coverage
Copy link
Member

Choose a reason for hiding this comment

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

yarn test --coverage?

"test": "../../node_modules/.bin/jest --config ./test/jest.config.js",

Copy link
Member Author

Choose a reason for hiding this comment

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

Sure, fixed.

Signed-off-by: SuZhou-Joe <[email protected]>
Signed-off-by: SuZhou-Joe <[email protected]>
Signed-off-by: SuZhou-Joe <[email protected]>
Signed-off-by: SuZhou-Joe <[email protected]>
@SuZhou-Joe
Copy link
Member Author

@joshuali925 would you mind adding a approval for this PR so I can merge this PR.

Copy link
Member

@joshuali925 joshuali925 left a comment

Choose a reason for hiding this comment

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

thanks

},
transformIgnorePatterns: ['<rootDir>/node_modules/(?!langchain|langsmith)'],
// https://github.com/jestjs/jest/issues/6229#issuecomment-403539460
transformIgnorePatterns: ['node_modules/(?!langchain|langsmith)'],
Copy link
Member

Choose a reason for hiding this comment

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

any issue with ts-jest that we need to use babel?

Copy link
Member Author

Choose a reason for hiding this comment

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

  1. There are a lot of warnings when using ts-jest because of version conflict.
  2. Both ts-jest and babel-jest should work but
  • babel-jest is installed alongside jest
  • ts-jest requires extra configuration
  • babel-jest is used in OSD and other plugins, not ts-jest.

@SuZhou-Joe SuZhou-Joe merged commit 4ec2ac7 into feature/agent-framework Nov 13, 2023
12 checks passed
ruanyl pushed a commit that referenced this pull request Nov 20, 2023
* Chat window header

Signed-off-by: Hailong Cui <[email protected]>

* support chat title

Signed-off-by: Hailong Cui <[email protected]>

* dock bottom and right icon update

Signed-off-by: Hailong Cui <[email protected]>

* chat window style

Signed-off-by: Hailong Cui <[email protected]>

* fix new conversation don't show when in trace page

Signed-off-by: Hailong Cui <[email protected]>

---------

Signed-off-by: Hailong Cui <[email protected]>
@SuZhou-Joe SuZhou-Joe deleted the feature/ci-flow branch December 1, 2023 03:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants