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 app crash events for apps using rolling deployments #3790

Merged
merged 1 commit into from May 15, 2024

Conversation

tcdowney
Copy link
Member

@tcdowney tcdowney commented May 9, 2024

This change updates the endpoint to make app crash events for the app guid instead of the process guid which should resolve the rolling deployment issue and support crash events for non-web process types.

The internal app crash event endpoint assumed that the web process guid == app guid (legacy behavior from the v2->v3 data model migrations). Rolling deployments create new web processes that have different guids which made it so this endpoint no longer created events associated with the parent app.

Issue: #2587

  • I have reviewed the contributing guide

  • I have viewed, signed, and submitted the Contributor License Agreement

  • I have made this pull request to the main branch

  • I have run all the unit tests using bundle exec rake

  • I have run CF Acceptance Tests

- The internal app crash event endpoint assumed that the web process
  guid == app guid (legacy behavior from the v2->v3 data model migrations)
- Rolling deployments create new web processes that have different guids
  which made it so this endpoint no longer created events associated with
  the parent app
- This change updates the endpoint to make app crash events for the app
  guid instead of the process guid which should resolve the rolling
  deployment issue and support crash events for non-web process types

Fixes #2587
@tcdowney tcdowney force-pushed the fix-crash-events-for-apps-rolling-deployment-2587 branch from daed7a8 to a90ad04 Compare May 14, 2024 14:44
@tcdowney tcdowney requested a review from philippthun May 14, 2024 14:57
@philippthun philippthun merged commit 55c893f into main May 15, 2024
8 checks passed
@tcdowney tcdowney deleted the fix-crash-events-for-apps-rolling-deployment-2587 branch May 15, 2024 15:01
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