Skip to content

feat: add export command for run events as JSONL#41

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

feat: add export command for run events as JSONL#41
Gsbreddy merged 2 commits into
mainfrom
runs-export

Conversation

@Gsbreddy

@Gsbreddy Gsbreddy commented May 2, 2026

Copy link
Copy Markdown
Collaborator

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 23:20
- Introduced a new `flightdeck runs export` command to export filtered run events as JSONL, allowing users to specify a time window and various filters (e.g., `--env`, `--tenant`, `--task`, `--trace-id`).
- Updated CLI documentation to reflect the new export functionality and its options.
- Enhanced tests to verify the correct behavior of the export command, including handling of truncation warnings when the result exceeds the specified limit.
- Bumped version to 1.1.2 to reflect the addition of this feature.

This update enhances the forensics capabilities of the FlightDeck platform by enabling users to export run events for further analysis.
@Gsbreddy Gsbreddy merged commit 24eaa2d into main May 2, 2026
2 checks passed
@Gsbreddy Gsbreddy deleted the runs-export branch May 2, 2026 21:23
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