Skip to content

Add mcpclient for evaluation sub package to call the mobile-web mcp tool #20

Merged
ben-zhang-at-salesforce merged 6 commits into
mainfrom
mcpclient
Jul 3, 2025
Merged

Add mcpclient for evaluation sub package to call the mobile-web mcp tool #20
ben-zhang-at-salesforce merged 6 commits into
mainfrom
mcpclient

Conversation

@ben-zhang-at-salesforce

Copy link
Copy Markdown
Contributor
  • created mcpclient in evaluatoin sub package to call in the mobile-web mcp tool by name.
  • added tests to verify the mcpclient call to the 11 tools returns correct result.

@ben-zhang-at-salesforce ben-zhang-at-salesforce requested a review from a team as a code owner July 2, 2025 21:29
@ben-zhang-at-salesforce ben-zhang-at-salesforce force-pushed the mcpclient branch 4 times, most recently from aec12e5 to 3ae840d Compare July 2, 2025 22:59
@codecov-commenter

codecov-commenter commented Jul 2, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.20%. Comparing base (63ac2ff) to head (d9a6f2b).
⚠️ Report is 454 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #20      +/-   ##
==========================================
+ Coverage   90.83%   91.20%   +0.37%     
==========================================
  Files          21       22       +1     
  Lines         698      728      +30     
  Branches       92       98       +6     
==========================================
+ Hits          634      664      +30     
  Misses         64       64              
Flag Coverage Δ
evaluation 88.74% <100.00%> (?)
mobile-web 98.87% <ø> (ø)
monorepo 91.20% <100.00%> (+0.37%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Comment thread .codecov.yml
method: no
macro: no

macro: no

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

my bad, duplicated the macro: in my pr. correct my mistake

Comment thread .github/workflows/run-tests.yml Outdated
node-version: ${{ matrix.node }}
cache: 'npm'
- run: npm install
- run: npm run build:all

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

need npm build so the mcp server tool js could be launched.

flags: mobile-web
name: mobile-web-coverage

- name: Upload evaluation coverage

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

upload the test coverage for evaluation

@haifeng-li-at-salesforce haifeng-li-at-salesforce left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Ben walked me through the PR. The improvement looks great!

@ben-zhang-at-salesforce ben-zhang-at-salesforce merged commit d9ef8c2 into main Jul 3, 2025
13 checks passed
@ben-zhang-at-salesforce ben-zhang-at-salesforce deleted the mcpclient branch July 3, 2025 17:19
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