GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [dbsp] Remove the graphviz circuit profiles. by mihaibudiu · Pull Request #7906 · feldera/feldera

Conversation

@mihaibudiu

@mihaibudiu mihaibudiu commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

A stored support bundle keeps the slot of the old profile as legacy_dot_profile, always skipped.
Older managers read the slot as skipped.

Fixes #5217

Checklist

  • Unit tests added/updated
  • Integration tests added/updated
  • Documentation updated
  • Changelog updated

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@mihaibudiu
[dbsp] Remove the graphviz circuit profiles.
98eb13b
A stored support bundle keeps the slot of the old profile as
`legacy_dot_profile`, always skipped.
Older managers read the slot as skipped.

Fixes #5217

Signed-off-by: Mihai Budiu <[email protected]>
mythical-fred-oss[bot]
mythical-fred-oss Bot reviewed Nov 10, 2026
View reviewed changes
Comment thread docs.feldera.com/docs/changelog.md

## Unreleased

- Incompatible change (REST API, fda): the endpoint

@mythical-fred-oss mythical-fred-oss Bot Nov 10, 2026

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

breaking-change (medium): GET /v0/pipelines/{name}/circuit_profile and fda circuit-profile are removed outright. They were never marked deprecated: the old openapi had no deprecated flag, and #5217 asked for "deprecate and remove". The breaking-changes policy asks for deprecated in utoipa/openapi plus Deprecation/Sunset headers for at least 2 minor releases before removal (at least 1 for the CLI command). Scripts that call this endpoint will start getting 404s on upgrade. Unless the team has agreed to skip that window for this endpoint, please split this into a deprecate PR now and a removal PR later. Otherwise, mention that decision here.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
mythical-fred-oss[bot]
mythical-fred-oss Bot reviewed Nov 10, 2026
View reviewed changes
Comment thread crates/pipeline-manager/src/api/support_data_collector.rs
pub circuit_profile: BundleResult<Vec<u8>>,
/// Formerly the graphviz circuit profile; always `Err(SKIPPED_BY_USER)` now.
/// The field keeps its slot because stored bundles encode fields by position.
pub legacy_dot_profile: BundleResult<Vec<u8>>,

@mythical-fred-oss mythical-fred-oss Bot Nov 10, 2026

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing test (medium): The test at ~L1523 covers deserializing a v4 bundle with dot bytes into this slot. Nothing covers what push_to_zip then does with a stored Ok(bytes): the zip should not contain circuit_profile.zip and the summary should not report a failure. I ran this test locally and it passes:

#[tokio::test]
async fn push_to_zip_drops_stored_legacy_dot_profile() {
    let mut bundle_data = SupportBundleData::test_data();
    bundle_data.legacy_dot_profile = Ok(b"PK\x03\x04 old dot zip".to_vec());
    let mut names = Vec::new();
    let summary = bundle_data
        .push_to_zip(&mut |f, _, _| { names.push(f.to_string()); Ok(()) },
                     &SupportBundleParameters::default())
        .await
        .unwrap();
    assert!(!names.iter().any(|n| n == "circuit_profile.zip"), "{names:?}");
    assert!(!summary.failed.iter().any(|f| format!("{f:?}").contains("circuit_profile.zip")));
}

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@mythical-fred-oss

mythical-fred-oss Bot commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

What I ran

Check Result
cargo check --locked --benches --tests on dbsp, dbsp_nexmark, dbsp_connectors, static-connectors, fda, pipeline-manager ✅ clean, no warnings
cargo test -p pipeline-manager --lib support (25 tests) ✅
cargo test -p dbsp --lib test_kill, -p dbsp_nexmark --lib q16, -p static-connectors panic_is_reported ✅
pre-commit run --files <changed> (clippy, fmt, machete, OpenAPI/client regen, docs) ✅
Extra test: a stored bundle with dot bytes in legacy_dot_profile ✅ passes (diff in the inline comment)

Checks that passed: stored bundles are encoded positionally with rmp_serde::to_vec in db/operations/pipeline.rs, so keeping the slot under a new name works in both directions. Old bundles are read and their dot bytes ignored. An older manager reads Err(SKIPPED_BY_USER) and leaves the file out. Nothing else in the repo refers to the removed APIs: the Python SDK, web console and fda have no references left, and ldbc-graphalytics is already commented out.

Gates

  • breaking-change (medium): the REST endpoint and the fda command are removed without a deprecation window (see inline comment). The changelog covers the removal, so this needs a team decision, not a fix.
  • missing test (medium): push_to_zip is not tested with a stored Ok value in the legacy slot (see inline comment).
  • Manual testing is not described in the PR. The existing unit tests and Python platform tests cover the remaining paths, so this does not block.
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@mythical-fred-oss mythical-fred-oss[bot] mythical-fred-oss[bot] left review comments

At least 1 approving review is required to merge this pull request.

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

[manager] deprecate and remove the old pdf profiles

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@mihaibudiu
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.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.