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

Generate UUIDs for the app and build #621

Merged
merged 1 commit into from Feb 14, 2019
Merged

Conversation

jmorrell
Copy link
Contributor

I forgot to update the target branch to master in #619 before merging 🤦‍♂️ This is the same change, but actually going to the right place this time.

This generates random uuids for both each build run, and the app itself. It then propagates the app uuid through each subsequent build by serializing it into the cache.

This isn't completely ideal because PR apps will each get their own app uuid, but it should still allow us to do better analysis on our log data than we currently can.

Questions like "How many apps failed yesterday?" vs "How many builds failed yesterday"?

The build uuid helps make sure that we aren't ever double counting events somehow.

Copy link

@CaseyFaist CaseyFaist left a comment

Choose a reason for hiding this comment

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

Looks just as good the second time 👍 💯 💖

@jmorrell jmorrell merged commit b7028b3 into master Feb 14, 2019
@jmorrell jmorrell deleted the re-do-add-build-and-app-uuids branch February 14, 2019 21:10
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.

None yet

2 participants