You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently our CIStatus component defaults to showing a "Processing" state in the even if there is no CI being used. This is an issue because it seems like something is still happening in the background when there really isn't. Here's an example of the commit page when using bundle analysis locally:
We currently send the service name alongside some other information to the API (at least in the bundle analysis plugins). If this service name is Local we can safely assume that the user probably isn't user CI for this upload, and therefore we should remove this indicator altogether. We should update the current CI status field in the API to not just be a boolean value because that does not represent the possible states. We should instead move to a GraphQL Enum that represents the different possible states, that way we can handle the case where the user has uploaded something locally where there is no CI state that will ever be set, and we can just hide this element in the UI.
My understanding is that we do not currently record the CI Status, we only track internal processing status, so we will need to work with the platform team on that. Also adding in these selects for the updated CI status, and bundles will need API work as well.
if that works for our initial iteration, I suggest we bring this back to in discoveryand breakdown the pieces a bit (column, bundle, CI status checking etc).
the initial step could be updating the copy ("upload status" vs "CI status"). This one issue has been slipping; so could something like this be our intro here?
Based on the definition of each state below:
Complete: Upload completed
Pending: we have received the report, but haven’t started processing it.
Error: Error would be something wrong with the report, it’s empty, it’s got an unsupported format
Skipped: the CI skipped running for that commit. No tests run, no reports where uploaded (probably)
We can update the copy to "Coverage upload status", and show "complete", "pending", "error", remove the "skipped" bc it doesn't belong to the upload status.
and then drop the CI status filter bc it's misleading, we don't record the CI status.
@Adal3n3 so 121 confirms the dropdown copy changes and this one will do the status seen on individual commits / pr + PR > pulls? The other exploration I was mentioning was the question about CI checks etc - maybe that is a separate issue? Any way sounds good just wanting to capture the dev ready changes for handoff vs later exploration items.
@katia-sentry@codecovdesign Sorry all for the confusion. To clarify, the difference between this issue and issue 121 is the location of the copy change/fix.
This issue is for updating the copy and status icon from "processing" to "no status" or like @nicholas-codecov suggested above on the description, hiding the UI element when where there is no CI state.
I bring this issue back in-discovery, and will tag you all to review the change on slack.
I think we should create separate issues for CI status checking, bundle upload status, etc as they require some API works.
Activity
codecovdesign commentedon Mar 13, 2024
related: https://github.com/codecov/internal-issues/issues/121
Adal3n3 commentedon Mar 21, 2024
Adding figma file here for review. The review 🧵is on slack.
Adal3n3 commentedon Mar 22, 2024
@nicholas-codecov @katia-sentry
Design updated 3/22: (Figma file is same as above)
✅ aria-label="complete"
⏳ aria-label="pending"
❌ aria-label="error"
nicholas-codecov commentedon Mar 22, 2024
My understanding is that we do not currently record the CI Status, we only track internal processing status, so we will need to work with the platform team on that. Also adding in these selects for the updated CI status, and bundles will need API work as well.
Adal3n3 commentedon Mar 22, 2024
Thanks @nicholas-codecov for the note. Sounds like only the "Coverage upload status" filter can move forward the rest need to wait.
@giovanni-guidini how can we record the CI status?
nicholas-codecov commentedon Mar 27, 2024
Just wondering what the actual expectation is for this ticket atm, are we adding in another column to the pulls and commits table?
If there hasn't been a coverage upload, we already have messaging to indicate that in the coverage, patch, and change columns
codecovdesign commentedon Mar 27, 2024
in discoveryand breakdown the pieces a bit (column, bundle, CI status checking etc).@katia-sentry @nicholas-codecov @Adal3n3 wdyt? 🤔
2 remaining items
nicholas-codecov commentedon Mar 27, 2024
I believe that's it yes
Adal3n3 commentedon Mar 27, 2024
@codecovdesign @nicholas-codecov
Based on the definition of each state below:
We can update the copy to "Coverage upload status", and show "complete", "pending", "error", remove the "skipped" bc it doesn't belong to the upload status.
and then drop the CI status filter bc it's misleading, we don't record the CI status.
codecovdesign commentedon Mar 27, 2024
@Adal3n3 makes sense - looks good!
What issue should be used for the above iteration? We could use https://github.com/codecov/internal-issues/issues/121 (or close), based on this update or create sub-issue here to resolve; just looks like there are other areas still under exploration.
Adal3n3 commentedon Mar 27, 2024
@codecovdesign Thanks for calling this out. I should have used https://github.com/codecov/internal-issues/issues/121 for the "Coverage upload status" filter and use this issue for updating the copy and status icon from "processing" to "no status"(on below screenshot)
codecovdesign commentedon Mar 28, 2024
@Adal3n3 so 121 confirms the dropdown copy changes and this one will do the status seen on individual commits / pr + PR > pulls? The other exploration I was mentioning was the question about CI checks etc - maybe that is a separate issue? Any way sounds good just wanting to capture the
dev readychanges for handoff vs later exploration items.katia-sentry commentedon Mar 28, 2024
@codecovdesign @Adal3n3 @nicholas-codecov Prioritized https://github.com/codecov/internal-issues/issues/121 for upcoming sprint. We can bring this issue back to
in-discovery.katia-sentry commentedon Mar 28, 2024
@codecovdesign @Adal3n3 how is this issue different from 121? cc. @nicholas-codecov
Adal3n3 commentedon Mar 28, 2024
@katia-sentry @codecovdesign Sorry all for the confusion. To clarify, the difference between this issue and issue 121 is the location of the copy change/fix.
This issue is for updating the copy and status icon from "processing" to "no status" or like @nicholas-codecov suggested above on the description, hiding the UI element when where there is no CI state.
I bring this issue back in-discovery, and will tag you all to review the change on slack.
I think we should create separate issues for CI status checking, bundle upload status, etc as they require some API works.
Adal3n3 commentedon Apr 9, 2024
No action item. Just want to add another example to this issue.
As long as we remove/hide the "processing" status, or change it to "No status" we will prevent further confusion.
https://sentry.zendesk.com/agent/tickets/117502

nicholas-codecov commentedon Apr 9, 2024
Ignore my previous comment, I'm just now seeing your ticket for the API changes.