Skip to content

feat: update ruff version constraint, enhance troubleshooting doc and pricing management tools#51

Merged
Gsbreddy merged 2 commits intomainfrom
pricing-otel-sdk
May 3, 2026
Merged

feat: update ruff version constraint, enhance troubleshooting doc and pricing management tools#51
Gsbreddy merged 2 commits intomainfrom
pricing-otel-sdk

Conversation

@Gsbreddy
Copy link
Copy Markdown
Collaborator

@Gsbreddy Gsbreddy commented May 3, 2026

Summary

Why

Changes

Validation

Run the same checks as CI (see .github/workflows/ci.yml) before opening / updating the PR. Cursor loads .cursor/rules/flightdeck-ci-artifacts.mdc as a short reminder for static/ + schemas/ gates.

  • uv sync --frozen --extra dev
  • uv run python -m ruff check src tests
  • uv run python -m pytest
  • uv run python scripts/generate_schemas.py then git diff --exit-code schemas/ (if models/schemas touched)
  • cd web && npm ci && npm run build && cd .. && git diff --exit-code src/flightdeck/server/static/ (if web/ sources, Vite config, or web/ deps / lockfile change the production bundle)
  • cd web && npx playwright install chromium && npm run test:e2e (if web/ changed)
  • uv run flightdeck-quickstart-verify
  • uv run flightdeck --help

With pip / venv only, use python -m … equivalents from DEVELOPMENT.md.

Schema / Storage Impact

  • None
  • Schema change
  • Storage change

Risk

Review

  • Requested review from maintainers (CODEOWNERS@flightdeckdev/maintainers on the org repo). On a fork, GitHub may not auto-request; use Reviewers on the PR.
  • PR is small and scoped (see AGENTS.md); linked issue or release note intent noted if helpful.

Notes

zendaya added 2 commits May 3, 2026 20:14
…mentation

- Changed the ruff dependency in `pyproject.toml` from an exact version (`ruff==0.15.12`) to a range (`ruff>=0.15,<0.16`) to allow for more flexible version resolution.
- Updated the troubleshooting documentation to reflect the new ruff versioning scheme, clarifying how to check the version used in CI and its relation to `uv.lock`.
- Added a new method `list_distinct_pricing_versions` in the Storage class to retrieve all distinct pricing versions from the ledger.
- Introduced a new command `pricing check` in the CLI to assess the age of bundled pricing tables and warn if they exceed a specified threshold, enhancing the management of pricing data staleness.
@Gsbreddy Gsbreddy merged commit bf235c8 into main May 3, 2026
3 checks passed
@Gsbreddy Gsbreddy deleted the pricing-otel-sdk branch May 3, 2026 18:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants