Skip to content

feat: implement promotion request and confirmation workflow#37

Merged
Gsbreddy merged 2 commits into
mainfrom
pricing-approval-runs
May 2, 2026
Merged

feat: implement promotion request and confirmation workflow#37
Gsbreddy merged 2 commits into
mainfrom
pricing-approval-runs

Conversation

@Gsbreddy
Copy link
Copy Markdown
Collaborator

@Gsbreddy Gsbreddy commented May 2, 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 2, 2026 21:14
- Added new models for handling promotion requests and records, including `PromotionRequestRecord` and related fields in `WorkspaceConfig`.
- Introduced API endpoints for creating and confirming promotion requests (`POST /v1/promote/request` and `POST /v1/promote/confirm`).
- Updated the storage layer to manage promotion requests, including methods for inserting, retrieving, and listing requests.
- Enhanced the CLI with commands for requesting and confirming promotions.
- Updated the web UI to support displaying promotion request information and hints related to pricing catalogs.
- Added tests to ensure the correct functionality of the new promotion workflow and its integration with existing features.

This change enhances the release management process by allowing for a structured approval workflow for promotions, improving governance and traceability.
@Gsbreddy Gsbreddy merged commit be64c3f into main May 2, 2026
2 checks passed
@Gsbreddy Gsbreddy deleted the pricing-approval-runs branch May 2, 2026 19: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