[web-console] Implement read-only view for a deleted pipeline by Karakatiza666 · Pull Request #6064 · feldera/feldera · GitHub
Skip to content

[web-console] Implement read-only view for a deleted pipeline#6064

Merged
Karakatiza666 merged 1 commit intomainfrom
ui-2
Apr 21, 2026
Merged

[web-console] Implement read-only view for a deleted pipeline#6064
Karakatiza666 merged 1 commit intomainfrom
ui-2

Conversation

@Karakatiza666
Copy link
Copy Markdown
Contributor

@Karakatiza666 Karakatiza666 commented Apr 17, 2026

Fork an upstream vite plugin to fix a bug

Fix #5288
Fix #5485
image
image
image

Copy link
Copy Markdown

@mythical-fred mythical-fred left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Copy Markdown
Contributor

@mihaibudiu mihaibudiu left a comment

Choose a reason for hiding this comment

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

Cannot tell if some case has been omitted, but the implemented ones look fine.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Is there an issue about this bug? Do we plan to switch back to the other plugin eventually?
If you have a fix, have you contributed it?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I have not found a way to contribute directly; the sorce seems to be private, I would need to reach the author on Bluesky where I don't have an account yet

if (
tA.row < visible.min || tA.row > visible.max ||
tF.row < visible.min || tF.row > visible.max
tA.row < visible.min ||
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

some tools really like reformatting every time you run them

update,
onNotFound: () => goto(resolve(`/`))
getDeleted: () => deleted,
onNotFound: () => {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I hope that this cannot happen when you have problems talking to the manager, just when the manager gives you a list which does not include this pipeline

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

That's right; onNotFound can only be called when the pipeline currently being inspected is either not in the pipelines list, or was not found by the name (not a generic request failure) - both mean exactly the same - the pipeline was either deleted or renamed out-of-band

Comment thread scripts/claude.sh
git checkout origin/claude-context -- $FILES
git restore --staged $FILES
echo "✅ Pulled Claude context files from claude-context branch." No newline at end of file
REPO_ROOT=$(git rev-parse --show-toplevel)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I am not reviewing this file

@@ -0,0 +1,232 @@
// @feldera/monaco-editor-vite-plugin — Vite plugin to include & bundle monaco-editor.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I am not reviewing these files

})
}

export const getPipelineThumb = async (
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I understand what "status" is, but what is "thumb?"

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

That's a naming convention I use in web-console for limited pipeline info, generally retrieved with ?selector=status - a set of information that serves as a "preview" of the pipeline. I derived it from the word "thumbnail".

...options
}),
(pipeline) =>
consolidatePipelineStatus(
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

where did this one go?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Previously this function used the getPipeline endpoint with selector: 'status' which provides a bunch of info about a pipeline, but only returned pipeline's runtime status. I replaced this function with the one that returns all the retrieved fields, not just the status (getPipelineThumb).

* (Playwright-specific), falling back to `http://localhost:8080`.
*/
export function configureTestClient() {
// In browser tests (vitest with browser mode), `process` is undefined — fall
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

what is process?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

process is a well-known standard global variable name which is usually set when the JavaScript code is run in the server environment - e.g. with Node.js runtime or others. When JavaScript is executed in the browser this variable is not defined; FYI instead the main variable that is set is window.

@@ -0,0 +1,61 @@
import { expect, test } from '@playwright/test'
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

why is the file named e2e?

Copy link
Copy Markdown
Contributor Author

@Karakatiza666 Karakatiza666 Apr 17, 2026

Choose a reason for hiding this comment

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

A naming convention for end-to-end UI tests - that imply testing the full web-console build, rendered in a real browser engine, talking to the pipeline-manager instance

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

so toHaveText does polling until this timeout happens or the condition is true?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yes

Fork an upstream vite plugin to fix a bug

Signed-off-by: Karakatiza666 <bulakh.96@gmail.com>
@Karakatiza666 Karakatiza666 added this pull request to the merge queue Apr 20, 2026
Merged via the queue into main with commit dce6799 Apr 21, 2026
1 check passed
@Karakatiza666 Karakatiza666 deleted the ui-2 branch April 21, 2026 03:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

3 participants