Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@vmcj
Copy link
Collaborator

@vmcj vmcj commented May 18, 2025

I think this one should be merged before: #1112 as it already implements some of the improvements for that one.

I choose to also raise errors when another system has issues, mostly because those events are important in a contest but might go unnoticed. If this is accepted I can squash the commits but I didn't want to lose progress if changes are requested.

@vmcj
Copy link
Collaborator Author

vmcj commented May 18, 2025

Linked to: #1076

<httpSession invalidationTimeout="8h" idReuse="true"/>

<keyStore id="defaultKeyStore" password="{xor}FhwPHAswMDMs" />
<!--<ssl id="defaultSSLConfig" keyStoreRef="defaultKeyStore" trustDefaultCerts="true" />-->
Copy link
Collaborator

Choose a reason for hiding this comment

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

What does this do and why can't we enable it by default?

Copy link
Collaborator Author

@vmcj vmcj May 19, 2025

Choose a reason for hiding this comment

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

It makes that the JVM/CDS server trusts the certificate of sentry.io. Normally we don't have any certificates in the store so there was an SSL error. If people don't use sentry I didn't see a reason to insert that many certificates at once.

Thinking a bit further about it, I think it's fine to default change this (as the machine already trusts those certs) but wanted to limit the amount of new features as much as possible.

For every Trace.ERROR we now optionally also ship to Sentry. There are other calls which are informative from the CDS perspective which are logged to Sentry as they are important in the contest perspective.
@vmcj vmcj enabled auto-merge (rebase) May 24, 2025 13:28
@vmcj vmcj merged commit 33061e1 into icpctools:main May 24, 2025
4 checks passed
@vmcj vmcj deleted the sentry_cds branch May 24, 2025 13:28
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