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

Improve Sentry support #11776

Merged
merged 16 commits into from
Dec 19, 2024
Merged

Improve Sentry support #11776

merged 16 commits into from
Dec 19, 2024

Conversation

somebody1234
Copy link
Contributor

@somebody1234 somebody1234 commented Dec 5, 2024

Pull Request Description

Important Notes

None

Checklist

Please ensure that the following checklist has been satisfied before submitting the PR:

  • The documentation has been updated, if necessary.
  • Screenshots/screencasts have been attached, if there are any visual changes. For interactive or animated visual changes, a screencast is preferred.
  • All code follows the
    Scala,
    Java,
    TypeScript,
    and
    Rust
    style guides. In case you are using a language not listed above, follow the Rust style guide.
  • Unit tests have been written where possible.
  • If meaningful changes were made to logic or tests affecting Enso Cloud integration in the libraries,
    or the Snowflake database integration, a run of the Extra Tests has been scheduled.
    • If applicable, it is suggested to paste a link to a successful run of the Extra Tests.

@somebody1234 somebody1234 added CI: No changelog needed Do not require a changelog entry for this PR. g-dashboard labels Dec 5, 2024
@somebody1234 somebody1234 changed the title Improve sentry support Improve Sentry support Dec 5, 2024
Copy link

github-actions bot commented Dec 5, 2024

🧪 Storybook is successfully deployed!

📊 Dashboard:

Copy link
Contributor

@MrFlashAccount MrFlashAccount left a comment

Choose a reason for hiding this comment

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

@somebody1234 somebody1234 marked this pull request as draft December 11, 2024 13:11
@somebody1234 somebody1234 marked this pull request as ready for review December 16, 2024 09:43
@somebody1234
Copy link
Contributor Author

@MrFlashAccount ready for re-CR i think

@MrFlashAccount
Copy link
Contributor

@somebody1234 let's merge it and see how it goes

@MrFlashAccount MrFlashAccount added the CI: Ready to merge This PR is eligible for automatic merge label Dec 16, 2024
Copy link
Member

@jdunkerley jdunkerley left a comment

Choose a reason for hiding this comment

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

The token should not be a variable it should be a secret.

ENSO_CLOUD_STRIPE_KEY: ${{ vars.ENSO_CLOUD_STRIPE_KEY }}
ENSO_IDE_AG_GRID_LICENSE_KEY: ${{ vars.ENSO_AG_GRID_LICENSE_KEY }}
ENSO_IDE_MAPBOX_API_TOKEN: ${{ vars.ENSO_MAPBOX_API_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SENTRY_AUTH_TOKEN: ${{ vars.SENTRY_AUTH_TOKEN }}
Copy link
Member

Choose a reason for hiding this comment

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

this should be a secret not a var

* authentication/dashboard UI using React. It also handles routing and other interactions (e.g.,
* for redirecting the user to/from the login page).
*/
export function run(props: DashboardProps) {
const { vibrancy, supportsDeepLinks, queryClient, logger } = props
if (
!detect.IS_DEV_MODE &&
// !detect.IS_DEV_MODE &&
Copy link
Member

Choose a reason for hiding this comment

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

deliberately commented out?

@somebody1234
Copy link
Contributor Author

@jdunkerley should be ready for re-review

Copy link
Member

@jdunkerley jdunkerley left a comment

Choose a reason for hiding this comment

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

Thanks @somebody1234 - let me know what vars/secrets need added to org.

@mergify mergify bot merged commit 20c066a into develop Dec 19, 2024
38 of 42 checks passed
@mergify mergify bot deleted the wip/sb/improve-sentry-support branch December 19, 2024 09:26
somebody1234 added a commit that referenced this pull request Dec 24, 2024
- Close enso-org/cloud-v2#1590
- Add source maps to built bundle for sentry to pick up
- Close enso-org/cloud-v2#1589
- Add global Sentry filter to avoid sending 400 responses from backend
- Wrap settings user and organization profile picture inputs in form
- Upgrade from deprecated sentry APIs

# Important Notes
None
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI: No changelog needed Do not require a changelog entry for this PR. CI: Ready to merge This PR is eligible for automatic merge g-dashboard
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants