Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
30 changes: 15 additions & 15 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"webpack-cli": "7.2.1"
},
"devDependencies": {
"@playwright/test": "1.61.1",
"@playwright/test": "1.62.0",

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🩺 Stability & Availability | 🟡 Minor | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

files="$(fd -HI -t f . | rg '(^|/)(Dockerfile[^/]*|[^/]+\.(ya?ml|json|toml|ini|cfg|md))$' || true)"
if [ -n "$files" ]; then
  printf '%s\0' "$files" | xargs -0 rg -n -i -C2 'debian[ :/-]?11|bullseye' || true
fi

Repository: openshift/lightspeed-agentic-console

Length of output: 204


🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo '--- relevant files ---'
git ls-files | rg '(^|/)(Dockerfile[^/]*|[^/]+\.(ya?ml|json|toml|ini|cfg|md)|package-lock\.json|npm-shrinkwrap\.json|yarn\.lock|pnpm-lock\.yaml)$' | head -200

echo '--- Debian 11 and Bullseye references ---'
python3 - <<'PY'
import pathlib, re
pat = re.compile(r'debian[ :/_-]?11|bullseye', re.I)
for p in pathlib.Path('.').rglob('*'):
    if not p.is_file() or '.git' in p.parts:
        continue
    name = p.name
    if not (name.startswith('Dockerfile') or re.search(r'\.(ya?ml|json|toml|ini|cfg|md)$', name, re.I)
            or name in {'package-lock.json', 'npm-shrinkwrap.json', 'yarn.lock', 'pnpm-lock.yaml'}):
        continue
    try:
        text = p.read_text(errors='replace')
    except OSError:
        continue
    for i, line in enumerate(text.splitlines(), 1):
        if pat.search(line):
            print(f'{p}:{i}:{line}')
PY

echo '--- Playwright declarations and lockfile resolutions ---'
rg -n -i -C2 '`@playwright/test`|playwright' --glob 'package.json' --glob 'package-lock.json' --glob 'npm-shrinkwrap.json' --glob 'yarn.lock' --glob 'pnpm-lock.yaml' . || true

Repository: openshift/lightspeed-agentic-console

Length of output: 16581


🏁 Script executed:

#!/bin/bash
set -euo pipefail

for f in Dockerfile .devcontainer/Dockerfile.console .devcontainer/Dockerfile.plugin .devcontainer/devcontainer.json .devcontainer/docker-compose.yml .tekton/integration-tests/lightspeed-agentic-console-pre-commit.yaml .tekton/lightspeed-agentic-console-pull-request.yaml .tekton/lightspeed-agentic-console-push.yaml package.json package-lock.json; do
  if [ -f "$f" ]; then
    echo "--- $f ---"
    sed -n '1,220p' "$f"
  fi
done

echo '--- all tracked CI and container references ---'
git ls-files | rg '(^|/)(Dockerfile[^/]*|\.github/|\.tekton/|.*(container|compose|runner).*\.(ya?ml|json|toml|cfg|md)$)' | while IFS= read -r f; do
  echo "--- $f ---"
  rg -n -i 'image:|FROM |container|runner|playwright|debian|ubuntu|rhel|ubi|fedora|node:' "$f" || true
done

Repository: openshift/lightspeed-agentic-console

Length of output: 41584


🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo '--- tracked Playwright and test-runner references ---'
git grep -n -i -E 'playwright|test-e2e|npx playwright|image: .*playwright|Dockerfile' -- \
  ':(exclude)node_modules' || true

echo '--- exact CI test image and executed commands ---'
sed -n '55,100p' .tekton/integration-tests/lightspeed-agentic-console-pre-commit.yaml

echo '--- tracked container image references ---'
git grep -n -E '^[[:space:]]*(FROM|image:)' -- \
  ':(exclude)node_modules' || true

Repository: openshift/lightspeed-agentic-console

Length of output: 8446


🌐 Web query:

mcr.microsoft.com/vscode/devcontainers/typescript-node:24 base image Debian version

💡 Result:

The mcr.microsoft.com/devcontainers/typescript-node:24 image is a multi-variant image that supports several Debian versions [1][2][3]. You can specify the base Debian version by using the appropriate tag suffix [1][2]. The supported Debian variants for the:24 image tag include [1][2][3]: - 24-trixie (Debian 13) [1][4][3] - 24-bookworm (Debian 12) [1][5][4][3] - 24-bullseye (Debian 11) [1][5][4][3] If you use the base tag:24 without a suffix, it typically defaults to one of these versions (often bookworm, depending on the current manifest configuration) [1][2][6]. To ensure you are using a specific Debian distribution, it is recommended to use the explicit tags such as:24-bookworm or:24-trixie [1][2][7].

Citations:


🌐 Web query:

quay.io/openshift/origin-console:latest base image operating system

💡 Result:

The base image for quay.io/openshift/origin-console has evolved over time in alignment with OpenShift releases, moving from legacy base images to modern RHEL-based images. In recent versions of the project, such as those corresponding to later OpenShift 4.x releases, the Dockerfile uses a base image derived from RHEL, typically referenced in the build process as a Red Hat Enterprise Linux (RHEL) base layer (e.g., base-rhel9) [1]. Historically, the project used images such as openshift/origin-base [2][3][4][5] or openshift3/ose-console [6]. These images were part of the Red Hat and OpenShift ecosystem, built upon Red Hat Enterprise Linux (RHEL). For example, metadata for older versions has explicitly referenced EL8 (Enterprise Linux 8) [6]. Because the:latest tag is continuously updated to track the current development or release branch of the OpenShift console, its exact base image depends on the specific version of OpenShift it is tracking at the time of pull [7][1]. You can verify the specific base image and OS for a particular tag by inspecting the image metadata using the following command [6]: docker inspect quay.io/openshift/origin-console:latest --format '{{ json.Config.Labels }}' | jq This will reveal labels such as the version and vendor, which confirm it is a Red Hat-provided container image [6].

Citations:


Pin the devcontainer to a supported Debian variant.

.devcontainer/Dockerfile.plugin uses the variant-ambiguous mcr.microsoft.com/vscode/devcontainers/typescript-node:24 tag. Pin it to 24-bookworm or 24-trixie because the image family also provides the unsupported 24-bullseye variant.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@package.json` at line 55, Update the image reference in
.devcontainer/Dockerfile.plugin from the ambiguous TypeScript Node 24 tag to an
explicitly supported Debian variant, using either 24-bookworm or 24-trixie.

"@types/node": "22.20.1",
"eslint": "9.39.5",
"eslint-config-prettier": "10.1.8",
Expand Down