[web-console] Implement read-only view for a deleted pipeline#6064
[web-console] Implement read-only view for a deleted pipeline#6064Karakatiza666 merged 1 commit intomainfrom
Conversation
mihaibudiu
left a comment
There was a problem hiding this comment.
Cannot tell if some case has been omitted, but the implemented ones look fine.
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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 || |
There was a problem hiding this comment.
some tools really like reformatting every time you run them
| update, | ||
| onNotFound: () => goto(resolve(`/`)) | ||
| getDeleted: () => deleted, | ||
| onNotFound: () => { |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
| 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) |
There was a problem hiding this comment.
I am not reviewing this file
| @@ -0,0 +1,232 @@ | |||
| // @feldera/monaco-editor-vite-plugin — Vite plugin to include & bundle monaco-editor. | |||
There was a problem hiding this comment.
I am not reviewing these files
| }) | ||
| } | ||
|
|
||
| export const getPipelineThumb = async ( |
There was a problem hiding this comment.
I understand what "status" is, but what is "thumb?"
There was a problem hiding this comment.
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( |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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' | |||
There was a problem hiding this comment.
why is the file named e2e?
There was a problem hiding this comment.
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
There was a problem hiding this comment.
so toHaveText does polling until this timeout happens or the condition is true?
Fork an upstream vite plugin to fix a bug Signed-off-by: Karakatiza666 <bulakh.96@gmail.com>

Fork an upstream vite plugin to fix a bug
Fix #5288



Fix #5485