feat(api): Wire API_RATE_LIMIT, optional OpenAPI off, ops/docs#38
Merged
Conversation
- Name compose project ost-linker; add org.open-source-together.* labels for Docker Desktop filter/search (stack=ost, app=linker, per-role). - Share dbt_target volume between webserver and daemon; init runs dbt parse before build and daemon ensures manifest when missing. - Run container entrypoint as root, chown named volumes, then gosu appuser (fixes Permission denied on /app/dbt/target). - Configurable DAGSTER_HOST_PORT when host :3000 is busy; document in .env.example. - Label dev db service in compose.override for the same OST metadata. Made-with: Cursor
Made-with: Cursor
Made-with: Cursor
Made-with: Cursor
Made-with: Cursor
Made-with: Cursor
Made-with: Cursor
Made-with: Cursor
Made-with: Cursor
Made-with: Cursor
Made-with: Cursor
Made-with: Cursor
Made-with: Cursor
Made-with: Cursor
Made-with: Cursor
Made-with: Cursor
Made-with: Cursor
Made-with: Cursor
Made-with: Cursor
Made-with: Cursor
Made-with: Cursor
Made-with: Cursor
Made-with: Cursor
Made-with: Cursor
Made-with: Cursor
…I_ENABLE_OPENAPI - Build RATE_LIMIT from API_RATE_LIMIT (same semantics as pydantic defaults) - When API_ENABLE_OPENAPI is false, disable /openapi.json, /docs, /redoc - Add unit tests for rate_limit_per_minute() Made-with: Cursor
…udit - Pass OST_LINKER_REQUIRE_SERVICE_TOKEN and API_ENABLE_OPENAPI via compose - Extend .env.example and AGENTS.md for new variables - README: clarify CC BY-NC vs OSI open source - Add docs/READINESS-AUDIT.md (audit follow-up note) Made-with: Cursor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
API behavior matches documented env; compose and docs updated; readiness audit artifact.
Changes
API_RATE_LIMITdrives SlowAPI (replaces hardcoded60/minute).API_ENABLE_OPENAPI=falsedisables/docs,/redoc,/openapi.json.docker-compose+.env.examplepassOST_LINKER_REQUIRE_SERVICE_TOKEN/ OpenAPI flags.AGENTS.md, README license (CC BY-NC vs OSI),docs/READINESS-AUDIT.md.Tests
make ci-check(local)tests/unit/test_rate_limit_spec.pyMade with Cursor