Emmanuel Ferdman
84094424e8
Resolve datetime deprecation warnings ( #3686 )
...
# PR Summary
This small PR fixes the `datetime` deprecation warnings which you can find in the CI logs:
```python
/home/runner/work/_actions/getsentry/self-hosted/master/_integration-test/test_01_basics.py:303: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
```
2025-05-02 12:19:34 +01:00
anthony sottile
241b58dd22
ref: remove SENTRY_USE_BIG_INTS (always True) ( #3687 )
2025-05-01 10:18:23 -07:00
getsentry-bot
92b419b551
build: Set master version to nightly
...
#skip-changelog
2025-04-15 22:13:08 +00:00
getsentry-bot
a056cf6eda
Merge branch 'release/25.4.0'
2025-04-15 22:13:06 +00:00
getsentry-bot
36d8b2c6b2
release: 25.4.0
25.4.0
2025-04-15 18:06:13 +00:00
Reinaldy Rafli
054b9155f0
chore(relay): specify spool.enveloppe.max_backpressure_memory_percent configuration for handling relay's failing healthcheck ( #3635 )
...
* chore(relay): specify spool.enveloppe.max_backpressure_memory_percent configuration for handling relay's failing healthcheck
Although a fix is being rolled out, that does not mean every relay instance would suddenly be fixed. We would need to still provide a workaround for people to try out. Refer to this specific issue comment: https://github.com/getsentry/self-hosted/issues/3330#issuecomment-2751092219
* Update config.example.yml
Co-authored-by: Riccardo Busetti <riccardob36@gmail.com>
* chore: default path for relay spool envelopes
---------
Co-authored-by: Riccardo Busetti <riccardob36@gmail.com>
2025-04-12 18:42:08 +03:00
dependabot[bot]
a956339180
build(deps): bump actions/create-github-app-token from 1.12.0 to 2.0.2 ( #3649 )
...
Bumps [actions/create-github-app-token](https://github.com/actions/create-github-app-token ) from 1.12.0 to 2.0.2.
- [Release notes](https://github.com/actions/create-github-app-token/releases )
- [Commits](d72941d797...3ff1caaa28 )
---
updated-dependencies:
- dependency-name: actions/create-github-app-token
dependency-version: 2.0.2
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-12 18:32:35 +03:00
Amin Vakil
6b4487f032
Use dc variable in clickhouse step ( #3658 )
2025-04-12 18:30:25 +03:00
Amin Vakil
53412bbefb
Fix STANDALONE_COMPOSE_VERSION variable setting ( #3654 )
2025-04-12 18:29:38 +03:00
dependabot[bot]
b2819cdac1
build(deps): bump actions/create-github-app-token from 1.11.7 to 1.12.0 ( #3639 )
...
Bumps [actions/create-github-app-token](https://github.com/actions/create-github-app-token ) from 1.11.7 to 1.12.0.
- [Release notes](https://github.com/actions/create-github-app-token/releases )
- [Commits](af35edadc0...d72941d797 )
---
updated-dependencies:
- dependency-name: actions/create-github-app-token
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-01 09:09:52 +03:00
Kliachin Aleksei
ae05091f9f
Minimum requirements for 'errors-only' profile ( #3634 )
...
Using the [errors-only](https://develop.sentry.dev/self-hosted/experimental/errors-only/ ) profile, fewer resources are required. About 2 times.
2025-03-27 09:14:02 +00:00
dependabot[bot]
c32836714d
build(deps): bump actions/create-github-app-token from 1.11.6 to 1.11.7 ( #3632 )
...
Bumps [actions/create-github-app-token](https://github.com/actions/create-github-app-token ) from 1.11.6 to 1.11.7.
- [Release notes](https://github.com/actions/create-github-app-token/releases )
- [Commits](21cfef2b49...af35edadc0 )
---
updated-dependencies:
- dependency-name: actions/create-github-app-token
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-24 14:14:17 +00:00
Reinaldy Rafli
0970b144f5
feat(sentry): add dynamic sampling feature to config ( #3631 )
2025-03-24 14:09:06 +00:00
Junsung Cho
1c3047fa8f
docs(config): add example config for Google Auth ( #3623 )
2025-03-18 12:35:07 +00:00
Reinaldy Rafli
d350bd4b7d
fix: js-sdk directory/file permission should be set correctly ( #3616 )
2025-03-18 12:26:48 +00:00
getsentry-bot
b0c3090b17
build: Set master version to nightly
...
#skip-changelog
2025-03-17 17:39:00 +00:00
getsentry-bot
6b02245c97
Merge branch 'release/25.3.0'
2025-03-17 17:38:57 +00:00
Reinaldy Rafli
d63138d8b7
feat(features): enable session replay canvas ( #3619 )
2025-03-17 14:33:46 +00:00
getsentry-bot
09532da147
release: 25.3.0
25.3.0
2025-03-15 18:05:53 +00:00
Reinaldy Rafli
30f8d0125f
feat(features): enable trace view ( #3617 )
2025-03-14 13:46:30 +00:00
Reinaldy Rafli
9486a832eb
feat: provide monitoring-related configurations ( #3611 )
...
In accordance with https://github.com/getsentry/sentry-docs/pull/12660
2025-03-10 20:44:40 +00:00
Amin Vakil
4fff2e39df
Enforce license compliance only on getsentry repository ( #3606 )
...
It fails every time and it isn't needed.
https://github.com/aminvakil/self-hosted/actions/runs/13685684000
### Legal Boilerplate
Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. and is gonna need some rights from me in order to utilize my contributions in this here PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.
2025-03-06 10:54:25 +00:00
Brett Higgins
979f219355
Fix unbound variable error in install script ( #3601 )
2025-03-06 10:46:16 +00:00
Amin Vakil
d08a6d9b66
Add --short to docker-compose version ( #3605 )
2025-03-06 10:45:47 +00:00
Burak Yigit Kaya
e86d185145
ref: Less complicated docker compose detection ( #3604 )
...
With #3595 , we now check both `docker-compose` and `docker compose` versions so this patch removes the implicit fallback to `docker-compose` for `$dc_base` and makes it explicit.
2025-03-05 12:25:50 -08:00
Amin Vakil
d885dd331f
Use docker-compose if version is gte docker compose ( #3595 )
...
Fixes #3587
This PR tries to use docker-compose if its version is greater than docker compose.
2025-03-03 13:16:31 +00:00
dependabot[bot]
9b6c1cf658
build(deps): bump actions/create-github-app-token from 1.11.3 to 1.11.6 ( #3598 )
...
Bumps [actions/create-github-app-token](https://github.com/actions/create-github-app-token ) from 1.11.3 to 1.11.6.
- [Release notes](https://github.com/actions/create-github-app-token/releases )
- [Commits](67e27a7eb7...21cfef2b49 )
---
updated-dependencies:
- dependency-name: actions/create-github-app-token
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-03 12:36:24 +00:00
dependabot[bot]
ab0df5a91e
build(deps): bump getsentry/action-release from 1 to 3 ( #3599 )
...
Bumps [getsentry/action-release](https://github.com/getsentry/action-release ) from 1 to 3.
- [Release notes](https://github.com/getsentry/action-release/releases )
- [Changelog](https://github.com/getsentry/action-release/blob/master/CHANGELOG.md )
- [Commits](https://github.com/getsentry/action-release/compare/v1...v3 )
---
updated-dependencies:
- dependency-name: getsentry/action-release
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-03 12:28:56 +01:00
Amin Vakil
e883f21b33
Bump docker-compose 2.33.1 ( #3597 )
...
Merging to get things green
2025-03-02 21:04:37 +00:00
leeoocca
3e1ebfb4fc
refactor: move system.url-prefix under systems settings section ( #3588 )
2025-02-28 11:32:25 +00:00
getsentry-bot
2f2631840a
build: Set master version to nightly
...
#skip-changelog
2025-02-18 19:52:58 +00:00
getsentry-bot
6c85e9e7c9
Merge branch 'release/25.2.0'
2025-02-18 19:52:56 +00:00
getsentry-bot
bc716095e4
release: 25.2.0
25.2.0
2025-02-15 18:05:45 +00:00
dependabot[bot]
3de8662160
build(deps): bump actions/create-github-app-token from 1.11.2 to 1.11.3 ( #3569 )
...
Bumps [actions/create-github-app-token](https://github.com/actions/create-github-app-token ) from 1.11.2 to 1.11.3.
- [Release notes](https://github.com/actions/create-github-app-token/releases )
- [Commits](136412a57a...67e27a7eb7 )
---
updated-dependencies:
- dependency-name: actions/create-github-app-token
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-10 11:09:45 -08:00
Reinaldy Rafli
ee3cbf0f91
feat: merge .env and .env.custom file during installation ( #3564 )
...
Closes https://github.com/getsentry/self-hosted/issues/3558
2025-02-04 12:41:12 +00:00
dependabot[bot]
cfb0491f63
build(deps): bump actions/create-github-app-token from 1.11.1 to 1.11.2 ( #3561 )
...
Bumps [actions/create-github-app-token](https://github.com/actions/create-github-app-token ) from 1.11.1 to 1.11.2.
- [Release notes](https://github.com/actions/create-github-app-token/releases )
- [Commits](c1a285145b...136412a57a )
---
updated-dependencies:
- dependency-name: actions/create-github-app-token
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-03 22:11:27 +00:00
Burak Yigit Kaya
9eea781e1c
feat: Require both inputs to be set on action ( #3554 )
...
Came as a feature request from @untitaker and I think it makes a lot of sense
---------
Co-authored-by: Hubert Deng <hubert.deng@sentry.io>
2025-01-25 16:53:50 +00:00
Burak Yigit Kaya
95761f7d62
ref: Simpler and more accurate cache keys ( #3553 )
2025-01-24 14:14:51 -08:00
Chad Whitacre
d637ed19fe
Hand off open-source to dev-infra ( #3549 )
2025-01-22 15:15:53 -05:00
Burak Yigit Kaya
e1870f8ecb
ci: Remove obsolete dcr up -w from import test ( #3544 )
...
I _think_ we can get away with this but let's see what the CI thinks. If it passes, it should save us another minuter or two.
2025-01-17 12:29:23 -08:00
Burak Yigit Kaya
3984a87611
fix: github.action_path may not have trailing slash ( #3547 )
2025-01-17 17:40:40 +00:00
Hubert Deng
9ceb00f739
chore: Remove upgrade test ( #3541 )
...
As discussed, removing the upgrade test since it doesn't provide that much utility as we are already testing upgrades from restoring docker volumes from cache
2025-01-17 11:51:31 +00:00
Hubert Deng
0ce2cd7e32
fix: Use correct path for get compose action ( #3539 )
2025-01-17 07:31:22 +00:00
Hubert Deng
7a897618df
fix: Caching of sentry migrations should cover additional folders ( #3542 )
...
We need to care about more than just src/sentry/migrations. We will need to account for files in src/sentry/**/migrations/*
Taken from afd7469818/.github/file-filters.yml (L90)
2025-01-17 07:16:18 +00:00
Burak Yigit Kaya
52a1901f75
ci: Move self-contained action reference to master branch ( #3538 )
...
Required follow up to #3535
2025-01-16 21:58:18 +00:00
Burak Yigit Kaya
559e732468
breaking: Upgrade min Compose version to 2.23.2 ( #3535 )
...
In this version, there's a new `--pull` argument for `docker compose run` which we will start leveraging, especially with `sentry-admin` command.
Should come with a slight speed boost.
2025-01-16 21:45:07 +00:00
Burak Yigit Kaya
3913a9f0c7
ci: Even better cache keys and granular caching ( #3534 )
...
Just starting up services for Snuba or Sentry migrations takes up to a minute sometimes and we do this even when there are no migrations, just because one of the Sentry or Snuba migrations change. This patch splits the caches up so only the necessary one runs, saving further time. It also uses the `LATEST_TAG` as the cache key for upgrade tests as the image versions or data will never change for a certain tag once it is release.
2025-01-16 10:10:14 -08:00
Burak Yigit Kaya
63b6c0afa7
test: Reorganize backup/restore tests for speed and reliability ( #3537 )
...
We should do the backup/restore tests _after_ we do the basic tests. This is both more efficient as we avoid an extra up/down cycle and more meaningful as we will back up and restore an actually used system.
A bit hard to measure directly as this also moves the initial `docker compose up -w` into the test suite but a random run without this patch took about 10m 49s to finish for the testing part whereas with the patch it came down to 9m 10s so **almost 2 minutes faster**!
2025-01-16 09:59:38 -08:00
getsentry-bot
c075cf570a
build: Set master version to nightly
...
#skip-changelog
2025-01-15 18:25:34 +00:00
getsentry-bot
43c5f10e12
Merge branch 'release/25.1.0'
2025-01-15 18:25:32 +00:00