Skip to content

Commit

Permalink
Merge branch 'feat/envelopes' into feature/envelopes
Browse files Browse the repository at this point in the history
* feat/envelopes: (110 commits)
  ref: Revert changes to HttpServer startup (#313)
  meta: Changelog for 0.4.61
  feat(general): Add thread.errored attribute (#306)
  fix(config): Add a default for the attachment chunk size
  feat(server): Add back missing release and env for security reports
  feat: Re-introduce security report normalization
  feat(server): Implement sending of attachments to Kafka
  release: 0.4.60
  doc: Changelog for 0.4.60
  ref(server): Use envelopes to encapsulate EventMeta
  fix: Start clientconnector earlier
  fix: Spawn http server on separate thread (#312)
  ref(server): Unify incoming and outgoing envelopes
  fix(clippy): Implement Default for EventId
  fix(server): Add serialization for incoming envelopes
  ref(server): Move python shim logic to store endpoint
  feat(general): Create a constructor for EventId
  wip: Restructure EventProcessor to work on envelopes
  feat: More concurrency options (#311)
  fix: Formatting
  ...
  • Loading branch information
jan-auer committed Nov 13, 2019
2 parents ba3cfac + 0371463 commit 0190153
Show file tree
Hide file tree
Showing 192 changed files with 15,962 additions and 2,216 deletions.
1 change: 1 addition & 0 deletions .craft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ changelogPolicy: simple
targets:
- name: pypi
- name: github
- name: gh-pages
- name: registry
type: app
urlTemplate: "https://downloads.sentry-cdn.com/semaphore/{{version}}/{{file}}"
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ Cargo.lock
GeoLite2-City.mmdb
GeoLiteCity.dat
target
/.venv/
.venv/
/.idea/
/site
21 changes: 17 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,7 @@ python: "3.6"

cache:
directories:
- cabi/target
- py/venv
- $HOME/.cargo
- $TRAVIS_BUILD_DIR/target
timeout: 1200

git:
depth: 1
Expand Down Expand Up @@ -56,9 +52,11 @@ matrix:
script: make -e test-rust-all

- name: "test: semaphore[macos]"
if: branch ~= /^release\/[\d.]+$/
os: osx
language: generic
install:
- brew update-reset
- brew install redis
- brew services start redis
script: make -e test-rust-all
Expand All @@ -71,6 +69,11 @@ matrix:
os: linux
script: make -e test-python

- name: "test: libsemaphore[py2]"
python: "2.7"
os: linux
script: make -e SEMAPHORE_PYTHON_VERSION=python2 test-python

# -------------------------------------
# EXECUTALE INTEGRATION TESTS
# -------------------------------------
Expand Down Expand Up @@ -100,6 +103,7 @@ matrix:
# -------------------------------------

- name: "release: semaphore[linux]"
if: branch ~= /^release\/[\d.]+$/
os: linux
language: generic
before_install: skip
Expand All @@ -126,6 +130,7 @@ matrix:
# target/i686-unknown-linux-gnu/release/semaphore

- name: "release: semaphore[macos]"
if: branch ~= /^release\/[\d.]+$/
os: osx
language: generic
script:
Expand All @@ -140,6 +145,7 @@ matrix:
# -------------------------------------

- name: "release: libsemaphore[linux-x86]"
if: branch ~= /^release\/[\d.]+$/
os: linux
sudo: required
env: BUILD_ARCH=i686
Expand All @@ -150,6 +156,7 @@ matrix:
- zeus upload -t "application/zip+wheel" py/dist/* || [[ ! "$TRAVIS_BRANCH" =~ ^release/ ]]

- name: "release: libsemaphore[linux-x86_64]"
if: branch ~= /^release\/[\d.]+$/
sudo: required
env: BUILD_ARCH=x86_64
language: generic
Expand All @@ -159,6 +166,7 @@ matrix:
- zeus upload -t "application/zip+wheel" py/dist/* || [[ ! "$TRAVIS_BRANCH" =~ ^release/ ]]

- name: "release: libsemaphore[macos]"
if: branch ~= /^release\/[\d.]+$/
os: osx
language: generic
osx_image: xcode7.3
Expand All @@ -169,6 +177,7 @@ matrix:
- zeus upload -t "application/zip+wheel" py/dist/* || [[ ! "$TRAVIS_BRANCH" =~ ^release/ ]]

- name: "release: libsemaphore[sdist]"
if: branch ~= /^release\/[\d.]+$/
os: linux
sudo: required
language: generic
Expand All @@ -177,6 +186,10 @@ matrix:
- npm install -g @zeus-ci/cli || [[ ! "$TRAVIS_BRANCH" =~ ^release/ ]]
- zeus upload -t "application/zip+wheel" py/dist/* || [[ ! "$TRAVIS_BRANCH" =~ ^release/ ]]

- name: "docs"
before_script: npm install -g @zeus-ci/cli
script: make -e travis-upload-prose-docs

notifications:
webhooks:
urls:
Expand Down
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,6 @@
"[markdown]": {
"editor.rulers": [80],
"editor.tabSize": 2
}
},
"rust.all_features": true
}
116 changes: 116 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,121 @@
# Changelog

## 0.4.61

* Add `thread.errored` attribute (#306).

## 0.4.60

* License is now BSL instead of MIT (#301).

**Store**:

* Transaction events with negative duration are now rejected (#291).
* Fix a panic when normalizing certain dates.

**Relay**:

* Improve internal metrics and logging (#296, #297, #298).
* Fix unbounded requests to Sentry for project configs (#295, #300).
* Fix rejected responses from Sentry due to size limit (#303).
* Expose more options for configuring request concurrency limits (#311).

## 0.4.59

* Fix: Normalize legacy stacktrace attributes (#292)
* Fix: Validate platform attributes in Relay (#294)
* Flip the flag that indicates Relay processing (#293)

## 0.4.58

* Expose globbing code from Semaphore to Python (#288)
* Normalize before datascrubbing (#290)
* Evict project caches after some time (#287)
* Add event size metrics (#286)
* Selectively log internal errors to stderr (#285)
* Do not ignore `process_value` result in `scrub_event` (#284)
* Add a config value for thread counts (#283)
* Refactor outcomes for parity with Sentry (#282)
* Add an error boundary to parsing project states (#281)
* Remove warning and add comment for temporary attribute
* Add flag that relay processed an event (#279)

## 0.4.57

**Store**:

- Stricter validation of transaction events.

## 0.4.56

**Store**:

- Fix a panic in trimming.

## 0.4.55

**Store**:

- Fix more bugs in datascrubbing converter.

## 0.4.54

**Store**:

- Fix more bugs in datascrubbing converter.

## 0.4.53

**Store**:

- Fix more bugs in datascrubbing converter.

## 0.4.52

**Store**:

- Fix more bugs in datascrubbing converter.

## 0.4.51

**Store**:

- Fix a few bugs in datascrubbing converter.
- Accept trailing slashes.

**Normalization**:

- Fix a panic on overflowing timestamps.

## 0.4.50

**Store**:

- Fix bug where IP scrubbers were applied even when not enabled.

## 0.4.49

**Python**

- Fix handling of panics in CABI/Python bindings.

## 0.4.48

**Store**:

- Fix various bugs in the datascrubber and PII processing code to get closer to behavior of the Python implementation.

## 0.4.47

**Normalization**:

- Fix encoding issue in the Python layer of event normalization.

**Store**:

- Various work on re-implementing Sentry's `/api/X/store` endpoint in Relay.
Relay can now apply rate limits based on Redis and emit the correct outcomes.

## 0.4.46

**Normalization**:
Expand Down
Loading

0 comments on commit 0190153

Please sign in to comment.