Skip to content

redesign repos#7

Merged
andreasjansson merged 1 commit intomainfrom
andreas/redesign-repos
Mar 25, 2021
Merged

redesign repos#7
andreasjansson merged 1 commit intomainfrom
andreas/redesign-repos

Conversation

@andreasjansson
Copy link
Copy Markdown
Member

In the project directory:

cog repo set localhost:8080/andreas/my-model
cog build
cog show <package-id>

Anywhere else:

cog -r localhost:8080/andreas/my-model show <package-id>
cog -r localhost:8080/andreas/my-model download <package-id>.zip

@andreasjansson andreasjansson requested a review from bfirsh March 24, 2021 23:31
@andreasjansson andreasjansson merged commit 1f4bdb9 into main Mar 25, 2021
@andreasjansson andreasjansson deleted the andreas/redesign-repos branch March 25, 2021 00:23
markphelps added a commit that referenced this pull request Mar 26, 2026
…add comment for health-only path

- Fix double is_enabled() check in init_sentry() (reviewer issue #3)
- Use ring crypto provider instead of aws-lc-rs to avoid cmake build
  dependency. Add rustls with ring feature explicitly, use reqwest's
  rustls-no-provider feature, and export install_crypto_provider()
  from coglet core (reviewer issue #7)
- Remove sentry's rustls feature (reqwest already configures TLS)
- Add install_crypto_provider() call to serve_impl() and webhook tests
- Add comment explaining intentional omission of configure_sentry_scope
  in health-only path (reviewer issue #6)
- Note: reqwest 0.13 with rustls-platform-verifier uses platform-native
  certificate verification, equivalent to the old rustls-tls-native-roots
  behavior (reviewer issue #4 — confirmed not a regression)
github-merge-queue bot pushed a commit that referenced this pull request Apr 1, 2026
…2865)

* feat(coglet): add Sentry error reporting for infrastructure errors

Report infrastructure-level errors to Sentry when SENTRY_DSN is set.
Uses the sentry tracing layer to automatically capture ERROR-level
tracing events (setup failures, worker crashes, IPC errors) as Sentry
issues and WARN-level events as breadcrumbs. Zero overhead when no DSN
is configured.

Also upgrades reqwest from 0.12 to 0.13 to share the same version
with the sentry SDK and avoid duplicate dependencies.

* remove is_train from Sentry scope enrichment

* address review feedback: fix double check, use ring crypto provider, add comment for health-only path

- Fix double is_enabled() check in init_sentry() (reviewer issue #3)
- Use ring crypto provider instead of aws-lc-rs to avoid cmake build
  dependency. Add rustls with ring feature explicitly, use reqwest's
  rustls-no-provider feature, and export install_crypto_provider()
  from coglet core (reviewer issue #7)
- Remove sentry's rustls feature (reqwest already configures TLS)
- Add install_crypto_provider() call to serve_impl() and webhook tests
- Add comment explaining intentional omission of configure_sentry_scope
  in health-only path (reviewer issue #6)
- Note: reqwest 0.13 with rustls-platform-verifier uses platform-native
  certificate verification, equivalent to the old rustls-tls-native-roots
  behavior (reviewer issue #4 — confirmed not a regression)

---------

Co-authored-by: Michael Dwan <code@michaeldwan.com>
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.

1 participant