Skip to content

Commit a3cb201

Browse files
committed
revert irrelevant changes
1 parent 6886bbd commit a3cb201

File tree

5 files changed

+0
-92
lines changed

5 files changed

+0
-92
lines changed

bin/build-services.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,5 @@ rm config-service/target/universal/config-service-*.zip
2828
unzip computing-unit-managing-service/target/universal/computing-unit-managing-service-*.zip -d target/
2929
rm computing-unit-managing-service/target/universal/computing-unit-managing-service-*.zip
3030

31-
unzip mcp-service/target/universal/mcp-service-*.zip -d target/
32-
rm mcp-service/target/universal/mcp-service-*.zip
33-
3431
unzip amber/target/universal/texera-*.zip -d amber/target/
3532
rm amber/target/universal/texera-*.zip

bin/mcp-service.sh

Lines changed: 0 additions & 25 deletions
This file was deleted.

frontend/custom-webpack.config.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,6 @@
1818
*/
1919

2020
module.exports = {
21-
resolve: {
22-
fallback: {
23-
// Minimal polyfill for path (needed by some dependencies)
24-
"path": require.resolve("path-browserify"),
25-
}
26-
},
2721
module: {
2822
rules: [
2923
{

frontend/src/app/workspace/component/workflow-editor/workflow-editor.component.scss

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,6 @@
2929
display: none;
3030
}
3131

32-
::ng-deep .action-plan {
33-
// Action plan highlights - temporary 5-second visual indicators
34-
// Styles are defined inline in JointJS element, but this provides a hook for customization
35-
pointer-events: none;
36-
}
37-
3832
::ng-deep .hide-worker-count .operator-worker-count {
3933
display: none;
4034
}

frontend/src/app/workspace/service/workflow-graph/model/workflow-action.service.ts

Lines changed: 0 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -919,56 +919,4 @@ export class WorkflowActionService {
919919
public getHighlightingEnabled() {
920920
return this.highlightingEnabled;
921921
}
922-
923-
/**
924-
* Find all operators and links on any upstream path leading to the given destination operator.
925-
* Uses BFS to traverse backwards from the destination to find all contributing operators.
926-
* @param destinationOperatorId The operator ID to find upstream paths to
927-
* @returns Object containing arrays of operator IDs and link IDs on upstream paths
928-
*/
929-
public findUpstreamPath(destinationOperatorId: string): { operators: string[]; links: string[] } {
930-
const allLinks = this.getTexeraGraph().getAllLinks();
931-
932-
// Build reverse adjacency list (from target to source)
933-
const reverseAdjacencyMap = new Map<string, Array<{ neighbor: string; linkId: string }>>();
934-
allLinks.forEach(link => {
935-
const source = link.source.operatorID;
936-
const target = link.target.operatorID;
937-
if (!reverseAdjacencyMap.has(target)) {
938-
reverseAdjacencyMap.set(target, []);
939-
}
940-
reverseAdjacencyMap.get(target)!.push({ neighbor: source, linkId: link.linkID });
941-
});
942-
943-
// BFS to find all upstream operators and links
944-
const queue: string[] = [destinationOperatorId];
945-
const visitedOperators = new Set<string>();
946-
const allOperatorsOnPaths = new Set<string>();
947-
const allLinksOnPaths = new Set<string>();
948-
949-
allOperatorsOnPaths.add(destinationOperatorId); // Include the destination operator
950-
951-
while (queue.length > 0) {
952-
const current = queue.shift()!;
953-
954-
if (visitedOperators.has(current)) {
955-
continue;
956-
}
957-
visitedOperators.add(current);
958-
959-
const upstreamNeighbors = reverseAdjacencyMap.get(current) || [];
960-
for (const { neighbor, linkId } of upstreamNeighbors) {
961-
allOperatorsOnPaths.add(neighbor);
962-
allLinksOnPaths.add(linkId);
963-
if (!visitedOperators.has(neighbor)) {
964-
queue.push(neighbor);
965-
}
966-
}
967-
}
968-
969-
return {
970-
operators: Array.from(allOperatorsOnPaths),
971-
links: Array.from(allLinksOnPaths),
972-
};
973-
}
974922
}

0 commit comments

Comments
 (0)