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

[FIL-544] Fetch issue reporter handle #250

Merged
merged 1 commit into from
Jan 28, 2025

Conversation

Filip-L
Copy link
Collaborator

@Filip-L Filip-L commented Jan 27, 2025

No description provided.

@Filip-L Filip-L temporarily deployed to production-fidl January 27, 2025 12:59 — with GitHub Actions Inactive
@Filip-L Filip-L changed the title Fetch issue reporter handle [FIL-544] Fetch issue reporter handle Jan 27, 2025
Copy link
Collaborator

@kacperzuk-neti kacperzuk-neti left a comment

Choose a reason for hiding this comment

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

Make sure cache syncing is tested as well.

rename = "Issue Reporter Handle",
skip_serializing_if = "Option::is_none"
)]
pub issue_reporter_handle: Option<String>,
Copy link
Collaborator

Choose a reason for hiding this comment

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

Decide if we put this field as a separate column or in the app file. We can't have it in both places, as it risks desyncs.

Comment on lines 1274 to 1277
if let Some(issue_reporter_handle) = app_file.issue_reporter_handle {
Some(issue_reporter_handle)
} else {
get_issue_reporter_handle(&app_file.id).await.map_err(|e| {
Copy link
Collaborator

Choose a reason for hiding this comment

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

This should never be needed. If we have different values in app file and in the dedicated column, things are very broken already.

@Filip-L Filip-L temporarily deployed to production-fidl January 28, 2025 12:13 — with GitHub Actions Inactive
Copy link
Collaborator

@kacperzuk-neti kacperzuk-neti left a comment

Choose a reason for hiding this comment

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

Make apis consistent

@Filip-L Filip-L force-pushed the FIL-544-fetch-issue-reporter-handle branch from c02f0a5 to a7064d1 Compare January 28, 2025 12:57
@Filip-L Filip-L temporarily deployed to production-fidl January 28, 2025 12:58 — with GitHub Actions Inactive
@Filip-L Filip-L merged commit 8d37891 into main Jan 28, 2025
4 checks passed
@Filip-L Filip-L deleted the FIL-544-fetch-issue-reporter-handle branch January 28, 2025 13:00
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.

2 participants