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

Preparing release v1.13.0 #699

Merged
merged 5 commits into from
Feb 23, 2021

Conversation

albertteoh
Copy link
Contributor

Signed-off-by: albertteoh [email protected]

Which problem is this PR solving?

  • Prepares jaeger-ui for release of v1.13.0

Short description of the changes

  • Updates changelog and package.json appropriately.

Signed-off-by: albertteoh <[email protected]>
@codecov
Copy link

codecov bot commented Feb 19, 2021

Codecov Report

Merging #699 (209fd51) into master (dac6913) will decrease coverage by 0.03%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #699      +/-   ##
==========================================
- Coverage   94.42%   94.39%   -0.04%     
==========================================
  Files         230      230              
  Lines        5959     5959              
  Branches     1448     1448              
==========================================
- Hits         5627     5625       -2     
- Misses        298      300       +2     
  Partials       34       34              
Impacted Files Coverage Δ
...nents/TracePage/TraceTimelineViewer/SpanBarRow.tsx 72.41% <0.00%> (-6.90%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update dac6913...209fd51. Read the comment docs.

@jpkrohling
Copy link
Contributor

I would like to get #702 in before this release.

@@ -42,7 +42,7 @@ describe('<SpanBarRow>', () => {
serviceName: 'rpc-service-name',
},
showErrorIcon: false,
getViewedBounds: () => ({ start: 0, end: 1 }),
getViewedBounds: () => ({ start: 10, end: 1 }),
Copy link
Member

Choose a reason for hiding this comment

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

what does it mean to start from 10 through to 1?

Copy link
Contributor Author

@albertteoh albertteoh Feb 23, 2021

Choose a reason for hiding this comment

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

The motivation for this change is to add test coverage for the following code block, which was blocking this PR from passing builds:

longLabel = `${labelDetail} | ${label}`;
hintSide = 'left';

I don't know how this code coverage issue appeared given my only changes were to the changelog, but in any case, thought I'd try to fix it as it seems to be the best option for me to unblock the release (please advise if I'm wrong).

The above code block uses the start and end view bounds to determine where the hint label should appear when mousing over the span timeline. So if there's more whitespace to the left of the span timeline than the right, show the label to the left, otherwise, show it to the right.

Screen Shot 2021-02-23 at 10 56 09 am

Screen Shot 2021-02-23 at 10 55 28 am

Realistically, these bounds seem to range between 0 and 1 and so 10 is a little extreme to be honest, but it does the job to get the line coverage for the first if block, and it looks like the else case is covered by other tests. Please let me know if you think this number should be more realistic or if there's a better way to fix the code coverage failure.

Copy link
Member

Choose a reason for hiding this comment

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

seem to range between 0 and 1 and so 10 is a little extreme to be honest

And out of range, most importantly. I am not familiar with the test, but having 10 here is just going to confuse someone else at some time in the future.

I would remove this change. We can ignore the code cov diff for the purpose of this PR, since the diff is coming from a flaky test.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Agree and reverted. The "Squash and merge" button is greyed out for me due to the codecov failure; how do we ignore it and proceed with merging this PR?

Copy link
Member

Choose a reason for hiding this comment

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

booked a ticket for flaky coverage #704

Copy link
Member

Choose a reason for hiding this comment

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

I merged it - probably requires admin rights on the repo.

This reverts commit 8a9592e.

Signed-off-by: albertteoh <[email protected]>
@albertteoh albertteoh force-pushed the prepare-release-1.13.0 branch from 693d653 to 209fd51 Compare February 23, 2021 00:58
@yurishkuro yurishkuro merged commit a922b6a into jaegertracing:master Feb 23, 2021
@albertteoh albertteoh deleted the prepare-release-1.13.0 branch February 23, 2021 02:07
@albertteoh
Copy link
Contributor Author

Thanks @yurishkuro!

vvvprabhakar pushed a commit to vvvprabhakar/jaeger-ui that referenced this pull request Jun 23, 2021
* Preparing release v1.13.0

Signed-off-by: albertteoh <[email protected]>

* Increase test coverage on SpanBarRow.tsx

Signed-off-by: albertteoh <[email protected]>

* Revert "Increase test coverage on SpanBarRow.tsx"

This reverts commit 8a9592e.

Signed-off-by: albertteoh <[email protected]>
Signed-off-by: vvvprabhakar <[email protected]>
vvvprabhakar pushed a commit to vvvprabhakar/jaeger-ui that referenced this pull request Jul 4, 2021
* Preparing release v1.13.0

Signed-off-by: albertteoh <[email protected]>

* Increase test coverage on SpanBarRow.tsx

Signed-off-by: albertteoh <[email protected]>

* Revert "Increase test coverage on SpanBarRow.tsx"

This reverts commit 8a9592e.

Signed-off-by: albertteoh <[email protected]>
Signed-off-by: vvvprabhakar <[email protected]>
vvvprabhakar pushed a commit to vvvprabhakar/jaeger-ui that referenced this pull request Jul 4, 2021
* Preparing release v1.13.0

Signed-off-by: albertteoh <[email protected]>

* Increase test coverage on SpanBarRow.tsx

Signed-off-by: albertteoh <[email protected]>

* Revert "Increase test coverage on SpanBarRow.tsx"

This reverts commit 8a9592e.

Signed-off-by: albertteoh <[email protected]>
Signed-off-by: vvvprabhakar <[email protected]>
vvvprabhakar pushed a commit to vvvprabhakar/jaeger-ui that referenced this pull request Jul 4, 2021
* Preparing release v1.13.0

Signed-off-by: albertteoh <[email protected]>

* Increase test coverage on SpanBarRow.tsx

Signed-off-by: albertteoh <[email protected]>

* Revert "Increase test coverage on SpanBarRow.tsx"

This reverts commit 8a9592e.

Signed-off-by: albertteoh <[email protected]>
Signed-off-by: vvvprabhakar <[email protected]>
vvvprabhakar pushed a commit to vvvprabhakar/jaeger-ui that referenced this pull request Jul 4, 2021
* Preparing release v1.13.0

Signed-off-by: albertteoh <[email protected]>

* Increase test coverage on SpanBarRow.tsx

Signed-off-by: albertteoh <[email protected]>

* Revert "Increase test coverage on SpanBarRow.tsx"

This reverts commit 8a9592e.

Signed-off-by: albertteoh <[email protected]>
Signed-off-by: vvvprabhakar <[email protected]>
vvvprabhakar pushed a commit to vvvprabhakar/jaeger-ui that referenced this pull request Jul 4, 2021
* Preparing release v1.13.0

Signed-off-by: albertteoh <[email protected]>

* Increase test coverage on SpanBarRow.tsx

Signed-off-by: albertteoh <[email protected]>

* Revert "Increase test coverage on SpanBarRow.tsx"

This reverts commit 8a9592e.

Signed-off-by: albertteoh <[email protected]>
Signed-off-by: vvvprabhakar <[email protected]>
vvvprabhakar pushed a commit to vvvprabhakar/jaeger-ui that referenced this pull request Jul 4, 2021
* Preparing release v1.13.0

Signed-off-by: albertteoh <[email protected]>

* Increase test coverage on SpanBarRow.tsx

Signed-off-by: albertteoh <[email protected]>

* Revert "Increase test coverage on SpanBarRow.tsx"

This reverts commit 8a9592e.

Signed-off-by: albertteoh <[email protected]>
Signed-off-by: vvvprabhakar <[email protected]>
vvvprabhakar pushed a commit to vvvprabhakar/jaeger-ui that referenced this pull request Jul 5, 2021
* Preparing release v1.13.0

Signed-off-by: albertteoh <[email protected]>

* Increase test coverage on SpanBarRow.tsx

Signed-off-by: albertteoh <[email protected]>

* Revert "Increase test coverage on SpanBarRow.tsx"

This reverts commit 8a9592e.

Signed-off-by: albertteoh <[email protected]>
Signed-off-by: vvvprabhakar <[email protected]>
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