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

Fix: issue card count #750

Merged
merged 1 commit into from
Jan 14, 2025
Merged

Fix: issue card count #750

merged 1 commit into from
Jan 14, 2025

Conversation

MarceloRobert
Copy link
Collaborator

@MarceloRobert MarceloRobert commented Jan 10, 2025

  • Fixes a behavior where some build issues were listed in the issues card of the tests tab and vice-versa.
  • Makes testDetails and buildDetails show different entries for issues with different versions. This also fixes some issues that were being counted from the versions but which weren't present in the tests/builds
  • Adds unit tests for the should_filter_test_issue

There were tests which were related to a build that had an issue, and since the test failed, there were the right conditions to think that the issue should be incremented in the test issue list. Failed or inconclusive builds with a test that had an issue were also considering that issue as if they were build issues.

How to test

For the tests tab, go to this localhost example and compare with staging
(in this tree you can also see the fix of when an issue is listed because of its issue_id but without considering the issue_verion in the tests tab, which you can also compare with staging)

For the builds tab, go to this localhost example and compare with staging

Closes #728

@MarceloRobert MarceloRobert self-assigned this Jan 10, 2025
@MarceloRobert MarceloRobert marked this pull request as ready for review January 13, 2025 13:44
Copy link
Collaborator

@Francisco2002 Francisco2002 left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -20,6 +20,9 @@ class Issue(TypedDict):
incidents_info: IncidentInfo


IssueDict = Dict[Tuple[str, str], Issue]
Copy link
Collaborator

Choose a reason for hiding this comment

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

lets use the typemodels folder for shared types

@MarceloRobert MarceloRobert force-pushed the fix/issues-card-count branch 3 times, most recently from 2ef3b91 to 6b809d4 Compare January 14, 2025 19:42
Copy link
Collaborator

@WilsonNet WilsonNet left a comment

Choose a reason for hiding this comment

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

worked nice here

@MarceloRobert MarceloRobert merged commit 8ac8dc4 into main Jan 14, 2025
5 checks passed
Francisco2002 pushed a commit that referenced this pull request Jan 15, 2025
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.

Issue listing card is not correct
3 participants