Skip to content

chore(test): merge deno runtime coverage - #3456

Closed
usualoma wants to merge 4 commits into
honojs:mainfrom
usualoma:merge-deno-runtime-coverage
Closed

usualoma wants to merge 4 commits into
honojs:mainfrom
usualoma:merge-deno-runtime-coverage

Conversation

@usualoma

@usualoma usualoma commented Sep 27, 2024 •

Copy link
Copy Markdown
Member

Checking the results in github actions...

The author should do the following, if applicable

  • Add tests
  • Run tests
  • bun run format:fix && bun run lint:fix to format the code
  • Add TSDoc/JSDoc to document the code

@codecov

codecov Bot commented Sep 27, 2024 •

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.52%. Comparing base (0a18c02) to head (8d3a0b7).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3456      +/-   ##
==========================================
+ Coverage   89.80%   90.52%   +0.72%     
==========================================
  Files         159      159              
  Lines       10120    10179      +59     
  Branches     2793     2954     +161     
==========================================
+ Hits         9088     9215     +127     
+ Misses       1032      962      -70     
- Partials        0        2       +2     

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

@usualoma
usualoma force-pushed the merge-deno-runtime-coverage branch from 24da562 to 7bd90ee Compare September 27, 2024 05:45
@usualoma

usualoma commented Sep 27, 2024 •

Copy link
Copy Markdown
Member Author

On Codecov, the coverage results for "coverage/deno-runtime-coverage.lcov" overwrite the results for main, resulting in a lower coverage rate. It would be nice if the results could be merged.

@usualoma
usualoma marked this pull request as draft September 27, 2024 06:57
@usualoma
usualoma force-pushed the merge-deno-runtime-coverage branch 5 times, most recently from 92e391c to 19c8486 Compare September 28, 2024 02:47
@usualoma

Copy link
Copy Markdown
Member Author

When generating lcov format data from deno coverage, some comment lines are incorrectly treated as executable lines, resulting in unnecessary uncovered.

CleanShot 2024-09-28 at 13 48 42@2x

CleanShot 2024-09-28 at 13 51 33@2x

@usualoma
usualoma force-pushed the merge-deno-runtime-coverage branch from 19c8486 to ebf9ea7 Compare September 28, 2024 05:05
@usualoma usualoma changed the title [POC] test(deno): merge deno runtime coverage test(deno): merge deno runtime coverage Sep 28, 2024
@usualoma usualoma mentioned this pull request Sep 28, 2024
4 tasks
@usualoma usualoma changed the title test(deno): merge deno runtime coverage chore(test): merge deno runtime coverage Sep 28, 2024
@usualoma

Copy link
Copy Markdown
Member Author

I have created a pull request to fix this issue in deno. Whether or not it is merged is up to deno.

denoland/deno#25939

@yusukebe

Copy link
Copy Markdown
Member

@usualoma Thanks!

@exoego

exoego commented Nov 6, 2024

Copy link
Copy Markdown
Contributor

@usualoma Deno v2.0.5 includes the change you contributed in denoland/deno#25939

@usualoma

usualoma commented Nov 6, 2024

Copy link
Copy Markdown
Member Author

@exoego Thanks for telling me.

@usualoma

usualoma commented Nov 6, 2024

Copy link
Copy Markdown
Member Author

I would like to continue with #3632, where the changes made by the pull request are easy to understand.

@usualoma usualoma closed this Nov 6, 2024
@usualoma
usualoma deleted the merge-deno-runtime-coverage branch November 6, 2024 04:01
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