Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: Seven-of-Di/ben
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.9.1
Choose a base ref
...
head repository: Seven-of-Di/ben
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.9.2
Choose a head ref
  • 2 commits
  • 4 files changed
  • 2 contributors

Commits on Oct 1, 2024

  1. Copy the full SHA
    52087a1 View commit details
  2. chore(release): 0.9.2

    GitHub Actions Bot committed Oct 1, 2024
    Copy the full SHA
    f5d6229 View commit details
Showing with 9 additions and 8 deletions.
  1. +2 −2 CHANGELOG.md
  2. +1 −1 VERSION
  3. +5 −4 src/starlette_api.py
  4. +1 −1 version.json
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -2,9 +2,9 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

### [0.9.1](https://github.com/Seven-of-Di/ben/compare/v0.9.0...v0.9.1) (2024-10-01)
### [0.9.2](https://github.com/Seven-of-Di/ben/compare/v0.9.1...v0.9.2) (2024-10-01)


### Bug Fixes

* reenable healthz endpoint for Ben ([c229cb8](https://github.com/Seven-of-Di/ben/commit/c229cb858f52ea57244ba2c41fdf83390ce1b184))
* switch to simple HTTP API access healthcheck ([52087a1](https://github.com/Seven-of-Di/ben/commit/52087a1b1664198dea09d3e1f6847d4846fcd2b9))
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.9.1
0.9.2
9 changes: 5 additions & 4 deletions src/starlette_api.py
Original file line number Diff line number Diff line change
@@ -264,11 +264,12 @@ async def alert_bid(request: Request):
health_checker = HealthChecker()

async def healthz():
healthy = health_checker.healthy()
if healthy:
return 'ok', 200
return 'ok', 200
# healthy = health_checker.healthy()
# if healthy:
# return 'ok', 200

return 'unhealthy', 500
# return 'unhealthy', 500

class TracingHeaderMiddleware(BaseHTTPMiddleware):
async def dispatch(self, request, call_next):
2 changes: 1 addition & 1 deletion version.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"version": "0.9.1"
"version": "0.9.2"
}