feat: apitoken last characters option #80518
Annotations
2 errors
Run test:
tests/sentry/backup/__init__.py#L91
ReleaseTests.test_at_head
Failed: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Snapshot /home/runner/work/sentry/sentry/tests/sentry/backup/snapshots/ReleaseTests/test_at_head.pysnap changed!
Re-run pytest with SENTRY_SNAPSHOTS_WRITEBACK=new and then use 'make review-python-snapshots' to review.
Or: Use SENTRY_SNAPSHOTS_WRITEBACK=1 to update snapshots directly.
The following inconsistences were found:
ComparatorFinding(
kind: UnequalJSON,
on: InstanceID(model: 'sentry.customdynamicsamplingrule', ordinal: 1),
left_pk: 4,
right_pk: 1,
reason:
---
+++
@@ -1,13 +1,14 @@
{
"condition": "{\"op\":\"equals\",\"name\":\"environment\",\"value\":\"prod\"}",
"condition_hash": "90dcce273a6f3e0a9568531c92d7f4193e8934a9",
"date_added": "2023-11-15T22:32:20.658Z",
"end_date": "2023-11-15T23:32:20.656Z",
"is_active": true,
"is_org_level": false,
+ "notification_sent": null,
"num_samples": 100,
"query": "environment:prod event.type:transaction",
"rule_id": 1,
"sample_rate": 0.5,
"start_date": "2023-11-15T22:32:20.656Z"
}
)
ComparatorFinding(
kind: UnequalJSON,
on: InstanceID(model: 'sentry.sentryapp', ordinal: 1),
left_pk: 6,
right_pk: 1,
reason:
---
+++
@@ -1,19 +1,20 @@
{
"author": "A Company",
"events": "[]",
"is_alertable": false,
+ "metadata": {},
"name": "test app",
"overview": null,
"popularity": 1,
"redirect_url": null,
"schema": {
"elements": [
{
"settings": {
"optional_fields": [
{
"label": "Points",
"name": "points",
"options": [
[
"1",
)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
Run test
Process completed with exit code 2.
|
The logs for this run have expired and are no longer available.
Loading