Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: fill out zero-value user properties in /audit#13604

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
code-asher merged 1 commit intomainfromasher/missing-user-timestamp
Jun 20, 2024

Conversation

code-asher
Copy link
Member

@code-ashercode-asher commentedJun 19, 2024
edited
Loading

All except the organization IDs; those continue to be omitted. We can add the organization IDs as well if needed, but the complaint was specifically aboutlast_seen_at. Not sure how valuable it is to have the organization IDs.

Originally I triedsqlc.embed but if the left join ends up with a null then we get an error (not sure if this happens in practice as it looks like users are soft deleted; I manually deleted a user to test the behavior). Maybe there is a clever way to get it working though? At least the test should catch if we make future additions in one spot but not the other.

@code-ashercode-asher changed the titlefix: fill out missing user properties to /auditfix: fill out missing user properties in /auditJun 19, 2024
@code-ashercode-asherforce-pushed theasher/missing-user-timestamp branch 2 times, most recently frombf85f1d to5055300CompareJune 19, 2024 01:38
@code-ashercode-asher changed the titlefix: fill out missing user properties in /auditfix: fill out zero-value user properties in /auditJun 19, 2024
@code-ashercode-asherforce-pushed theasher/missing-user-timestamp branch from5055300 tocb386a0CompareJune 19, 2024 01:49
@code-ashercode-asher marked this pull request as ready for reviewJune 19, 2024 02:13
@code-ashercode-asher requested a review fromEmyrkJune 19, 2024 02:13
Comment on lines +6 to +7
-- sqlc.embed(users) would be nice but it does not seem to play well with
-- left joins.
Copy link
Member

Choose a reason for hiding this comment

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

All except the organization IDs.  We can add this as well if needed, butthe complaint was specifically about last_seen_at.
@code-ashercode-asherforce-pushed theasher/missing-user-timestamp branch fromcb386a0 to1eb189aCompareJune 20, 2024 20:16
@code-ashercode-asher merged commit43e45f4 intomainJun 20, 2024
26 of 27 checks passed
@code-ashercode-asher deleted the asher/missing-user-timestamp branchJune 20, 2024 20:40
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsJun 20, 2024
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@EmyrkEmyrkEmyrk approved these changes

Assignees

@code-ashercode-asher

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@code-asher@Emyrk

[8]ページ先頭

©2009-2025 Movatter.jp