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

test: improve getCallSites #57732

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jakecastelli
Copy link
Member

@jakecastelli jakecastelli commented Apr 2, 2025

dot-left supposed to be dot-right

The frame count is between 1 and 200. Testing 0.5 will be testing decimal fraction truncation to 0 which is still invalid range.

@nodejs-github-bot nodejs-github-bot added needs-ci PRs that need a full CI run. test Issues and PRs related to the tests. labels Apr 2, 2025
Copy link

codecov bot commented Apr 2, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.24%. Comparing base (af75d04) to head (640def1).
Report is 82 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #57732      +/-   ##
==========================================
+ Coverage   90.23%   90.24%   +0.01%     
==========================================
  Files         630      630              
  Lines      185055   185197     +142     
  Branches    36221    36300      +79     
==========================================
+ Hits       166984   167140     +156     
+ Misses      11043    10988      -55     
- Partials     7028     7069      +41     

see 74 files with indirect coverage changes

🚀 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.

@aduh95 aduh95 added author ready PRs that have at least one approval, no pending requests for changes, and a CI started. request-ci Add this label to start a Jenkins CI on a PR. labels Apr 5, 2025
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Apr 5, 2025
@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@jakecastelli jakecastelli added the commit-queue-rebase Add this label to allow the Commit Queue to land a PR in several commits. label Apr 6, 2025
@jakecastelli jakecastelli added the commit-queue Add this label to land a pull request using GitHub Actions. label Apr 7, 2025
@nodejs-github-bot nodejs-github-bot added commit-queue-failed An error occurred while landing this pull request using GitHub Actions. and removed commit-queue Add this label to land a pull request using GitHub Actions. labels Apr 7, 2025
@nodejs-github-bot
Copy link
Collaborator

Commit Queue failed
- Loading data for nodejs/node/pull/57732
✔  Done loading data for nodejs/node/pull/57732
----------------------------------- PR info ------------------------------------
Title      test: improve getCallSites (#57732)
   ⚠  Could not retrieve the email or name of the PR author's from user's GitHub profile!
Branch     jakecastelli:add-lower-bound-range-test -> nodejs:main
Labels     test, author ready, needs-ci, commit-queue-rebase
Commits    2
 - test: fix the decimal fractions explaination
 - test: add test for frame count being 0.5
Committers 1
 - Jake Yuesong Li <jake.yuesong@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/57732
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
------------------------------ Generated metadata ------------------------------
PR-URL: https://github.com/nodejs/node/pull/57732
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
--------------------------------------------------------------------------------
   ℹ  This PR was created on Wed, 02 Apr 2025 15:00:26 GMT
   ✔  Approvals: 4
   ✔  - Marco Ippolito (@marco-ippolito) (TSC): https://github.com/nodejs/node/pull/57732#pullrequestreview-2740219853
   ✔  - Luigi Pinca (@lpinca): https://github.com/nodejs/node/pull/57732#pullrequestreview-2740921315
   ✔  - Chengzhong Wu (@legendecas) (TSC): https://github.com/nodejs/node/pull/57732#pullrequestreview-2742890295
   ✔  - James M Snell (@jasnell) (TSC): https://github.com/nodejs/node/pull/57732#pullrequestreview-2745191389
   ✔  Last GitHub CI successful
   ℹ  Last Full PR CI on 2025-04-06T13:05:44Z: https://ci.nodejs.org/job/node-test-pull-request/66082/
- Querying data for job/node-test-pull-request/66082/
   ✔  Last Jenkins CI successful
--------------------------------------------------------------------------------
   ✔  No git cherry-pick in progress
   ✔  No git am in progress
   ✔  No git rebase in progress
--------------------------------------------------------------------------------
- Bringing origin/main up to date...
From https://github.com/nodejs/node
 * branch                  main       -> FETCH_HEAD
✔  origin/main is now up-to-date
- Downloading patch for 57732
From https://github.com/nodejs/node
 * branch                  refs/pull/57732/merge -> FETCH_HEAD
✔  Fetched commits as a2de5b9150da..9f614ba63daf
--------------------------------------------------------------------------------
[main 130a6467ec] test: fix the decimal fractions explaination
 Author: Jake Yuesong Li <jake.yuesong@gmail.com>
 Date: Thu Apr 3 01:23:27 2025 +1030
 1 file changed, 1 insertion(+), 1 deletion(-)
[main 85456ce8ef] test: add test for frame count being 0.5
 Author: Jake Yuesong Li <jake.yuesong@gmail.com>
 Date: Thu Apr 3 01:24:21 2025 +1030
 1 file changed, 5 insertions(+)
   ✔  Patches applied
There are 2 commits in the PR. Attempting autorebase.
Rebasing (2/4)
Executing: git node land --amend --yes
--------------------------------- New Message ----------------------------------
test: fix the decimal fractions explaination

PR-URL: #57732
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>

[detached HEAD c929d4f321] test: fix the decimal fractions explaination
Author: Jake Yuesong Li <jake.yuesong@gmail.com>
Date: Thu Apr 3 01:23:27 2025 +1030
1 file changed, 1 insertion(+), 1 deletion(-)
Rebasing (3/4)
Rebasing (4/4)
Executing: git node land --amend --yes
--------------------------------- New Message ----------------------------------
test: add test for frame count being 0.5

The frame count is between 1 and 200. Testing 0.5 will be testing decimal
fraction truncation to 0 which is still invalid range.

PR-URL: #57732
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>

[detached HEAD 682485d3c2] test: add test for frame count being 0.5
Author: Jake Yuesong Li <jake.yuesong@gmail.com>
Date: Thu Apr 3 01:24:21 2025 +1030
1 file changed, 5 insertions(+)
Successfully rebased and updated refs/heads/main.

✔ c929d4f3212c5545102e500317f142cbf2865de5
✔ 0:0 no Co-authored-by metadata co-authored-by-is-trailer
✔ 0:0 skipping fixes-url fixes-url
✔ 0:0 blank line after title line-after-title
✔ 0:0 line-lengths are valid line-length
✔ 0:0 metadata is at end of message metadata-end
✔ 1:8 PR-URL is valid. pr-url
✔ 0:0 reviewers are valid reviewers
✔ 0:0 valid subsystems subsystem
✔ 0:0 Title is formatted correctly. title-format
✔ 0:0 Title is <= 50 columns. title-length
✖ 682485d3c209ca8066d06de546a4749c6dd6d0d1
✔ 0:0 no Co-authored-by metadata co-authored-by-is-trailer
✔ 0:0 skipping fixes-url fixes-url
✔ 0:0 blank line after title line-after-title
✖ 1:72 Line should be <= 72 columns. line-length
✔ 0:0 metadata is at end of message metadata-end
✔ 4:8 PR-URL is valid. pr-url
✔ 0:0 reviewers are valid reviewers
✔ 0:0 valid subsystems subsystem
✔ 0:0 Title is formatted correctly. title-format
✔ 0:0 Title is <= 50 columns. title-length

ℹ Please fix the commit message and try again.
Please manually ammend the commit message, by running
git commit --amend
Once commit message is fixed, finish the landing command running
git node land --continue

https://github.com/nodejs/node/actions/runs/14299097568

The frame count is between 1 and 200. Testing 0.5 will be testing
decimal fraction truncation to 0 which is still invalid range.
@jakecastelli
Copy link
Member Author

On a new laptop, haven't moved all the config files across, forgot to set textwidth=72 in my vim config, sorry!

@jakecastelli jakecastelli force-pushed the add-lower-bound-range-test branch from 9f614ba to 640def1 Compare April 7, 2025 02:52
@jakecastelli jakecastelli removed the commit-queue-failed An error occurred while landing this pull request using GitHub Actions. label Apr 7, 2025
@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
author ready PRs that have at least one approval, no pending requests for changes, and a CI started. commit-queue-rebase Add this label to allow the Commit Queue to land a PR in several commits. needs-ci PRs that need a full CI run. test Issues and PRs related to the tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants