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: Sample View header & pipeline version #160

Merged
merged 5 commits into from
Mar 8, 2024

Conversation

rainandbare
Copy link
Contributor

Pull Request

JIRA Ticket

no ticket

Description

Make default pipeline id into a string so that it can be matched on the front end.

Notes

This bug was keeping the header buttons from showing on Sample Report.

Tests

Load Sample Report with next gen flag off and see no buttons on pipeline tabs.

@rainandbare rainandbare requested review from ninabernick and bchu1 March 8, 2024 19:50
@@ -2971,7 +2971,7 @@ type WorkflowRun implements EntityInterface & Node {
_id: GlobalID!
cachedResults: String
collectionId: Int!
createdAt: DateTime!
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Do you know why my DateTime's are always trying to change? @jfoo1984

Copy link
Collaborator

Choose a reason for hiding this comment

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

I don't have any idea, but I did some searching and found a couple links that could help, though I don't think they're our exact issue. I'm not sure exactly where this type is coming from, but the timestamps in our sample JSONs are ISO8601 dates, so that's probably why it was changing it to that type? I'm not really sure how to fix this from the links below though.

github-community-projects/graphql-client#17
https://the-guild.dev/graphql/scalars/docs/scalars/date-time

Copy link
Collaborator

Choose a reason for hiding this comment

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

is there a problem if you use ISO8601DateTime?

Copy link
Collaborator

Choose a reason for hiding this comment

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

might also be worth checking with The Guild team.

Copy link
Contributor

Choose a reason for hiding this comment

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

Yeah I also noticed the snapshot test seems to be changing the types back and forth nondeterministically? (not completely sure though, didn't dig)

@rainandbare rainandbare merged commit a23593d into main Mar 8, 2024
5 checks passed
@rainandbare rainandbare deleted the fix-header-pipeline-version branch March 8, 2024 20:33
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