Skip to content

Docs + Reporting + Webservice + Agent Flow: default developer guide, provenance reports (markdown/pdf), and API/reporting integration#305

Merged
renan-souza merged 23 commits intomainfrom
dev
Feb 19, 2026
Merged

Conversation

@renan-souza
Copy link
Collaborator

@renan-souza renan-souza commented Feb 19, 2026

Summary

This PR consolidates major improvements across reporting, webservice APIs, docs, and agent workflows.
It introduces provenance reporting (Markdown cards + PDF reports), exposes report generation via webservice routes, and ships a new developer-first default guide to make end-to-end
adoption significantly easier.

Highlights

1) Reporting: Markdown + PDF

  • Added/expanded report generation via Flowcept.generate_report(...):
    • report_type="provenance_card", format="markdown" (default)
    • report_type="provenance_report", format="pdf"
  • PDF report generation now includes:
    • full workflow/activity summaries
    • telemetry/resource usage sections
    • object artifact summaries/details
    • plots (including ML-specialized KPI plots when applicable)
  • Improved formatting/readability for PDF output:
    • better table wrapping
    • improved object detail rendering
    • consistent section structure and footer behavior

2) Webservice: FastAPI reporting/download + query routes

  • Delivered FastAPI reporting/download APIs and OpenAPI docs integration.
  • Added/expanded query routes and report download paths in webservice.
  • Improved OpenAPI artifact generation and documentation exposure.

3) Agent + Skills integration

  • Strengthened external-LLM interaction model and documented explicit tool flow.
  • Clarified prompt/tool execution paths for DF query orchestration.
  • Improved MCP/agent documentation and usability patterns.

4) Documentation overhaul

  • Added a new default developer guide under docs:
    • docs/README.md
  • Added ReadTheDocs-visible entry:
    • docs/default_user_guide.rst
  • Highlighted this guide in:
    • docs/index.rst
    • docs/quick_start.rst
    • root README.md
  • Developer guide improvements include:
    • TL;DR quickstart
    • 60-second setup path
    • choose-your-path navigation
    • online/offline/agent/report usage tracks
    • common failures + quick fixes
    • command cheat sheet
    • inlined beginner examples from:
      • examples/start_here.py
      • examples/unmanaged/simple_task2.py
    • duplicate example style removed between 2.1 and 2.2

5) CI and compatibility fixes

  • CI/docs install and checks workflow adjustments (checks.yml fixes).
  • stdlib timezone handling fix.
  • formatting/reformat consistency commits.
  • integration merge updates from skills, webservice, and MQTT fixes.

6) MQTT interceptor fix

  • Included fix from @jackdmarquez:
    • MQTT interceptor now accepts check_safe_stops correctly.

Commit Context

This PR aggregates 23 commits from @renan-souza, @jackdmarquez, and CI bot, including:

  • webservice/reporting feature delivery
  • PDF reporting additions and refinements
  • docs/user-guide additions
  • CI workflow fixes
  • MQTT interceptor fix
  • merge commits across active integration branches

Impact

  • Easier onboarding for software developers.
  • Better production-grade report outputs (especially PDF).
  • Cleaner integration path for report generation via API and agent tooling.
  • More robust CI and docs build behavior.
  • Improved practical usability of Flowcept for both offline and online workflows.

PR text generated by codex 5.3

renan-souza and others added 23 commits February 18, 2026 18:53
…cs pipeline, and legacy-webserver deprecation with migrated test coverage (implemented with Codex 5.3 help)

  - introduce new flowcept.webservice FastAPI package with read-only REST routes for workflows, tasks, objects, datasets, and models
  - add report export endpoint: POST /api/v1/workflows/{workflow_id}/reports/provenance-card/download returning markdown attachment
  - add binary download routes for blobs/datasets/models and versioned object retrieval
  - enforce ascending date-based ordering in list endpoints for workflows/tasks/objects
  - add OpenAPI generation workflow under docs/openapi/scripts/generate_openapi.py
  - wire OpenAPI generation into make docs and publish artifacts in docs output
  - add/expand docs for API contract, architecture, and ReadTheDocs OpenAPI download links
  - add CLI command --start-webservice and switch make webservice to use CLI startup
  - mark legacy flowcept_webserver as deprecated and add deprecation warnings for TaskQueryAPI(with_webserver=True)
  - deprecate/skip legacy webserver test module and migrate Dask ML test to query via new FastAPI webservice
  - harden ML test data loading with offline fallback (FakeData) to avoid MNIST download failures in containerized CI
  - add/extend webservice tests and integration coverage; validated in Docker (15 passed)
Fix(mqtt_interceptor): accept check_safe_stops in MQTTBrokerIntercept
@renan-souza renan-souza merged commit b980ba1 into main Feb 19, 2026
12 of 14 checks passed
@renan-souza renan-souza changed the title Main < Dev Docs + Reporting + Webservice + Agent Flow: default developer guide, provenance reports (markdown/pdf), and API/reporting integration Feb 19, 2026
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