Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
65b8e90
assisted-by: chatgpt-5 Added composite command support and test coverage
msivasubramaniaan Jan 28, 2026
cb07f92
Merge branch 'main' into feat-add-composite-command-support
msivasubramaniaan Jan 28, 2026
880d2ca
resolved the license check issue
msivasubramaniaan Jan 30, 2026
eb6c564
Merge branch 'main' into feat-add-composite-command-support
msivasubramaniaan Jan 30, 2026
4880d44
added label support and added execution part
msivasubramaniaan Feb 5, 2026
0eaf568
updated test cases
msivasubramaniaan Feb 5, 2026
b91d813
Merge branch 'main' into feat-add-composite-command-support
msivasubramaniaan Feb 5, 2026
7572aaa
fixed the logic of execution
msivasubramaniaan Feb 5, 2026
fd06d92
logic and test cases updated
msivasubramaniaan Feb 5, 2026
746b125
logs were added
msivasubramaniaan Feb 5, 2026
0b05c4d
Updated the logic code, code refactor and written test cases which co…
msivasubramaniaan Feb 10, 2026
81a4ced
added writeEmitter
msivasubramaniaan Feb 10, 2026
2ad49a5
write event triggered
msivasubramaniaan Feb 10, 2026
7d4ed5d
refactoring done and added separate class for composite
msivasubramaniaan Feb 10, 2026
21ce472
added additional logs to confirm that the workflow
msivasubramaniaan Feb 11, 2026
9efadbf
make a proper close of the pty
msivasubramaniaan Feb 11, 2026
21d0284
added additional logs
msivasubramaniaan Feb 11, 2026
a2e9eec
make test pass
msivasubramaniaan Feb 11, 2026
ba67ec4
make parallel flow with async
msivasubramaniaan Feb 11, 2026
57f0f1a
resolve parallel cross component issue
msivasubramaniaan Feb 11, 2026
10ac1f2
make parallel output in order
msivasubramaniaan Feb 12, 2026
d594c36
resolving the emitter logic
msivasubramaniaan Feb 12, 2026
11b2e69
make final ready code
msivasubramaniaan Feb 12, 2026
0da25fe
emitting the data each time
msivasubramaniaan Feb 17, 2026
af99c75
refactor the data
msivasubramaniaan Feb 17, 2026
8bd5a2b
Merge branch 'main' into feat-add-composite-command-support
msivasubramaniaan Feb 17, 2026
18a5979
Merge branch 'main' into feat-add-composite-command-support
msivasubramaniaan Feb 18, 2026
a4eb13e
addressed close events
msivasubramaniaan Feb 19, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion build/dockerfiles/linux-libc-ubi8.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2021-2024 Red Hat, Inc.
# Copyright (c) 2021-2026 Red Hat, Inc.
# This program and the accompanying materials are made
# available under the terms of the Eclipse Public License 2.0
# which is available at https://www.eclipse.org/legal/epl-2.0/
Expand Down Expand Up @@ -71,6 +71,9 @@ RUN npm config set fetch-retry-mintimeout 100000 && npm config set fetch-retry-m
# Grab dependencies (and force to rebuild them)
RUN rm -rf /checode-compilation/node_modules && npm install --force

# Run tests for che-commands extension
RUN npm --prefix extensions/che-commands test

# Compile
RUN NODE_ARCH=$(echo "console.log(process.arch)" | node) \
&& NODE_VERSION=$(cat /checode-compilation/remote/.npmrc | grep target | cut -d '=' -f 2 | tr -d '"') \
Expand Down
5 changes: 4 additions & 1 deletion build/dockerfiles/linux-libc-ubi9.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2024 Red Hat, Inc.
# Copyright (c) 2024-2026 Red Hat, Inc.
# This program and the accompanying materials are made
# available under the terms of the Eclipse Public License 2.0
# which is available at https://www.eclipse.org/legal/epl-2.0/
Expand Down Expand Up @@ -70,6 +70,9 @@ RUN npm config set fetch-retry-mintimeout 100000 && npm config set fetch-retry-m
# Grab dependencies (and force to rebuild them)
RUN rm -rf /checode-compilation/node_modules && npm install --force

# Run tests for che-commands extension
RUN npm --prefix extensions/che-commands test

# Compile
RUN NODE_ARCH=$(echo "console.log(process.arch)" | node) \
&& NODE_VERSION=$(cat /checode-compilation/remote/.npmrc | grep target | cut -d '=' -f 2 | tr -d '"') \
Expand Down
5 changes: 4 additions & 1 deletion build/dockerfiles/linux-musl.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2021-2023 Red Hat, Inc.
# Copyright (c) 2021-2026 Red Hat, Inc.
# This program and the accompanying materials are made
# available under the terms of the Eclipse Public License 2.0
# which is available at https://www.eclipse.org/legal/epl-2.0/
Expand Down Expand Up @@ -47,6 +47,9 @@ RUN npm config set fetch-retry-mintimeout 100000 && npm config set fetch-retry-m
# Grab dependencies (and force to rebuild them)
RUN rm -rf /checode-compilation/node_modules && npm install --force

# Run tests for che-commands extension
RUN npm --prefix extensions/che-commands test

# Rebuild platform specific dependencies
RUN npm rebuild

Expand Down
31 changes: 31 additions & 0 deletions code/extensions/che-commands/jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
/**********************************************************************
* Copyright (c) 2026 Red Hat, Inc.
*
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
***********************************************************************/

/* eslint-disable header/header */

//@ts-check

export const preset = 'ts-jest';
export const testEnvironment = 'node';
export const roots = ['<rootDir>/tests'];
export const collectCoverage = true;
export const globals = {
'ts-jest': {
tsconfig: '<rootDir>/tsconfig.jest.json'
}
};
export const moduleNameMapper = {
'^vscode$': '<rootDir>/tests/__mocks__/vscode.ts'
};
export const collectCoverageFrom = [
"src/**/*.ts",
"!src/**/*.d.ts",
"!tests/**",
]
Loading