diff --git a/.coveragerc b/.coveragerc index 471b1a683..1f184ff61 100644 --- a/.coveragerc +++ b/.coveragerc @@ -1,7 +1,8 @@ [run] parallel = True -source = tests +source = tests,scripts,dashboard/scripts patch = subprocess [report] show_missing = True +include_namespace_packages = True diff --git a/.github/actions/gnome-e2e/action.yml b/.github/actions/gnome-e2e/action.yml index f18f16a98..6d2bb35e1 100644 --- a/.github/actions/gnome-e2e/action.yml +++ b/.github/actions/gnome-e2e/action.yml @@ -5,13 +5,15 @@ # suite via qecore-headless. # # Scope: GUI suites that run inside the VM via qecore-headless (AT-SPI). -# Supported: smoke, developer, dx, software, vanilla-gnome +# Supported: smoke, developer, dx, software, vanilla-gnome, extensions, gnomeos-canary # NOT supported: lifecycle, security, hardware (need plain-SSH mode — future work) # # Requirements: # - Runner must have KVM enabled (ubuntu-latest on GHA has it) # - OCI image must be a bootc/ostree image (uses bootc install to-disk) # - gnome-ponytail-daemon must be baked into the OCI image +# (suite: extensions checks this and other prerequisites before boot via +# scripts/guest_preflight.py and records results/guest-provenance.json) # # Usage: # - uses: projectbluefin/testsuite/.github/actions/gnome-e2e@main @@ -20,20 +22,23 @@ # suite: smoke # # The action writes results to ./results/ and vm-serial.log in the workspace. +# For most suites the caller decides pass/fail from the behave-rc output; for +# suite: extensions the action itself fails the job via the mandatory +# extension-validation gate (scripts/extension_validation.py). # Artifact upload is deliberately left to the caller workflow. name: 'GNOME E2E Tests' description: > Run a projectbluefin/testsuite behave suite inside a KVM QEMU VM booting a bootc/ostree GNOME image. Supports GUI suites (smoke, developer, dx, - software, vanilla-gnome). + software, vanilla-gnome, extensions, gnomeos-canary). inputs: image: description: 'OCI image to test (e.g. ghcr.io/projectbluefin/dakota:latest)' required: true suite: - description: 'Test suite: smoke | developer | dx | software | vanilla-gnome' + description: 'Test suite: smoke | developer | dx | software | vanilla-gnome | extensions | gnomeos-canary' default: 'smoke' testsuite-ref: description: > @@ -48,12 +53,17 @@ inputs: description: 'VM CPU count' default: '4' free-disk-space: - description: 'Run ublue-os/remove-unwanted-software to free ~10 GB before provisioning' + description: 'Run projectbluefin/actions bootc-build/setup-runner to free disk space before provisioning' default: 'true' outputs: behave-rc: - description: 'Exit code from behave (0 = all passed)' + description: > + Exit code from behave (0 = all passed). Informational: the action + already fails the job for every suite when behave exits non-zero or no + scenario passed (extension-validation gate for extensions and + gnomeos-canary, mandatory-coverage gate via scripts/assert_passed.py + for all other suites). value: ${{ steps.run.outputs.behave_rc }} results-path: description: 'Workspace-relative path to the results directory' @@ -64,29 +74,25 @@ runs: steps: # ── Checkout test content ───────────────────────────────────────────────── - # Always check out from projectbluefin/testsuite at the same ref as the - # action itself so test content matches the action version. + # Match the action repository/ref, including local calls on fork branches. - name: Checkout testsuite uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 with: - repository: projectbluefin/testsuite + repository: ${{ github.action_repository || github.repository }} ref: ${{ inputs.testsuite-ref || github.action_ref }} path: _testsuite sparse-checkout: | tests/${{ inputs.suite }} tests/shared + scripts sparse-checkout-cone-mode: true # ── Free disk space ─────────────────────────────────────────────────────── - # ubuntu-latest ships with ~25 GB free; bootc BIB + QEMU disk needs ~12 GB. - name: Free disk space if: inputs.free-disk-space == 'true' - uses: ublue-os/remove-unwanted-software@cc0becac701cf642c8f0a6613bbdaf5dc36b259e # v9 + uses: projectbluefin/actions/bootc-build/setup-runner@6453818f6279a2f2c1282919aad0009a88c01819 # v1 with: - remove-dotnet: 'true' - remove-android: 'true' - remove-haskell: 'true' - remove-codeql: 'true' + update-podman: "false" # ── KVM access ─────────────────────────────────────────────────────────── - name: Enable KVM access @@ -103,7 +109,13 @@ runs: env: GNOME_E2E_IMAGE: ${{ inputs.image }} run: | - sudo podman pull "${GNOME_E2E_IMAGE}" & + ( + if [[ "${GNOME_E2E_IMAGE}" == localhost/* ]] && sudo podman image exists "${GNOME_E2E_IMAGE}"; then + echo "Using locally built image ${GNOME_E2E_IMAGE}" + else + sudo podman pull "${GNOME_E2E_IMAGE}" + fi + ) & PULL_PID=$! sudo apt-get update -q sudo apt-get install -y --no-install-recommends qemu-system-x86 @@ -125,6 +137,7 @@ runs: shell: bash env: GNOME_E2E_IMAGE: ${{ inputs.image }} + GNOME_E2E_SUITE: ${{ inputs.suite }} run: | fallocate -l 30G disk.raw @@ -179,6 +192,20 @@ runs: echo "GNOME_E2E_ROOT_UUID=${ROOT_UUID}" >> "$GITHUB_ENV" echo "GNOME_E2E_KVER=${KVER}" >> "$GITHUB_ENV" + # Extension-validation lane (#908): record which guest is under test and + # fail closed before boot when the image lacks a lane prerequisite + # (stock GNOME OS ships no gnome-ponytail-daemon). Cleanup below still + # runs; the step fails after it. + PREFLIGHT_RC=0 + if [[ "${GNOME_E2E_SUITE}" == "extensions" || "${GNOME_E2E_SUITE}" == "gnomeos-canary" ]]; then + IMAGE_DIGEST=$(sudo podman image inspect --format '{{.Digest}}' "${GNOME_E2E_IMAGE}" 2>/dev/null || true) + mkdir -p results + sudo python3 _testsuite/scripts/guest_preflight.py "${D}" \ + --image-ref "${GNOME_E2E_IMAGE}" --image-digest "${IMAGE_DIGEST}" \ + --output results/guest-provenance.json || PREFLIGHT_RC=$? + sudo chown -R "$(id -u):$(id -g)" results + fi + EFI_PART="${LOOP}p2" sudo mkdir -p /mnt/efi sudo mount "${EFI_PART}" /mnt/efi @@ -198,6 +225,10 @@ runs: sudo chown runner:runner ./vmlinuz ./initramfs.img sudo mkdir -p "${D}/etc/systemd/system/multi-user.target.wants/" + # CI VMs are not users: opt out of the daily countme ping + # (projectbluefin-countme.service honours this marker). + sudo mkdir -p "${D}/etc/projectbluefin/countme" + sudo touch "${D}/etc/projectbluefin/countme/disabled" sudo ln -sf /usr/lib/systemd/system/sshd.service \ "${D}/etc/systemd/system/multi-user.target.wants/sshd.service" sudo ssh-keygen -A -f "${D}" 2>/dev/null || true @@ -221,8 +252,8 @@ runs: sudo tee "${D}/etc/ssh/sshd_config.d/99-bluefin-test.conf" echo 'bluefin-test ALL=(ALL) NOPASSWD:ALL' | \ - sudo tee "${D}/etc/sudoers.d/bluefin-test" - sudo chmod 440 "${D}/etc/sudoers.d/bluefin-test" + sudo tee "${D}/etc/sudoers.d/zz-bluefin-test" + sudo chmod 440 "${D}/etc/sudoers.d/zz-bluefin-test" sudo mkdir -p "${D}/etc/gdm" printf '[daemon]\nAutomaticLoginEnable=True\nAutomaticLogin=bluefin-test\n' | \ @@ -237,6 +268,10 @@ runs: sudo podman rmi "${GNOME_E2E_IMAGE}" 2>/dev/null || true ls -lh disk.raw vmlinuz initramfs.img df -h . + if [[ ${PREFLIGHT_RC} -ne 0 ]]; then + echo "::error::Guest preflight failed (rc=${PREFLIGHT_RC}); see results/guest-provenance.json" + exit 1 + fi # ── Boot VM ─────────────────────────────────────────────────────────────── - name: Boot VM with QEMU + KVM @@ -312,13 +347,26 @@ runs: # qecore-headless manages the ponytail daemon lifecycle — do not pre-start it. - name: Install Python test stack shell: bash + env: + GNOME_E2E_SUITE: ${{ inputs.suite }} run: | SSH_OPTS="-i /tmp/gnome_e2e_key -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o BatchMode=yes -o ControlMaster=auto -o ControlPersist=600 -o ControlPath=/tmp/gnome-e2e-ssh-%C -o ConnectTimeout=3" SSH="ssh ${SSH_OPTS} -p 2222 bluefin-test@127.0.0.1" - $SSH "python3 -m ensurepip --user 2>/dev/null || true" - $SSH "python3 -m pip install -q --user qecore behave dogtail python-uinput" - $SSH "for f in \$HOME/.local/bin/qecore_*; do sudo ln -sf \"\$f\" /usr/local/bin/\$(basename \"\$f\") 2>/dev/null; done" + if [[ "${GNOME_E2E_SUITE}" == "gnomeos-canary" ]]; then + $SSH "test -x /opt/gnomeos-harness/bin/qecore-headless" + # Native GNOME OS overlay already built its C extensions against the + # matching devel image. Do not pip-build them again on the runtime OS. + $SSH 'mkdir -p "$HOME/.local/bin"; for f in /opt/gnomeos-harness/bin/*; do ln -sf "$f" "$HOME/.local/bin/$(basename "$f")"; done' + else + $SSH "python3 -m ensurepip --user 2>/dev/null || true" + # Pin to the same qecore the runner image (container/Containerfile.runner) + # ships — smoke/environment.py monkeypatches qecore.utility internals + # (_get_uinput_device, >= 4.19), so runner/VM drift kills keyboard input + # silently (testsuite#820-class failure). + $SSH "python3 -m pip install -q --user qecore==4.19.3 behave==1.3.3 dogtail==2.0.3 python-uinput==1.0.1" + $SSH "for f in \$HOME/.local/bin/qecore_*; do sudo ln -sf \"\$f\" /usr/local/bin/\$(basename \"\$f\") 2>/dev/null; done" + fi $SSH "sudo modprobe uinput 2>/dev/null || true" $SSH "sudo chmod 0666 /dev/uinput 2>/dev/null || true" @@ -369,6 +417,10 @@ runs: [[ -d "_testsuite/tests/shared" ]] && \ $SCP "_testsuite/tests/shared" "bluefin-test@127.0.0.1:/tmp/gnome_e2e/tests/" || true + HEADLESS_FLAGS="" + if [[ "${GNOME_E2E_SUITE}" == "gnomeos-canary" ]]; then + HEADLESS_FLAGS="--dont-kill" + fi BEHAVE_RC=0 $SSH " set -e @@ -376,13 +428,20 @@ runs: export PATH=\$HOME/.local/bin:\$PATH export PYTHONPATH=/tmp/gnome_e2e BEHAVE_BIN=\$(which behave) - \$HOME/.local/bin/qecore-headless \"\$BEHAVE_BIN /tmp/gnome_e2e/tests/${GNOME_E2E_SUITE}/features/ --format json.pretty --outfile /tmp/gnome_e2e/results/results.json --format pretty --outfile /tmp/gnome_e2e/results/results.txt --format progress --no-capture\" + \$HOME/.local/bin/qecore-headless ${HEADLESS_FLAGS} \"\$BEHAVE_BIN /tmp/gnome_e2e/tests/${GNOME_E2E_SUITE}/features/ --format json.pretty --outfile /tmp/gnome_e2e/results/results.json --format pretty --outfile /tmp/gnome_e2e/results/results.txt --format progress --no-capture\" " || BEHAVE_RC=$? $SCP "bluefin-test@127.0.0.1:/tmp/gnome_e2e/results/." ./results/ 2>/dev/null || true echo "behave_rc=${BEHAVE_RC}" >> "$GITHUB_OUTPUT" # ── Summarise results to CI log + job summary ───────────────────────────── + # Scenario counting and the pass/fail headline come from + # scripts/e2e_summary.py — the copy covered by + # tests/unit/test_e2e_summary.py — imported from the _testsuite checkout + # above (its sparse checkout includes scripts/). Restating the logic here + # is what let an all-undefined/all-untested run render a green headline + # (#797), so this step must keep consuming the tested implementation. + # Only the SLA block below is genuinely action-specific. - name: Summarise results if: always() shell: bash @@ -390,6 +449,7 @@ runs: GNOME_E2E_SUITE: ${{ inputs.suite }} run: | python3 - <<'PYEOF' + import importlib.util import json, os, sys from pathlib import Path @@ -401,31 +461,77 @@ runs: print("No results.json found — summary unavailable", flush=True) sys.exit(0) - data = json.loads(results_file.read_text()) + # Single source of truth for what "passed" means: the unit-tested + # scripts/e2e_summary.py, checked out into _testsuite by this action. + # Load it by file path instead of `import scripts.e2e_summary`: this + # action runs in arbitrary consumer workspaces, and a regular + # `scripts/` package there (one with __init__.py) wins over the + # checkout's namespace package regardless of sys.path order. + module_path = Path("_testsuite/scripts/e2e_summary.py").resolve() + try: + spec = importlib.util.spec_from_file_location("e2e_summary", module_path) + if spec is None or spec.loader is None: + raise ImportError(f"no loader for {module_path}") + e2e_summary = importlib.util.module_from_spec(spec) + spec.loader.exec_module(e2e_summary) + count_scenarios = e2e_summary.count_scenarios + is_success = e2e_summary.is_success + summary_icon = e2e_summary.summary_icon + load_report = e2e_summary.load_report + error_text = e2e_summary.error_text + except Exception as exc: + # Fail closed rather than render a headline we cannot justify, and + # catch broadly on purpose: exec_module runs the module's top level, + # so a corrupted or incompatible e2e_summary.py can raise anything + # (SyntaxError included). This step is reporting-only and runs with + # `if: always()`; letting an exception escape would exit non-zero and + # fail the consumer's job over a summary we simply could not render. + print( + f"ERROR: cannot import scripts.e2e_summary: " + f"{type(exc).__name__}: {exc}", + flush=True, + ) + summary_file = os.environ.get("GITHUB_STEP_SUMMARY", "") + if summary_file: + with open(summary_file, "a") as fh: + fh.write( + f"## ⚠️ E2E Results — `{suite}`\n\n" + "Summary unavailable: `scripts/e2e_summary.py` could not " + "be loaded from the testsuite checkout.\n" + ) + sys.exit(0) + + # load_report tolerates a results.json left truncated by a mid-run + # crash (behave writes the closing ']' only in close()): it salvages + # the complete feature objects instead of raising and failing the job. + # `complete` is False for a salvaged file, and such a run is never + # PASSED: the feature that was running when the lane died is the one + # the salvage drops. + data, complete = load_report(results_file.read_text()) + + counts = count_scenarios(data) + passed = counts["passed"] + failed = counts["failed"] + skipped = counts["skipped"] + total = sum(counts.values()) - passed = failed = skipped = 0 failures = [] for feature in data: feature_name = feature.get("name", "unknown feature") for element in feature.get("elements", []): - if element.get("type") == "background": + if element.get("type") != "scenario": + continue + if element.get("status") != "failed": continue - status = element.get("status", "") - if status == "passed": - passed += 1 - elif status == "failed": - failed += 1 - scenario_name = element.get("name", "") - failed_step = error_msg = "" - for step in element.get("steps", []): - result = step.get("result", {}) - if result.get("status") == "failed": - failed_step = step.get("name", "") - error_msg = result.get("error_message", "") - break - failures.append((feature_name, scenario_name, failed_step, error_msg)) - elif status == "skipped": - skipped += 1 + scenario_name = element.get("name", "") + failed_step = error_msg = "" + for step in element.get("steps", []): + result = step.get("result", {}) + if result.get("status") == "failed": + failed_step = step.get("name", "") + error_msg = error_text(result.get("error_message")) + break + failures.append((feature_name, scenario_name, failed_step, error_msg)) sla_violations = [] if timings_file.exists(): @@ -438,11 +544,30 @@ runs: pass # ── Compact summary in CI log ────────────────────────────────────── - total = passed + failed + skipped - status_word = "PASSED" if failed == 0 else "FAILED" + # PASSED only when is_success holds on a complete results.json: an + # undefined-only, untested-only, errored, empty or truncated run is + # INCOMPLETE, never PASSED (failed == 0 is not enough). + if failed: + status_word = "FAILED" + elif complete and is_success(counts): + status_word = "PASSED" + else: + status_word = "INCOMPLETE" sep = "=" * 64 print(f"\n{sep}", flush=True) - print(f"E2E {status_word}: {passed} passed / {failed} failed / {skipped} skipped (total {total})", flush=True) + print( + f"E2E {status_word}: {passed} passed / {failed} failed / " + f"{skipped} skipped / {counts['undefined']} undefined / " + f"{counts['untested']} untested / {counts['other']} error-other " + f"(total {total})", + flush=True, + ) + if not complete: + print( + "WARNING: results.json was truncated (the lane crashed mid-run); " + "counts cover only the features that finished.", + flush=True, + ) if failures: print("\nFailed scenarios:", flush=True) @@ -466,12 +591,24 @@ runs: if not summary_file: sys.exit(0) - icon = "✅" if failed == 0 else "❌" + # ✅ only on a clean run, ❌ on any failure, ⚠️ for undefined/untested/ + # errored scenarios — the same rule as the CI-log headline above. + icon = summary_icon(counts) + if not complete and icon == "✅": + icon = "⚠️" lines = [f"## {icon} E2E Results — `{suite}`", ""] + if not complete: + lines += [ + "**⚠️ INCOMPLETE (results truncated):** `results.json` was cut " + "off by a mid-run crash; counts cover only the features that " + "finished.", + "", + ] lines += [ - "| ✅ Passed | ❌ Failed | ⏭️ Skipped | Total |", - "|----------|----------|-----------|-------|", - f"| {passed} | **{failed}** | {skipped} | {total} |", + "| ✅ Passed | ❌ Failed | ⏭️ Skipped | ⚠️ Undefined | ⚪ Untested | 🛑 Error/other | Total |", + "|----------|----------|-----------|-------------|-----------|---------------|-------|", + f"| {passed} | **{failed}** | {skipped} | {counts['undefined']} | " + f"{counts['untested']} | {counts['other']} | {total} |", "", ] @@ -496,3 +633,58 @@ runs: with open(summary_file, "a") as fh: fh.write("\n".join(lines) + "\n") PYEOF + + # ── Extension-validation gate (mandatory service gate) ──────────────────── + # Issue #908 acceptance: an extension-validation run passes only when at + # least one scenario genuinely passed and nothing errored. The summarise + # step above renders scripts/e2e_summary.py, which deliberately scores an + # empty or all-skipped run green (whole suites legitimately ship only + # @future) — the wrong verdict for this lane, where all-skipped means the + # extensions never loaded. scripts/extension_validation.py (added in #916) + # fails closed for empty / all-skipped / undefined / untested / hook-error + # / failed-boot / missing-result runs; this step makes it the lane verdict. + # Runs even when behave failed (if: always()) so a crashed lane that left + # no results.json still fails the gate instead of slipping through on the + # run step's exit code alone. The GNOME OS baseline also uses this strict + # gate; every other suite keeps the e2e_summary headline. + - name: Gate extension-validation run + if: always() && (inputs.suite == 'extensions' || inputs.suite == 'gnomeos-canary') + shell: bash + env: + GNOME_E2E_BEHAVE_RC: ${{ steps.run.outputs.behave_rc }} + run: | + GATE="_testsuite/scripts/extension_validation.py" + if [[ ! -f "${GATE}" ]]; then + echo "::error::Extension-validation gate script missing: ${GATE} not in the testsuite checkout (needs PR #916). Failing closed." + exit 1 + fi + python3 "${GATE}" results/results.json + # A wrapper/after_all failure can leave passing scenario records. Both + # the complete result gate and the actual process must succeed. + if [[ "${GNOME_E2E_BEHAVE_RC}" != "0" ]]; then + echo "::error::qecore/Behave did not exit successfully (${GNOME_E2E_BEHAVE_RC:-missing exit code})" + exit 1 + fi + + # ── Mandatory-coverage gate (every other suite) ─────────────────────────── + # The run step records behave's exit code without failing, and the + # summarise step only renders a headline, so without this gate a lane that + # executed nothing (missing/empty/truncated results.json, setup failure, + # zero passing scenarios) finished green. scripts/assert_passed.py is the + # same verdict contract e2e.yml uses for its desktop suites. + - name: Gate suite has passing scenarios + if: always() && inputs.suite != 'extensions' && inputs.suite != 'gnomeos-canary' + shell: bash + env: + GNOME_E2E_BEHAVE_RC: ${{ steps.run.outputs.behave_rc }} + run: | + GATE="_testsuite/scripts/assert_passed.py" + if [[ ! -f "${GATE}" ]]; then + echo "::error::Mandatory-coverage gate script missing: ${GATE} not in the testsuite checkout. Failing closed." + exit 1 + fi + python3 "${GATE}" results/results.json + if [[ "${GNOME_E2E_BEHAVE_RC}" != "0" ]]; then + echo "::error::qecore/Behave did not exit successfully (${GNOME_E2E_BEHAVE_RC:-missing exit code})" + exit 1 + fi diff --git a/.github/pinned-fetches-allowlist.txt b/.github/pinned-fetches-allowlist.txt new file mode 100644 index 000000000..210930040 --- /dev/null +++ b/.github/pinned-fetches-allowlist.txt @@ -0,0 +1,41 @@ +# Pinned-fetches allowlist for projectbluefin/actions reusable-pinned-fetches +# (projectbluefin/utah#902, Option A). +# +# One entry per line. A bare rule id disables that rule; any other line +# suppresses one finding whose printed text contains it. Lines starting with +# '#' are comments. Every entry below is a reviewed non-fetch or a reference +# the suite is handed by its caller, not a tool this repository downloads. + +# The image under test is an input: the caller (an image repository's gate or +# a manual dispatch) chooses the ref, usually a digest, and the suite boots or +# `bootc switch`es the VM to exactly that. The suite verifies the image; it +# does not fetch a tool from it. +inputs.target-image +Full OCI ref to upgrade TO +Pre-stage target image via bootc switch +OCI image to test (e.g. +Full OCI image reference (e.g. +default: "ghcr.io/projectbluefin/bluefin:latest" +Target OCI image to bootc switch to +Run bootc switch to target image +sudo bootc switch '${TARGET_IMAGE}' +bootc switch completed +after bootc switch + reboot + +# Justfile local recipes name the stream a developer wants to run the suite +# against on their own machine; nothing from CI consumes these lines. +"ghcr.io/ublue-os/bluefin:latest" +"ghcr.io/ublue-os/bluefin-dx:latest" +"ghcr.io/ublue-os/bluefin-nvidia:latest" + +# Harness image built in the same job and never pulled from a registry. +localhost/gnomeos-harness:canary + +# String normalisation of a user-supplied ref before a registry query, not a +# download (update-v1-tag.yml). +NAME="${NAME}:latest" + +# Shallow clone immediately followed by `git fetch`/`git checkout` of the +# committed SELENIUM_AT_SPI_SHA and a `git rev-parse HEAD` comparison that +# aborts on mismatch (scripts/install-kde-webdriver.sh). +git clone --quiet --depth 1 "${SELENIUM_AT_SPI_URL}" diff --git a/.github/workflows/build-kde-runner.yml b/.github/workflows/build-kde-runner.yml index ffd9551c8..87dcda142 100644 --- a/.github/workflows/build-kde-runner.yml +++ b/.github/workflows/build-kde-runner.yml @@ -11,6 +11,11 @@ # - container/Containerfile.kde-runner or its requirements change # - Weekly on Monday (keeps base OS + pip packages fresh) # - Manual dispatch +# +# Validated on pull_request so a base-image (Containerfile) digest bump that breaks +# the microdnf steps surfaces at PR time, not only after merge or on next week's +# cron tick. On pull_request the build runs but does not push to the mutable +# `kde-runner` tag (see `push:` below); only push to main publishes. name: Build KDE runner image @@ -21,6 +26,12 @@ on: - container/Containerfile.kde-runner - container/requirements.kde-runner.txt - .github/workflows/build-kde-runner.yml + pull_request: + branches: [main] + paths: + - container/Containerfile.kde-runner + - container/requirements.kde-runner.txt + - .github/workflows/build-kde-runner.yml schedule: - cron: "0 3 * * 1" # weekly Monday 03:00 UTC — keep base + pip deps fresh workflow_dispatch: @@ -40,22 +51,22 @@ jobs: uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 - name: Log in to GHCR - uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4 + uses: docker/login-action@8aa5831fb8d48d8f76594c7ddde61ae58019f550 # v4 with: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - name: Set up Docker Buildx - uses: docker/setup-buildx-action@37fe631027851001ddb9b187196cc803df7f5f0e # v4 + uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4 - name: Build and push id: build - uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7 + uses: docker/build-push-action@c3c9e263c25d99ce0380d002d59b67737d91b0dc # v7 with: context: . file: container/Containerfile.kde-runner - push: true + push: ${{ github.event_name != 'pull_request' }} tags: | ghcr.io/projectbluefin/testsuite-kde-runner:kde-runner ghcr.io/projectbluefin/testsuite-kde-runner:kde-runner-${{ github.sha }} @@ -64,4 +75,5 @@ jobs: platforms: linux/amd64 - name: Image digest + if: github.event_name != 'pull_request' run: echo "Pushed ghcr.io/projectbluefin/testsuite-kde-runner:kde-runner @ ${{ steps.build.outputs.digest }}" diff --git a/.github/workflows/build-runner.yml b/.github/workflows/build-runner.yml index c925aa2b1..e3ad321a4 100644 --- a/.github/workflows/build-runner.yml +++ b/.github/workflows/build-runner.yml @@ -4,11 +4,17 @@ # # Triggered when: # - container/Containerfile.runner changes (new deps) +# - .github/workflows/build-runner.yml changes (action refs, step edits) # - Weekly on Monday (keeps base OS + pip packages fresh) # - Manual dispatch # # Consumers: .github/workflows/e2e.yml pulls this image on the ubuntu runner # and pipes it into the QEMU VM to skip slow in-VM pip installs. +# +# Validated on pull_request so a base-image (Containerfile) digest bump that breaks +# the microdnf steps surfaces at PR time, not only after merge or on next week's +# cron tick. On pull_request the build runs but does not push to the mutable +# `runner` tag (see `push:` below); only push to main publishes. name: Build test runner image @@ -17,6 +23,12 @@ on: branches: [main] paths: - container/Containerfile.runner + - .github/workflows/build-runner.yml + pull_request: + branches: [main] + paths: + - container/Containerfile.runner + - .github/workflows/build-runner.yml schedule: - cron: "0 3 * * 1" # weekly Monday 03:00 UTC — keep base + pip deps fresh workflow_dispatch: @@ -36,22 +48,22 @@ jobs: uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 - name: Log in to GHCR - uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4 + uses: docker/login-action@8aa5831fb8d48d8f76594c7ddde61ae58019f550 # v4 with: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - name: Set up Docker Buildx - uses: docker/setup-buildx-action@37fe631027851001ddb9b187196cc803df7f5f0e # v4 + uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4 - name: Build and push id: build - uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7 + uses: docker/build-push-action@c3c9e263c25d99ce0380d002d59b67737d91b0dc # v7 with: context: . file: container/Containerfile.runner - push: true + push: ${{ github.event_name != 'pull_request' }} tags: | ghcr.io/projectbluefin/testsuite:runner ghcr.io/projectbluefin/testsuite:runner-${{ github.sha }} @@ -60,4 +72,5 @@ jobs: platforms: linux/amd64 - name: Image digest + if: github.event_name != 'pull_request' run: echo "Pushed ghcr.io/projectbluefin/testsuite:runner @ ${{ steps.build.outputs.digest }}" diff --git a/.github/workflows/docs-validate.yml b/.github/workflows/docs-validate.yml index 8279b4717..91e9fa51c 100644 --- a/.github/workflows/docs-validate.yml +++ b/.github/workflows/docs-validate.yml @@ -14,14 +14,14 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: fetch-depth: 0 - name: Set up Python - uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5 + uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7 with: - python-version: "3.14" + python-version: "3.15" - name: Install check dependencies run: pip install pyyaml diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index a0e83fc05..870942bae 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -7,7 +7,7 @@ # No self-hosted runners. Pure GHA ubuntu-latest. # # Inputs: -# image — OCI image to test (default: ghcr.io/projectbluefin/dakota:latest) +# image — OCI image to test (default: ghcr.io/projectbluefin/dakota:testing) # suites — comma-separated suite names (default: smoke) # common runs in SSH mode on the runner; GUI suites use qecore. @@ -19,14 +19,19 @@ on: image: description: "OCI image to test" type: string - default: "ghcr.io/projectbluefin/dakota:latest" + default: "ghcr.io/projectbluefin/dakota:testing" target-image: description: "Full OCI ref to upgrade TO (optional). When set and lifecycle suite is running, stages this image via bootc switch before the test suite." type: string default: "" required: false suites: - description: "Comma-separated suites: smoke,developer,dx,software,vanilla-gnome,bazzite,common,lifecycle,installer,kde-smoke" + description: >- + Comma-separated suites: smoke,developer,dx,software,vanilla-gnome,bazzite,common,lifecycle,installer,kde-smoke,hardware,nvidia,security. + hardware, nvidia and security are hardware-oriented groups; when a + selected suite's every scenario is @hardware_blocked (no matching VM + hardware), the run is reported as blocked with the #706 reason and + the job fails instead of showing a green pass with zero tests run. type: string default: "smoke" compose_image: @@ -61,14 +66,41 @@ on: Example: "org.gnome.Calculator,io.github.kolunmi.Bazaar" type: string default: "" + selinux_enforcing: + description: > + Boot the guest with the candidate's own SELinux mode instead of + selinux=0, label the harness files, verify enforcing after boot and + run the AVC denial gate (#1024). Defaults to true; set false only + to fall back to the legacy selinux=0 boot while triaging. + type: boolean + default: true + migration-target: + description: > + Migration target image ref for cross-registry migration scenarios. + Only used when the lifecycle suite runs @migration scenarios. + Passed as MIGRATION_TARGET env var to behave; when empty the test code + falls back to its built-in default (ghcr.io/projectbluefin/bluefin:stable). + type: string + default: "" + required: false + extra-tags: + description: > + Additional behave tag expression appended to the tag filter. + Use to scope a run to a tag group, e.g. "migration" to run only + @migration scenarios within the lifecycle suite. + type: string + default: "" + required: false test_ref: description: > Git ref (branch, SHA, or tag) from which to check out the tests/ directory. - Defaults to main when the caller does not pass it. Caller workflows must + Defaults to v1, the tag the post-merge VM gate (update-v1-tag.yml) + moves only after the merged tests boot, so consumers that call + e2e.yml@v1 without a test_ref run the same validated tests. Caller workflows must resolve branch selection before entering workflow_call; do not use github.ref_name inside this file because GitHub resolves it to main here. type: string - default: "main" + default: "v1" test_repository: description: > Repository from which to check out the tests/ directory. Defaults to @@ -76,6 +108,11 @@ on: type: string default: "projectbluefin/testsuite" +# Deny-all default: jobs without an explicit permissions block (e.g. matrix) +# must not inherit the caller repository's default GITHUB_TOKEN scope. +# compose and e2e declare their own job-level permissions below. +permissions: {} + jobs: # Resolve comma-separated suite list into a JSON matrix matrix: @@ -86,18 +123,25 @@ jobs: steps: - name: Resolve suites id: resolve + env: + SUITES_INPUT: ${{ inputs.suites }} + IMAGE_INPUT: ${{ inputs.image }} run: | JSON=$(python3 -c " import json, sys parts = [s.strip() for s in sys.argv[1].split(',') if s.strip()] + image_name = sys.argv[2].lower().split('/')[-1].split(':')[0].split('@')[0] expanded = [] for p in parts: - if p in {'smoke', 'common', 'kde-smoke'}: + if p == 'smoke': + expanded.extend(['smoke-a', 'smoke-b', 'smoke-firefox']) + elif p == 'common' and 'dakota' not in image_name: expanded.extend([f'{p}-a', f'{p}-b']) else: + # Dakota's common coverage is two Dakota-only features; a split leaves one all-skipped half. expanded.append(p) print(json.dumps(expanded)) - " "${{ inputs.suites }}") + " "$SUITES_INPUT" "$IMAGE_INPUT") echo "suites=${JSON}" >> "$GITHUB_OUTPUT" echo "Suites: ${JSON}" @@ -211,15 +255,22 @@ jobs: sparse-checkout: | flatpak-app-list.txt tests - scripts/assert_kde_passed.py + scripts/all_skipped.py + scripts/assert_passed.py + scripts/suite_blocked.py scripts/check_quarantine_age.py scripts/install-kde-webdriver.sh scripts/e2e_summary.py + scripts/image_slug.py + scripts/selinux_collect_avc.sh + scripts/selinux_qualify.py + selinux_allowlist.yaml sparse-checkout-cone-mode: false - # smoke-a/smoke-b and common-a/common-b are parallel shards of their - # parent suites. SUITE_DIR is the physical directory. FEATURE_ARGS lists - # the specific feature files for this shard (empty = run all). + # smoke-a/smoke-b and common-a/common-b are parallel halves of their + # parent suites (Dakota runs common unsplit); kde-smoke has one feature file and runs unsharded. smoke-firefox owns the stateful + # Firefox feature exclusively. SUITE_DIR is the physical directory and + # FEATURE_ARGS lists the feature files for this shard (empty = run all). - name: Resolve suite shard id: shard run: | @@ -234,8 +285,13 @@ jobs: if "-" in suite: base, label = suite.rsplit("-", 1) - if base in {"smoke", "common", "kde-smoke"} and label in {"a", "b"}: + if base == "smoke" and label == "firefox": + suite_dir = base + feature_args = "tests/smoke/features/firefox.feature" + elif base in {"smoke", "common"} and label in {"a", "b"}: files = sorted(glob.glob(f"tests/{base}/features/*.feature")) + if base == "smoke": + files = [path for path in files if not path.endswith("/firefox.feature")] if not files: raise SystemExit(f"No feature files found for tests/{base}/features/*.feature") chunk_size = math.ceil(len(files) / 2) @@ -246,6 +302,7 @@ jobs: suite_dir = base feature_args = " ".join(chunk) + screenshot_suite = suite_dir if suite != suite_dir else suite with open(os.environ["GITHUB_OUTPUT"], "a", encoding="utf-8") as fh: @@ -264,7 +321,7 @@ jobs: # suites must preload any explicitly-tested Flatpaks after SSH comes up. # Cache a small user Flatpak repo on the runner, then inject and deploy it in-VM. - name: Restore Flatpak download cache - if: ${{ contains(inputs.image, '/bluefin') && steps.shard.outputs.suite_dir != 'common' && steps.shard.outputs.suite_dir != 'lifecycle' }} + if: ${{ (contains(inputs.image, '/bluefin') || contains(inputs.image, '/utah')) && steps.shard.outputs.suite_dir != 'common' && steps.shard.outputs.suite_dir != 'lifecycle' }} id: flatpak-cache uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6 with: @@ -274,7 +331,7 @@ jobs: flatpak-home-${{ runner.os }}- - name: Prime Flatpak download cache - if: ${{ contains(inputs.image, '/bluefin') && steps.shard.outputs.suite_dir != 'common' && steps.shard.outputs.suite_dir != 'lifecycle' && steps.flatpak-cache.outputs.cache-hit != 'true' }} + if: ${{ (contains(inputs.image, '/bluefin') || contains(inputs.image, '/utah')) && steps.shard.outputs.suite_dir != 'common' && steps.shard.outputs.suite_dir != 'lifecycle' && steps.flatpak-cache.outputs.cache-hit != 'true' }} run: | sudo apt-get update -q sudo apt-get install -y --no-install-recommends flatpak @@ -296,7 +353,9 @@ jobs: flathub "${APPS[@]}" - name: Free disk space - uses: ublue-os/remove-unwanted-software@cc0becac701cf642c8f0a6613bbdaf5dc36b259e # v9 + uses: projectbluefin/actions/bootc-build/setup-runner@6453818f6279a2f2c1282919aad0009a88c01819 # v1 + with: + update-podman: "false" - name: Enable KVM access run: | @@ -331,12 +390,20 @@ jobs: echo "VM_PUBKEY=$(cat /tmp/vm_key.pub)" >> "$GITHUB_ENV" # Install OCI image to a raw disk and configure it for CI testing. - # bootc install to-disk deploys ostree layers but fails at the bootloader - # step (bootupd not in the image). We catch that, then set up direct QEMU - # kernel boot so OVMF/systemd-boot is not needed. + # bootc install to-disk fails in one of two ways, and only one is fatal: + # - Late: the ostree deployment is written, then the bootloader step + # fails (bootupd not in the image; bootc >=1.17 says "bootupd is + # required for ostree-based installs"). Direct QEMU kernel boot below + # needs no bootloader, so the step continues. + # - Early: nothing is deployed. bootc >=1.17 reads the new root + # partition's type from udev ~200 ms after sfdisk; on GHA runners udev + # has not always processed loopNp3 by then and bootc aborts with + # "root partition 3 has type " (Dakota, run 42611596358). That + # is a race, so an early failure is retried before the step fails. - name: Install OCI image and configure disk env: SUITE_DIR: ${{ steps.shard.outputs.suite_dir }} + SELINUX_ENFORCING: ${{ inputs.selinux_enforcing && 'true' || 'false' }} run: | # The NVIDIA release candidate used 92% of a 32 GiB disk in run # 30926761425. A 40 GiB disk leaves roughly 26% free at that same @@ -354,49 +421,78 @@ jobs: fi BOOTC_INSTALL_LOG="$(pwd)/bootc-install.log" - set +e - sudo podman run \ - --rm --privileged --pid=host \ - --security-opt label=type:unconfined_t \ - -v /var/lib/containers:/var/lib/containers \ - -v /dev:/dev \ - -v "$(pwd):/data" \ - "${IMAGE}" bootc install to-disk \ - --via-loopback /data/disk.raw \ - --filesystem ext4 \ - --wipe \ - ${BOOTLOADER_FLAG} \ - 2>&1 | tee "${BOOTC_INSTALL_LOG}" - BOOTC_INSTALL_RC=${PIPESTATUS[0]} - set -e - if [[ ${BOOTC_INSTALL_RC} -ne 0 ]]; then - echo "bootc install exited ${BOOTC_INSTALL_RC}; checking whether deployment was written before continuing" - echo "bootc install log saved to ${BOOTC_INSTALL_LOG}" - fi - - LOOP=$(sudo losetup -f --show -P disk.raw) - echo "Loop: ${LOOP}" + BOOTC_INSTALL_ATTEMPTS=3 sudo mkdir -p /mnt/root + DEPLOY="" + for ATTEMPT in $(seq 1 "${BOOTC_INSTALL_ATTEMPTS}"); do + echo "bootc install to-disk: attempt ${ATTEMPT}/${BOOTC_INSTALL_ATTEMPTS}" + # bootc 1.17 reads the new root partition's type from udev ~200 ms + # after sfdisk. On GitHub-hosted runners udev accumulates a backlog + # and has not always processed loopNp3 by then, so bootc aborts with + # "root partition 3 has type " (Dakota, run 42611596358). The + # previous settle ran after the loopback was released, before the new + # partition existed, so it never helped. Trigger the block subsystem + # and settle here, before bootc creates the partition, so it is + # registered before bootc reads it. + sudo udevadm trigger --subsystem-match=block --action=change + sudo udevadm settle --timeout=30 || true + set +e + sudo podman run \ + --rm --privileged --pid=host \ + --security-opt label=type:unconfined_t \ + -v /var/lib/containers:/var/lib/containers \ + -v /dev:/dev \ + -v "$(pwd):/data" \ + "${IMAGE}" bootc install to-disk \ + --via-loopback /data/disk.raw \ + --filesystem ext4 \ + --wipe \ + ${BOOTLOADER_FLAG} \ + 2>&1 | tee "${BOOTC_INSTALL_LOG}" + BOOTC_INSTALL_RC=${PIPESTATUS[0]} + set -e + if [[ ${BOOTC_INSTALL_RC} -ne 0 ]]; then + echo "bootc install exited ${BOOTC_INSTALL_RC}; checking whether deployment was written before continuing" + fi - ROOT_PART="${LOOP}p3" - ROOT_UUID=$(sudo blkid -s UUID -o value "${ROOT_PART}") - echo "root=${ROOT_PART} uuid=${ROOT_UUID}" - - sudo mount "${ROOT_PART}" /mnt/root + LOOP=$(sudo losetup -f --show -P disk.raw) + echo "Loop: ${LOOP}" + ROOT_PART="${LOOP}p3" + # An early failure leaves p3 missing or without a filesystem. Probe + # before mounting so that case reaches the retry and the error below + # instead of ending the step on a bare "mount: wrong fs type". + if sudo blkid -s TYPE -o value "${ROOT_PART}" >/dev/null 2>&1 \ + && sudo mount "${ROOT_PART}" /mnt/root; then + DEPLOY=$(sudo find /mnt/root/ostree/deploy/default/deploy/ -mindepth 1 -maxdepth 1 -type d -printf '%f\n' 2>/dev/null | head -1) + if [[ -n "${DEPLOY}" ]]; then + break + fi + sudo umount /mnt/root + fi + sudo losetup -d "${LOOP}" + if [[ ${BOOTC_INSTALL_RC} -eq 0 || ${ATTEMPT} -eq ${BOOTC_INSTALL_ATTEMPTS} ]]; then + break + fi + echo "No deployment written; retrying bootc install to-disk" + # Release any loop device bootc left on disk.raw and let udev drain + # its events before --wipe repartitions the same file. + for STALE_LOOP in $(sudo losetup -n -O NAME -j disk.raw); do + sudo losetup -d "${STALE_LOOP}" || true + done + done - DEPLOY=$(sudo find /mnt/root/ostree/deploy/default/deploy/ -mindepth 1 -maxdepth 1 -type d -printf '%f\n' 2>/dev/null | head -1) if [[ -z "${DEPLOY}" ]]; then - echo "ERROR: ostree deployment missing — bootc install failed before writing layers" - if [[ ${BOOTC_INSTALL_RC} -ne 0 ]]; then - echo "bootc install exited ${BOOTC_INSTALL_RC}; full install log:" - cat "${BOOTC_INSTALL_LOG}" - fi - sudo ls -la /mnt/root/ || true + BOOTC_ERROR=$(grep -m1 '^error:' "${BOOTC_INSTALL_LOG}" || true) + echo "::error title=bootc install wrote no deployment::bootc install to-disk could not deploy ${IMAGE} (${ATTEMPT} attempt(s), last exit ${BOOTC_INSTALL_RC}): ${BOOTC_ERROR:-no error line in bootc-install.log}" + echo "Full install log of the last attempt:" + cat "${BOOTC_INSTALL_LOG}" exit 1 fi if [[ ${BOOTC_INSTALL_RC} -ne 0 ]]; then echo "bootc install exited ${BOOTC_INSTALL_RC} after writing deployment ${DEPLOY}; continuing with direct kernel boot" fi + ROOT_UUID=$(sudo blkid -s UUID -o value "${ROOT_PART}") + echo "root=${ROOT_PART} uuid=${ROOT_UUID}" D="/mnt/root/ostree/deploy/default/deploy/${DEPLOY}" VAR="/mnt/root/ostree/deploy/default/var" # el10/LTS images may have multiple entries in usr/lib/modules/ (e.g., a @@ -502,8 +598,41 @@ jobs: # # systemd.journald.forward_to_console=1 — forward full journal to serial for # diagnostics when SSH fails (output captured in vm-serial.log artifact). - KERNEL_ARGS="root=UUID=${ROOT_UUID} rw ostree=${OSTREE_PATH} systemd.firstboot=no selinux=0 console=ttyS0,115200 systemd.journald.forward_to_console=1 systemd.mask=brew-setup.service systemd.mask=NetworkManager-wait-online.service systemd.mask=firewalld.service systemd.mask=wpa_supplicant.service systemd.mask=flatpak-preinstall.service systemd.mask=podman-auto-update.service systemd.mask=podman-auto-update.timer systemd.mask=malcontent-webd.service systemd.mask=malcontent-webd-update.service systemd.mask=malcontent-control.service systemd.mask=speech-dispatcherd.service systemd.mask=avahi-daemon.service systemd.mask=avahi-daemon.socket systemd.mask=cups.service systemd.mask=cups.path systemd.mask=cups.socket systemd.mask=cups.browsed.service systemd.mask=blueman-mechanism.service systemd.mask=gnome-remote-desktop.service systemd.mask=bazzite-hardware-setup.service systemd.mask=greenboot-healthcheck.service systemd.mask=greenboot-set-rollback-trigger.service systemd.mask=systemd-udev-settle.service" + KERNEL_ARGS="root=UUID=${ROOT_UUID} rw ostree=${OSTREE_PATH} systemd.firstboot=no console=ttyS0,115200 systemd.journald.forward_to_console=1 systemd.mask=brew-setup.service systemd.mask=NetworkManager-wait-online.service systemd.mask=firewalld.service systemd.mask=wpa_supplicant.service systemd.mask=flatpak-preinstall.service systemd.mask=podman-auto-update.service systemd.mask=podman-auto-update.timer systemd.mask=malcontent-webd.service systemd.mask=malcontent-webd-update.service systemd.mask=malcontent-control.service systemd.mask=speech-dispatcherd.service systemd.mask=avahi-daemon.service systemd.mask=avahi-daemon.socket systemd.mask=cups.service systemd.mask=cups.path systemd.mask=cups.socket systemd.mask=cups.browsed.service systemd.mask=blueman-mechanism.service systemd.mask=gnome-remote-desktop.service systemd.mask=bazzite-hardware-setup.service systemd.mask=greenboot-healthcheck.service systemd.mask=greenboot-set-rollback-trigger.service systemd.mask=systemd-udev-settle.service systemd.wants=sshd.service" + # Enforcing mode is the default (inputs.selinux_enforcing); passing + # false falls back to the legacy SELinux-off boot. + if [[ "${SELINUX_ENFORCING}" != "true" ]]; then + KERNEL_ARGS="${KERNEL_ARGS} selinux=0" + fi echo "KERNEL_ARGS=${KERNEL_ARGS}" >> "$GITHUB_ENV" + # SELinux: the guest boots with the candidate's own mode, which must + # be enforcing whenever the image ships a policy store (#1024). + # bootc labels everything it installs, but files written below on + # this non-SELinux runner carry no label and would be unlabeled_t in + # the guest. Record what is already unlabeled first: that is + # candidate-owned and is left alone so its defects stay visible. + if [[ "${SELINUX_ENFORCING}" == "true" ]]; then + SELINUX_INFO=$(sudo python3 -I scripts/selinux_qualify.py expected-mode "${D}") + else + SELINUX_INFO="off none" + fi + SELINUX_EXPECTED="${SELINUX_INFO% *}" + SELINUX_POLICY="${SELINUX_INFO#* }" + echo "SELinux: expected=${SELINUX_EXPECTED} policy=${SELINUX_POLICY}" + echo "SELINUX_EXPECTED=${SELINUX_EXPECTED}" >> "$GITHUB_ENV" + SELINUX_DIR="$(pwd)/results/selinux" + STATEROOT="/mnt/root/ostree/deploy/default" + mkdir -p "${SELINUX_DIR}" + if [[ "${SELINUX_EXPECTED}" == enforcing ]]; then + for DEP in $(sudo find "${STATEROOT}/deploy" -maxdepth 1 -mindepth 1 -type d 2>/dev/null); do + sudo python3 -I scripts/selinux_qualify.py unlabeled --root "${DEP}" "${DEP}/etc" \ + > "${SELINUX_DIR}/baseline-unlabeled-$(basename "${DEP}").txt" + done + sudo python3 -I scripts/selinux_qualify.py unlabeled --root "${STATEROOT}" "${VAR}" \ + > "${SELINUX_DIR}/baseline-unlabeled-var.txt" + echo "Unlabeled before harness changes (candidate-owned, not relabeled):" + wc -l "${SELINUX_DIR}"/baseline-unlabeled-*.txt + fi # Apply user + sshd config to ALL deployments in this stateroot. # bootc may deploy with a different checksum than what `ls|head-1` @@ -511,6 +640,10 @@ jobs: BFT_UID=1001 for DEP in $(sudo find /mnt/root/ostree/deploy/default/deploy \ -maxdepth 1 -mindepth 1 -type d 2>/dev/null); do + # CI VMs are not users: opt out of the daily countme ping + # (projectbluefin-countme.service honours this marker). + sudo mkdir -p "${DEP}/etc/projectbluefin/countme" + sudo touch "${DEP}/etc/projectbluefin/countme/disabled" # Enable sshd sudo mkdir -p "${DEP}/etc/systemd/system/multi-user.target.wants/" @@ -527,6 +660,13 @@ jobs: # Use '*' (no-password, not locked) so pam_unix account check passes printf 'bluefin-test:*:19000:0:99999:7:::\n' | sudo tee -a "${DEP}/etc/shadow" printf 'bluefin-test:x:%d:\n' "${BFT_UID}" | sudo tee -a "${DEP}/etc/group" + # Add it to wheel like a real first-run (administrator) account: + # common's org.ublue.privileged.user.setup polkit rule grants + # wheel only (projectbluefin/common#1108), so without it the + # 99-privileged.sh hook's pkexec is denied and + # ublue-user-setup.service fails. Appends to the member list, + # with a comma when wheel already has members. + sudo sed -i -E '/^wheel:/{s/([^:])$/\1,bluefin-test/;s/:$/:bluefin-test/}' "${DEP}/etc/group" fi # sshd drop-in: named 00- so it sorts BEFORE 20-systemd-userdb.conf. @@ -550,10 +690,14 @@ jobs: "${BFT_UID}" "${BFT_UID}" | \ sudo tee "${DEP}/etc/tmpfiles.d/ci-user.conf" - # Passwordless sudo for test operations + # Passwordless sudo for test operations. sudoers.d is read in + # lexical order and the last matching rule wins: freedesktop-sdk + # images (Dakota, GNOME OS) ship %wheel ALL=(ALL) ALL as + # sudoers.d/wheel, and bluefin-test is in wheel, so this file must + # sort after "wheel" or sudo asks for a password over SSH. printf 'bluefin-test ALL=(ALL) NOPASSWD:ALL\n' | \ - sudo tee "${DEP}/etc/sudoers.d/bluefin-test" - sudo chmod 440 "${DEP}/etc/sudoers.d/bluefin-test" + sudo tee "${DEP}/etc/sudoers.d/zz-bluefin-test" + sudo chmod 440 "${DEP}/etc/sudoers.d/zz-bluefin-test" # Pre-bake GDM autologin sudo mkdir -p "${DEP}/etc/gdm" @@ -617,7 +761,7 @@ jobs: # gnome-extensions install, no ReloadExtension (removed in GNOME 47). if [[ "${SUITE_DIR}" != kde* ]]; then sudo mkdir -p "${VAR}/home/bluefin-test/.local/share/gnome-shell/extensions/unsafe-mode@bluefin-test" - printf '{"uuid":"unsafe-mode@bluefin-test","name":"Unsafe Mode for Testing","description":"Enables Shell.Eval for automated testing","shell-version":["50","49","48","47","46","45"],"version":1}\n' | \ + printf '{"uuid":"unsafe-mode@bluefin-test","name":"Unsafe Mode for Testing","description":"Enables Shell.Eval for automated testing","shell-version":["51","50","49","48","47","46","45"],"version":1}\n' | \ sudo tee "${VAR}/home/bluefin-test/.local/share/gnome-shell/extensions/unsafe-mode@bluefin-test/metadata.json" > /dev/null sudo tee "${VAR}/home/bluefin-test/.local/share/gnome-shell/extensions/unsafe-mode@bluefin-test/extension.js" > /dev/null << 'EXTEOF' import {Extension} from 'resource:///org/gnome/shell/extensions/extension.js'; @@ -653,6 +797,42 @@ jobs: sudo chmod 644 "${DEP}/etc/ssh/ci-authorized-keys" done + # Label exactly the files the harness added, using the candidate's own + # setfiles and file_contexts so the result matches what the guest + # policy expects. -m: this runner's mounts carry no seclabel flag. + if [[ "${SELINUX_EXPECTED}" == enforcing ]]; then + label_harness_files() { # ROOT FILE_CONTEXTS BASELINE LIST SCAN_PATH + sudo python3 -I scripts/selinux_qualify.py unlabeled --root "$1" --exclude "$3" "$5" > "$4" + if [[ -s "$4" ]]; then + sudo podman run --rm --privileged --network none \ + --security-opt label=disable \ + -v /mnt/root:/mnt/root \ + -v "${SELINUX_DIR}:${SELINUX_DIR}:ro" \ + "${IMAGE}" setfiles -m -F -r "$1" -f "$4" "$2" + fi + LEFT=$(sudo python3 -I scripts/selinux_qualify.py unlabeled --root "$1" --exclude "$3" "$5") + if [[ -n "${LEFT}" ]]; then + echo "::error::harness files still unlabeled after setfiles:" + echo "${LEFT}" + exit 1 + fi + } + for DEP in $(sudo find "${STATEROOT}/deploy" -maxdepth 1 -mindepth 1 -type d 2>/dev/null); do + NAME=$(basename "${DEP}") + label_harness_files "${DEP}" \ + "${DEP}/etc/selinux/${SELINUX_POLICY}/contexts/files/file_contexts" \ + "${SELINUX_DIR}/baseline-unlabeled-${NAME}.txt" \ + "${SELINUX_DIR}/harness-labeled-${NAME}.txt" \ + "${DEP}/etc" + done + label_harness_files "${STATEROOT}" \ + "${D}/etc/selinux/${SELINUX_POLICY}/contexts/files/file_contexts" \ + "${SELINUX_DIR}/baseline-unlabeled-var.txt" \ + "${SELINUX_DIR}/harness-labeled-var.txt" \ + "${VAR}" + echo "Harness files labeled with the candidate policy:" + wc -l "${SELINUX_DIR}"/harness-labeled-*.txt + fi # Pre-boot diagnostics: confirm key files and sshd drop-in are correct. echo "=== ci-authorized-keys ===" for DEP in $(sudo find /mnt/root/ostree/deploy/default/deploy \ @@ -691,6 +871,7 @@ jobs: -device virtio-blk-pci,drive=disk,iothread=ioth0 \ -netdev user,id=net0,hostfwd=tcp::2222-:22,hostfwd=tcp:127.0.0.1:4723-:4723 \ -device virtio-net-pci,netdev=net0 \ + -vga none \ -device virtio-gpu-pci \ -display none \ -monitor unix:/tmp/qemu-monitor.sock,server,nowait \ @@ -707,7 +888,7 @@ jobs: [[ -S /tmp/qemu-monitor.sock ]] && echo "QEMU monitor socket ready." \ || echo "WARNING: QEMU monitor socket not found after 5s" - # selinux=0 + pre-generated host keys + masked slow services = SSH ready in ~90s + # Pre-generated host keys + masked slow services = SSH ready in ~90s - name: Wait for SSH run: | SSH_COMMON="-i /tmp/vm_key -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o BatchMode=yes -o ControlMaster=auto -o ControlPersist=600 -o ControlPath=/tmp/ssh-ctrl-%C -o ConnectTimeout=3" @@ -730,6 +911,22 @@ jobs: grep -i "dbus\|broker\|ostree-system\|composefs\|FAILED\|Error" "$(pwd)/vm-serial.log" 2>/dev/null | tail -40 || echo "(none found)" exit 1 + # Fail early if the guest is not enforcing: every later result would be + # a qualification of the wrong security posture. + - name: Verify SELinux enforcing + if: env.SELINUX_EXPECTED != 'off' + run: | + SSH_COMMON="-i /tmp/vm_key -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o BatchMode=yes -o ControlMaster=auto -o ControlPersist=600 -o ControlPath=/tmp/ssh-ctrl-%C -o ConnectTimeout=3" + SSH="ssh ${SSH_COMMON} -p 2222 bluefin-test@127.0.0.1" + mkdir -p results/selinux + OBSERVED=$($SSH "getenforce 2>/dev/null" || true) + echo "image=${BASE_IMAGE} booted=${IMAGE} expected=${SELINUX_EXPECTED:-enforcing} after-boot=${OBSERVED:-none}" \ + | tee results/selinux/mode.txt + $SSH "sestatus 2>&1; id -Z; ls -Z /etc/group /etc/ssh/ci-authorized-keys /etc/ssh/sshd_config.d/00-ci-auth.conf /etc/sudoers.d/zz-bluefin-test ~/.ssh/authorized_keys 2>&1" \ + > results/selinux/contexts-boot.txt 2>&1 || true + cat results/selinux/contexts-boot.txt + python3 scripts/selinux_qualify.py check-mode "${SELINUX_EXPECTED:-enforcing}" "${OBSERVED}" + - name: Pre-stage target image via bootc switch if: ${{ inputs.target-image != '' && contains(inputs.suites, 'lifecycle') && env.SUITE == 'lifecycle' }} run: | @@ -770,15 +967,14 @@ jobs: run: | SSH_COMMON="-i /tmp/vm_key -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o BatchMode=yes -o ControlMaster=auto -o ControlPersist=600 -o ControlPath=/tmp/ssh-ctrl-%C -o ConnectTimeout=3" SSH="ssh ${SSH_COMMON} -p 2222 bluefin-test@127.0.0.1" - IMAGE_SLUG="${BASE_IMAGE##*/}" - IMAGE_SLUG="${IMAGE_SLUG//:/-}" + IMAGE_SLUG=$(python3 scripts/image_slug.py "${BASE_IMAGE}") BOOT_TIME=$($SSH "systemd-analyze time 2>/dev/null | head -1" 2>/dev/null || echo "unavailable") echo "### Boot time: ${IMAGE_SLUG}" >> "$GITHUB_STEP_SUMMARY" echo '```' >> "$GITHUB_STEP_SUMMARY" echo "${BOOT_TIME}" >> "$GITHUB_STEP_SUMMARY" echo '```' >> "$GITHUB_STEP_SUMMARY" - name: Install cached Flatpaks in VM - if: ${{ contains(inputs.image, '/bluefin') && steps.shard.outputs.suite_dir != 'common' && steps.shard.outputs.suite_dir != 'lifecycle' }} + if: ${{ (contains(inputs.image, '/bluefin') || contains(inputs.image, '/utah')) && steps.shard.outputs.suite_dir != 'common' && steps.shard.outputs.suite_dir != 'lifecycle' }} run: | SSH_COMMON="-i /tmp/vm_key -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o BatchMode=yes -o ControlMaster=auto -o ControlPersist=600 -o ControlPath=/tmp/ssh-ctrl-%C -o ConnectTimeout=3" CACHE_ROOT="${GITHUB_WORKSPACE}/.flatpak-cache-home/.local/share" @@ -1194,13 +1390,13 @@ jobs: # grim includes its own copy of wlr-screencopy-unstable-v1.xml so no # external wlr-protocols package is needed. mkdir -p /tmp/ponytail-build - podman run --rm -v /tmp/ponytail-build:/out:Z debian:bookworm bash -c " + podman run --rm -v /tmp/ponytail-build:/out:Z debian:bookworm@sha256:268fb24c39bca92d326dd83ea3abebe4a3f7751c804ffef23bb6d857dd343ff8 bash -c " set -e export DEBIAN_FRONTEND=noninteractive apt-get update -qq apt-get install -y -qq build-essential meson ninja-build pkg-config \ libglib2.0-dev libwayland-dev wayland-protocols libcairo2-dev libpng-dev git - git clone --quiet --depth 1 --branch 0.0.11 https://gitlab.gnome.org/ofourdan/gnome-ponytail-daemon.git /src + git clone --quiet --depth 1 --branch 0.0.11 https://gitlab.gnome.org/ofourdan/gnome-ponytail-daemon.git /src && test \"\$(git -C /src rev-parse HEAD)\" = 72f222d912de8105208f6faa865b71480c189924 || exit 1 # systemd dep is only used to find systemduserunitdir; we provide it directly sed -i \"s/dependency('systemd')/dependency('systemd', required: false)/\" /src/meson.build meson setup /src/build /src --prefix=/usr -Dsystemd_user_unit_dir=/usr/lib/systemd/user -Dponytail_python=false @@ -1208,12 +1404,18 @@ jobs: cp /src/build/src/gnome-ponytail-daemon /out/ # Build wayland-protocols >=1.37 from source (bookworm ships 1.31, # grim 1.4+ needs 1.37 for ext-image-copy-capture-v1). - git clone --quiet --depth 1 --branch 1.37 \ - https://gitlab.freedesktop.org/wayland/wayland-protocols.git /wp + git clone --quiet --depth 1 --branch 1.37 https://gitlab.freedesktop.org/wayland/wayland-protocols.git /wp && test \"\$(git -C /wp rev-parse HEAD)\" = 4878e025a5fb95d8d14a05088974af60cbafebd0 || exit 1 meson setup /wp/build /wp --prefix=/usr ninja -C /wp/build install # Build grim (uses ext-image-copy-capture-v1, supported by mutter 47+) - git clone --quiet --depth 1 https://git.sr.ht/~emersion/grim /grim + # grim moved to gitlab.freedesktop.org (the sr.ht repo is frozen); + # pin a release and retry so a forge hiccup does not fail the suite. + for attempt in 1 2 3; do + git clone --quiet --depth 1 --branch v1.5.0 https://gitlab.freedesktop.org/emersion/grim.git /grim && test \"\$(git -C /grim rev-parse HEAD)\" = b7a99854e46945db9f50ba8d2417ac42321173d1 && break + rm -rf /grim + [ \"\$attempt\" = 3 ] && exit 1 + sleep 15 + done meson setup /grim/build /grim --prefix=/usr ninja -C /grim/build cp /grim/build/grim /out/ @@ -1240,7 +1442,13 @@ jobs: # Pre-start the daemon and wait for it to register on the session bus source /tmp/session.env - nohup \$HOME/.local/libexec/gnome-ponytail-daemon >/tmp/ponytail-daemon.log 2>&1 & + # Keep the daemon outside the SSH session scope: logind can kill + # session processes when the ControlMaster connection expires. + # Use a unit name the image cannot already own: on dakota:testing, + # systemd-run --unit=gnome-ponytail-daemon fails with already + # loaded or has a fragment file. + systemd-run --user --quiet --collect --unit=testsuite-ponytail-daemon \ + -- /bin/bash -c 'source /tmp/session.env; exec \$HOME/.local/libexec/gnome-ponytail-daemon >/tmp/ponytail-daemon.log 2>&1' for i in \$(seq 1 15); do dbus-send --session --print-reply \ --dest=org.freedesktop.DBus /org/freedesktop/DBus \ @@ -1283,6 +1491,8 @@ jobs: BEHAVE_RETRIES: 2 SKIP_NATIVE_APPS: ${{ inputs.skip_native_apps && 'true' || '' }} TARGET_IMAGE: ${{ inputs.target-image }} + MIGRATION_TARGET: ${{ inputs.migration-target }} + EXTRA_TAGS: ${{ inputs.extra-tags }} ZSTD_CHUNKED: ${{ inputs.chunked_enabled && 'true' || 'false' }} KDE_SKIP_REASON: ${{ steps.kde_webdriver.outputs.skip_reason }} run: | @@ -1290,6 +1500,7 @@ jobs: BEHAVE_RC=0 BEHAVE_TAG_ARGS="--tags ~quarantine --tags ~hardware_blocked" [[ "${SKIP_NATIVE_APPS}" == "true" ]] && BEHAVE_TAG_ARGS="${BEHAVE_TAG_ARGS} --tags ~native_app" + [[ -n "${EXTRA_TAGS}" ]] && BEHAVE_TAG_ARGS="${BEHAVE_TAG_ARGS} --tags ${EXTRA_TAGS}" # If the DUT was unsupported for KDE testing, emit a single skipped # scenario so the run is reported clearly instead of as a phantom failure. @@ -1322,6 +1533,20 @@ jobs: exit 0 fi + # If the selected suite is entirely @hardware_blocked (e.g. nvidia on a + # GPU-less VM), behave would run zero scenarios and still exit 0 -- a + # misleading green pass. Emit an explicit blocked result with the #706 + # reason, then fail the job so it is never a silent green. Mirrors the + # KDE "suite skipped" pattern above. This is structural: it covers every + # folded hardware-only suite (nvidia, and any future group), not one name. + SUITE_BLOCKED=$(python3 scripts/suite_blocked.py "tests/${SUITE_DIR}" 2>/dev/null) || SUITE_BLOCKED="RUNNABLE" + if [[ "${SUITE_BLOCKED}" == "BLOCKED" ]]; then + echo "suite_blocked=true" >> "$GITHUB_OUTPUT" + echo "::error::Suite '${SUITE_DIR}' is blocked: every scenario requires hardware the CI VM lacks (see https://github.com/projectbluefin/testsuite/issues/706)." + echo "behave_rc=0" >> "$GITHUB_OUTPUT" + exit 0 + fi + if [[ "${SUITE_DIR}" == "common" || "${SUITE_DIR}" == "lifecycle" || "${SUITE_DIR}" == "installer" ]]; then python3 -m pip install -q --user behave if [[ -n "${FEATURE_ARGS}" ]]; then @@ -1335,6 +1560,7 @@ jobs: SSH_KEY=/tmp/vm_key \ SSH_PORT=2222 \ ZSTD_CHUNKED="${ZSTD_CHUNKED}" \ + MIGRATION_TARGET="${MIGRATION_TARGET}" \ python3 tests/shared/behave_retry.py ${LOCAL_FEATURE_ARGS} \ --format json.pretty --outfile results/results.json \ --no-capture ${BEHAVE_TAG_ARGS} || BEHAVE_RC=$? @@ -1393,6 +1619,8 @@ jobs: # --pid=host: qecore reads GNOME session env from /proc//environ. # --privileged: AT-SPI socket access + uinput device passthrough. # --network host: D-Bus session bus traffic reaches ponytail daemon. + # Mount the VM runtime directory so libatspi can reach the + # session accessibility bus and any live application sockets. podman run --userns=keep-id --rm \ --pid=host \ --privileged \ @@ -1414,6 +1642,8 @@ jobs: -e PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin \ -e BEHAVE_RETRIES=${BEHAVE_RETRIES:-2} \ -e TARGET_IMAGE=\"${TARGET_IMAGE}\" \ + -e BASE_IMAGE=\"${BASE_IMAGE}\" \ + -e IMAGE=\"${IMAGE}\" \ -e PYTHONPATH=/tmp/bluefin-tests \ ghcr.io/projectbluefin/testsuite:runner \ \"python3 /tmp/bluefin-tests/tests/shared/behave_retry.py ${REMOTE_FEATURE_ARGS} --format json.pretty --outfile /tmp/results/results.json --no-capture ${BEHAVE_TAG_ARGS}\" @@ -1424,6 +1654,45 @@ jobs: echo "behave_rc=${BEHAVE_RC}" >> "$GITHUB_OUTPUT" + # Runs after the suite, so it also covers the state after any lifecycle + # reboot. A canary denial then proves the collection path reaches the + # verdict; without it a clean gate could mean "no logs" rather than + # "no denials". + - name: SELinux denial gate + if: always() && steps.run.conclusion != 'skipped' && env.SELINUX_EXPECTED == 'enforcing' + run: | + # Fresh connection: the VM may have rebooted during the suite. + SSH="ssh -i /tmp/vm_key -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o BatchMode=yes -o ControlMaster=no -o ConnectTimeout=10 -p 2222 bluefin-test@127.0.0.1" + D=results/selinux + mkdir -p "${D}" + DEADLINE=$((SECONDS + 300)) + until $SSH true 2>/dev/null; do + [[ $SECONDS -lt $DEADLINE ]] || { echo "::error::VM unreachable for the SELinux gate"; exit 1; } + sleep 5 + done + OBSERVED=$($SSH "getenforce 2>/dev/null" || true) + echo "after-run=${OBSERVED:-none}" | tee -a "${D}/mode.txt" + RC=0 + python3 scripts/selinux_qualify.py check-mode enforcing "${OBSERVED}" || RC=1 + $SSH 'sudo bash -s' < scripts/selinux_collect_avc.sh > "${D}/avc-scenario.log" + python3 scripts/selinux_qualify.py gate "${D}/avc-scenario.log" \ + --allowlist selinux_allowlist.yaml --json "${D}/avc-verdict.json" || RC=1 + # Canary: start a transient unit in httpd_t, which may not run + # /usr/bin/cat or read shadow_t. Output goes nowhere. + $SSH "sudo timeout 60 systemd-run --quiet --wait --collect -p StandardOutput=null -p StandardError=null -p SELinuxContext=system_u:system_r:httpd_t:s0 /usr/bin/cat /etc/shadow" || true + sleep 3 + $SSH 'sudo bash -s' < scripts/selinux_collect_avc.sh > "${D}/avc-after-canary.log" + python3 scripts/selinux_qualify.py canary "${D}/avc-scenario.log" "${D}/avc-after-canary.log" \ + --allowlist selinux_allowlist.yaml --json "${D}/canary.json" || RC=1 + { + echo "### SELinux qualification: $([[ ${RC} -eq 0 ]] && echo passed || echo FAILED)" + echo '```' + cat "${D}/mode.txt" + python3 scripts/selinux_qualify.py gate "${D}/avc-scenario.log" --allowlist selinux_allowlist.yaml 2>&1 | sed -E 's/^::[a-z]+:://' || true + echo '```' + } >> "$GITHUB_STEP_SUMMARY" + exit "${RC}" + - name: Capture post-upgrade desktop screenshot if: always() && env.SUITE == 'lifecycle' continue-on-error: true @@ -1541,8 +1810,10 @@ jobs: run: | # If the in-VM screenshot path (grim/gdbus inside the container) produced # nothing, capture the QEMU virtual framebuffer directly from the runner. - # mutter renders the GNOME desktop to bochs-drm (card1 / primary VGA), - # which QEMU maintains internally even with -display none. The monitor + # mutter renders the GNOME desktop to virtio-gpu, the VM's only display + # adapter (-vga none drops q35's default std VGA, which mutter used to + # light up as a second monitor and grim then captured side by side). + # QEMU maintains its framebuffer internally even with -display none. The monitor # socket was opened at VM boot; screendump writes a PPM to the runner host. if find results/ -name "screenshot_*fastfetch*.png" 2>/dev/null | grep -q .; then echo "In-VM screenshot already present -- skipping QEMU screendump fallback." @@ -1577,25 +1848,35 @@ jobs: echo "Desktop screenshot found: $SHOT" else echo "found=false" >> "$GITHUB_OUTPUT" + # An all-skipped suite (e.g. smoke-firefox on a Flatpak-only-Firefox + # image) has no desktop to capture. behave already exits 0 for it, so + # this is a graceful pass, not a missing artifact — don't fail the gate. if [[ "${SUITE_DIR}" != "common" && "${SUITE_DIR}" != "lifecycle" ]]; then - echo "::error::No desktop screenshot found for suite=${SUITE} — runner container may not have loaded or behave exited before after_all" - exit 1 + # Only non-exempt suites consult the guard: running it for an + # exempt suite would print its own ::error:: annotation (stdout, + # so 2>/dev/null does not hide it) for a step that passes anyway. + if python3 scripts/all_skipped.py results/results.json 2>/dev/null; then + echo "All scenarios skipped — no screenshot required, gate passes" + else + echo "::error::No desktop screenshot found for suite=${SUITE} — runner container may not have loaded or behave exited before after_all" + exit 1 + fi fi echo "No desktop screenshot in results/ — skipping promotion" fi + - name: Install ORAS CLI + if: steps.desktop-screenshot.outputs.found == 'true' + continue-on-error: true + uses: oras-project/setup-oras@5e2f2482b30b0cb3e14e67f89a80c88c659a7c63 # v2.0.3 + - name: Push desktop screenshot to GHCR if: steps.desktop-screenshot.outputs.found == 'true' id: upload-screenshot continue-on-error: true run: | - # Install oras — push the screenshot as an OCI artifact so any workflow + # Push the screenshot as an OCI artifact so any workflow # in the org can pull it with: oras pull ghcr.io/projectbluefin/testsuite/desktop-screenshot:latest - ORAS_VERSION="1.2.0" - curl -sSfL \ - "https://github.com/oras-project/oras/releases/download/v${ORAS_VERSION}/oras_${ORAS_VERSION}_linux_amd64.tar.gz" \ - | tar xz oras - sudo mv oras /usr/local/bin/oras echo "${{ github.token }}" | oras login ghcr.io -u "${{ github.actor }}" --password-stdin @@ -1613,8 +1894,7 @@ jobs: desktop-screenshot.png:image/png # Push image-slug-specific tag so publish-to-pages can pull without metadata artifacts. - # Slug: strip ghcr.io//, replace : and @ with - (e.g. bluefin-testing) - IMAGE_SLUG=$(echo "${BASE_IMAGE}" | sed 's|ghcr.io/[^/]*/||' | tr ':@' '--') + IMAGE_SLUG=$(python3 scripts/image_slug.py "${BASE_IMAGE}") # Push both the screenshot AND results.json if it exists ORAS_FILES="desktop-screenshot.png:image/png" if [[ -f results/results.json ]]; then @@ -1662,6 +1942,7 @@ jobs: env: SCREENSHOT_REF: ${{ steps.upload-screenshot.outputs.ref }} SCREENSHOT_SUITE_TAG: ${{ steps.upload-screenshot.outputs.suite_tag }} + SCREENSHOT_IMAGE_SLUG: ${{ steps.upload-screenshot.outputs.image_slug }} SCREENSHOT_FLATPAK_REFS: ${{ steps.upload-screenshot.outputs.flatpak_refs }} SCREENSHOT_IMAGE: ${{ env.SCREENSHOT_IMAGE }} run: | @@ -1669,8 +1950,10 @@ jobs: python3 - << 'PY' import json, os import subprocess, json as _json - from scripts.e2e_summary import count_scenarios, summary_icon - data = json.load(open('results/results.json')) + from scripts.e2e_summary import count_scenarios, load_report, summary_icon + # load_report salvages a results.json truncated by a mid-run crash; + # complete=False marks such a run INCOMPLETE rather than green. + data, complete = load_report(open('results/results.json').read()) counts = count_scenarios(data) passed = counts['passed'] failed = counts['failed'] @@ -1683,9 +1966,18 @@ jobs: # ✅ only when every scenario passed or was intentionally skipped; # ❌ on any failure; ⚠️ for undefined/untested/errored runs. icon = summary_icon(counts) + if not complete and icon == '✅': + icon = '⚠️' lines = [ - f'## {icon} E2E Results — GNOME 50 ({suite})', '', + f'## {icon} E2E Results ({suite})', '', + ] + if not complete: + lines += [ + '**⚠️ INCOMPLETE (results truncated):** `results.json` was cut off by a ' + 'mid-run crash; counts cover only the features that finished.', '', + ] + lines += [ '| Result | Count |', '|--------|-------|', f'| ✅ Passed | {passed} |', f'| ❌ Failed | {failed} |', @@ -1730,13 +2022,10 @@ jobs: ] # gh-pages stable URL - image_env = os.environ.get('BASE_IMAGE', '') - if '/' in image_env: - parts = image_env.replace('ghcr.io/', '').split('/') - slug = parts[-1] if len(parts) > 1 else parts[0] - else: - slug = 'bluefin-testing' - slug = slug.replace(':', '-') + slug = os.environ.get('SCREENSHOT_IMAGE_SLUG', '').strip() + if not slug: + from scripts.image_slug import get_image_slug + slug = get_image_slug(os.environ.get('BASE_IMAGE', '')) suite = os.environ.get('SUITE', 'smoke') gh_pages_url = f'https://projectbluefin.github.io/testsuite/screenshots/{slug}-{suite}-latest.png' lines += [ @@ -1815,7 +2104,7 @@ jobs: - name: Upload results artifact if: always() - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7 + uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7 with: name: e2e-results-${{ steps.artifact-metadata.outputs.artifact_suffix }}-${{ env.SUITE }} path: results/ @@ -1824,7 +2113,7 @@ jobs: - name: Upload serial log artifact if: always() - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7 + uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7 with: name: vm-serial-log-${{ steps.artifact-metadata.outputs.artifact_suffix }}-${{ env.SUITE }} path: vm-serial.log @@ -1835,12 +2124,46 @@ jobs: if: steps.run.outputs.behave_rc != '0' run: exit "${{ steps.run.outputs.behave_rc }}" - # Backstop: an all-skipped KDE run must NOT be reported as green. - # If the suite silently self-disables (e.g. webdriver not reachable), - # CI would stay green with zero real coverage. Assert passed > 0. - - name: Assert KDE suite has passing scenarios - if: startsWith(env.SUITE_DIR, 'kde') && steps.run.outputs.behave_rc == '0' - run: python3 scripts/assert_kde_passed.py results/results.json + # Backstop: every desktop suite and the common SSH suite must have at least one genuinely passing + # scenario. behave exits 0 when a setup failure (failed_setup.txt) or a + # self-disabled suite skips every scenario, so reading behave_rc alone is a + # false green. assert_passed.py is the verdict contract for these suites (the + # gnome-e2e action runs it too); it fails on the failed_setup marker, an + # empty/truncated results.json, or 0 passing scenarios. Optional documented + # skips (quarantine/pending/future) never fail it on their own. A + # deliberately inapplicable shard (KDE webdriver stack could not be + # installed) is passed through --skip-reason and is a passing terminal + # state for the gate, not a product failure. + - name: Assert suite has passing scenarios + if: | + (startsWith(env.SUITE_DIR, 'kde') || + env.SUITE_DIR == 'smoke' || env.SUITE_DIR == 'developer' || + env.SUITE_DIR == 'dx' || env.SUITE_DIR == 'software' || + env.SUITE_DIR == 'vanilla-gnome' || env.SUITE_DIR == 'bazzite' || + env.SUITE_DIR == 'common') && + steps.run.outputs.behave_rc == '0' + env: + # Through env, not inline: the reason embeds strings read from the + # image under test (plasmashell --version, /etc/os-release). + SKIP_REASON: ${{ steps.kde_webdriver.outputs.skip_reason }} + run: | + # smoke-firefox skips its only scenario on images that ship Firefox + # only as a Flatpak (#924); an all-skipped run is a pass there. + ALLOW=() + if [[ "${SUITE}" == "smoke-firefox" ]]; then + ALLOW=(--allow-all-skipped) + fi + python3 scripts/assert_passed.py results/results.json \ + --skip-reason "${SKIP_REASON}" "${ALLOW[@]}" + + # Backstop: an all-blocked hardware-only suite (e.g. nvidia on a GPU-less + # VM) must NOT be reported as green. The run step already wrote a synthetic + # blocked result; fail the job here so the block is loud, never silent. + - name: Fail blocked hardware-only suite + if: steps.run.outputs.suite_blocked == 'true' + run: | + echo "::error::Suite '${{ inputs.suites }}' is blocked: every scenario requires hardware the CI VM lacks (see https://github.com/projectbluefin/testsuite/issues/706). This is a hardware gap, not a test failure." + exit 1 - name: Write e2e metadata if: always() @@ -1852,8 +2175,8 @@ jobs: - name: Upload e2e metadata if: always() - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7 + uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7 with: - name: e2e-metadata-${{ matrix.suite }} + name: e2e-metadata-${{ steps.artifact-metadata.outputs.artifact_suffix }}-${{ matrix.suite }} path: meta/e2e-metadata.json retention-days: 1 diff --git a/.github/workflows/gnomeos-canary.yml b/.github/workflows/gnomeos-canary.yml new file mode 100644 index 000000000..049bba53a --- /dev/null +++ b/.github/workflows/gnomeos-canary.yml @@ -0,0 +1,65 @@ +name: GNOME OS desktop canary + +# Explicit experiment only. Does not install or validate candidate extensions. +on: + workflow_dispatch: + workflow_call: + +permissions: + contents: read + +jobs: + canary: + runs-on: ubuntu-latest + timeout-minutes: 60 + steps: + - name: Checkout + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 + + - name: Free disk space + uses: projectbluefin/actions/bootc-build/setup-runner@6453818f6279a2f2c1282919aad0009a88c01819 # v1 + with: + update-podman: "false" + + - name: Build native harness over pinned official GNOME OS + run: | + sudo apt-get update -q + sudo apt-get install -y --no-install-recommends skopeo + sudo bash scripts/build-gnomeos-harness.sh results + sudo chown -R "$(id -u):$(id -g)" results + + - name: Boot GNOME OS and exercise real input and accessibility + uses: ./.github/actions/gnome-e2e + with: + image: localhost/gnomeos-harness:canary + suite: gnomeos-canary + testsuite-ref: ${{ github.sha }} + free-disk-space: 'false' + + - name: Collect guest journal and stop VM + if: always() + run: | + mkdir -p results + if [[ -f /tmp/gnome_e2e_key ]]; then + ssh -i /tmp/gnome_e2e_key -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null \ + -o BatchMode=yes -o ConnectTimeout=5 -p 2222 bluefin-test@127.0.0.1 \ + 'sudo journalctl -b --no-pager' > results/guest-journal.txt 2>&1 || true + ssh -i /tmp/gnome_e2e_key -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null \ + -o BatchMode=yes -o ConnectTimeout=5 -p 2222 bluefin-test@127.0.0.1 \ + 'cat /opt/gnomeos-harness/packages.txt' > results/harness-packages.txt 2>&1 || true + fi + if [[ -f /tmp/gnome_e2e_qemu.pid ]]; then + sudo kill "$(cat /tmp/gnome_e2e_qemu.pid)" || true + fi + sudo chown -R "$(id -u):$(id -g)" results + + - name: Retain provenance, provisioning and desktop evidence + if: always() + uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7 + with: + name: gnomeos-desktop-canary + path: | + results/ + bootc-install.log + vm-serial.log + if-no-files-found: error diff --git a/.github/workflows/iso-validation.yml b/.github/workflows/iso-validation.yml index 72caf7b23..ca2616639 100644 --- a/.github/workflows/iso-validation.yml +++ b/.github/workflows/iso-validation.yml @@ -99,7 +99,7 @@ jobs: - name: Upload ISO validation evidence if: always() - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7 + uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7 with: name: iso-validation-${{ github.run_id }}${{ inputs.variant != '' && format('-{0}', inputs.variant) || '' }} if-no-files-found: error diff --git a/.github/workflows/manual.yml b/.github/workflows/manual.yml index b53e5e1ee..1082e3aae 100644 --- a/.github/workflows/manual.yml +++ b/.github/workflows/manual.yml @@ -20,6 +20,10 @@ on: description: "Enable @zstd_chunked scenarios in the lifecycle suite" required: false default: "false" + selinux_enforcing: + description: "Boot the guest SELinux enforcing and run the AVC denial gate (#1024); set false for legacy selinux=0" + required: false + default: "true" test_ref: description: "Git ref for tests/ checkout (default: dispatched branch; set to override)" required: false @@ -36,6 +40,7 @@ jobs: image: ${{ github.event.inputs.image }} suites: ${{ github.event.inputs.suites }} chunked_enabled: ${{ github.event.inputs.chunked_enabled == 'true' }} + selinux_enforcing: ${{ github.event.inputs.selinux_enforcing == 'true' }} # workflow_dispatch sees the branch selected in the Actions UI. Keep # branch resolution here; github.ref_name inside e2e.yml resolves to main. test_ref: ${{ github.event.inputs.test_ref || github.ref_name }} diff --git a/.github/workflows/pr-validate.yml b/.github/workflows/pr-validate.yml index c66d55c64..7bf15ab64 100644 --- a/.github/workflows/pr-validate.yml +++ b/.github/workflows/pr-validate.yml @@ -22,6 +22,28 @@ permissions: contents: read jobs: + pinned-fetches: + name: Pinned fetches / Pinned fetches (fail) + runs-on: ubuntu-24.04 + timeout-minutes: 10 + steps: + - name: Check out the code under scan + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 + with: + path: source + persist-credentials: false + + - name: Check out the shared gate + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 + with: + repository: projectbluefin/actions + ref: 6453818f6279a2f2c1282919aad0009a88c01819 # v1 + path: pinned-fetches-gate + persist-credentials: false + + - name: Run the pinned-fetches gate + run: ./pinned-fetches-gate/scripts/check-pinned-fetches.sh --root source --mode fail --allowlist source/.github/pinned-fetches-allowlist.txt + lint: name: Lint & syntax runs-on: ubuntu-latest @@ -32,9 +54,9 @@ jobs: uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 - name: Set up Python 3.14 - uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7 + uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7 with: - python-version: "3.14" + python-version: "3.15" - name: Install linting tools run: pip install ruff @@ -54,14 +76,14 @@ jobs: steps: - name: Checkout - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 with: fetch-depth: 0 - name: Set up Python 3.14 - uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7 + uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7 with: - python-version: "3.14" + python-version: "3.15" - name: Check quarantine age run: python3 scripts/check_quarantine_age.py --grace-days 30 @@ -76,9 +98,9 @@ jobs: uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 - name: Set up Python 3.14 - uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7 + uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7 with: - python-version: "3.14" + python-version: "3.15" - name: Check coverage snapshot is regenerated run: python3 scripts/update_coverage_snapshot.py --check diff --git a/.github/workflows/publish-to-pages.yml b/.github/workflows/publish-to-pages.yml index 2c7261ce7..caa051c31 100644 --- a/.github/workflows/publish-to-pages.yml +++ b/.github/workflows/publish-to-pages.yml @@ -39,12 +39,12 @@ jobs: fetch-depth: 1 - name: Set up Python Environment - uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7 + uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7 with: - python-version: '3.14' + python-version: '3.15' - name: Install ORAS CLI - uses: oras-project/setup-oras@1d808f7d7f6995cc68b7bf507bfe5c5446e1dc9d # v2.0.1 + uses: oras-project/setup-oras@5e2f2482b30b0cb3e14e67f89a80c88c659a7c63 # v2.0.3 - name: Pull screenshots and run logs from GHCR env: @@ -113,7 +113,7 @@ jobs: python3 dashboard/scripts/compile_data.py - name: Set up Node.js Environment - uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7 + uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7 with: node-version: '24' cache: 'npm' @@ -163,8 +163,10 @@ jobs: # Disable Jekyll on GitHub Pages to serve _astro folder correctly touch .nojekyll - # Restore the custom domain: the wipe above deletes CNAME and 404s qa.projectbluefin.io - echo "qa.projectbluefin.io" > CNAME + # The dashboard is served from https://projectbluefin.github.io/testsuite/ + # (astro.config.mjs base: '/testsuite/'). The org zone no longer maps + # qa.projectbluefin.io to this site, so DO NOT write a CNAME: a stale + # CNAME claims a name that redirects away and 404s on the next deploy. # Configure Git git config user.name "github-actions[bot]" diff --git a/.github/workflows/spike-uefi-boot.yml b/.github/workflows/spike-uefi-boot.yml index 9009016dc..851813434 100644 --- a/.github/workflows/spike-uefi-boot.yml +++ b/.github/workflows/spike-uefi-boot.yml @@ -49,7 +49,9 @@ jobs: ls -la /dev/kvm - name: Free disk space - uses: ublue-os/remove-unwanted-software@cc0becac701cf642c8f0a6613bbdaf5dc36b259e # v9 + uses: projectbluefin/actions/bootc-build/setup-runner@6453818f6279a2f2c1282919aad0009a88c01819 # v1 + with: + update-podman: "false" - name: Install QEMU + OVMF and pull source image run: | @@ -178,6 +180,10 @@ jobs: for DEP in $(sudo find /mnt/root/ostree/deploy/default/deploy \ -maxdepth 1 -mindepth 1 -type d 2>/dev/null); do + # CI VMs are not users: opt out of the daily countme ping + # (projectbluefin-countme.service honours this marker). + sudo mkdir -p "${DEP}/etc/projectbluefin/countme" + sudo touch "${DEP}/etc/projectbluefin/countme/disabled" # Enable sshd sudo mkdir -p "${DEP}/etc/systemd/system/multi-user.target.wants/" @@ -198,7 +204,7 @@ jobs: # Sudo access sudo mkdir -p "${DEP}/etc/sudoers.d" printf 'bluefin-test ALL=(ALL) NOPASSWD: ALL\n' | \ - sudo tee "${DEP}/etc/sudoers.d/bluefin-test" + sudo tee "${DEP}/etc/sudoers.d/zz-bluefin-test" # SSH authorized key via sshd AuthorizedKeysCommand sudo mkdir -p "${DEP}/etc/ssh/sshd_config.d" @@ -409,7 +415,7 @@ jobs: - name: Upload serial log if: always() - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7 + uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7 with: name: spike-uefi-serial-log path: vm-serial.log diff --git a/.github/workflows/startup-qualification.yml b/.github/workflows/startup-qualification.yml new file mode 100644 index 000000000..fa5b38ef4 --- /dev/null +++ b/.github/workflows/startup-qualification.yml @@ -0,0 +1,270 @@ +# Startup qualification — shipped first-boot services and system Flatpak state +# +# The fast desktop lane (e2e.yml) masks first-boot services and sideloads its +# own Flatpaks, so a green run there says nothing about the image's startup +# contract (testsuite#1025). This lane boots a fresh disk with every +# startup_contract unit from startup_service_inventory.yaml left as shipped, +# waits for each one within its inventory deadline, and asserts the state the +# image itself declares: Homebrew unpacked, preinstall.d apps installed +# system-wide from configured remotes, tmpfiles.d permission overrides in +# effect. scripts/startup_lane.py owns the plan and the verdict. +# +# Harness differences from a real install, all limited to reaching the guest: +# a test user with SSH key and passwordless sudo, sshd enabled, selinux=0, and +# direct-kernel boot. No autologin, no session config, no Flatpak or brew +# sideloads. Units still masked: vm_inapplicable, ci_noise, and deferred units +# (greenboot needs a boot-counting bootloader, #706). +# +# The "broken" job is the negative control: it adds ExecStartPre=/bin/false to +# one required unit and passes only if the lane goes red for that unit. +# +# Not a release gate. Wiring it into consumers or promotion is a separate +# maintainer decision (#1021, #1022). + +name: Startup Qualification + +on: + workflow_dispatch: + inputs: + image: + description: "OCI image to qualify" + type: string + default: "ghcr.io/projectbluefin/dakota:testing" + profile: + description: "Inventory profile the image belongs to (selects required units)" + type: choice + options: [dakota, bluefin, bluefin-lts, aurora, bazzite] + default: dakota + negative_control: + description: "Also run the deliberately broken control job" + type: choice + options: [run, skip] + default: run + pull_request: + paths: + - .github/workflows/startup-qualification.yml + - scripts/startup_lane.py + - scripts/startup_lane_collect.sh + - startup_service_inventory.yaml + +permissions: + contents: read + +concurrency: + group: startup-qualification-${{ github.ref }} + cancel-in-progress: true + +jobs: + startup: + name: startup (${{ matrix.control }}) + runs-on: ubuntu-latest + timeout-minutes: 75 + strategy: + fail-fast: false + matrix: + control: ${{ fromJSON(inputs.negative_control == 'skip' && '["candidate"]' || '["candidate","broken"]') }} + + env: + IMAGE: ${{ inputs.image || 'ghcr.io/projectbluefin/dakota:testing' }} + PROFILE: ${{ inputs.profile || 'dakota' }} + CONTROL: ${{ matrix.control }} + SSH_COMMON: "-i /tmp/vm_key -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o BatchMode=yes -o ControlMaster=auto -o ControlPersist=600 -o ControlPath=/tmp/ssh-ctrl-%C -o ConnectTimeout=3" + + steps: + - name: Checkout testsuite + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 + + - name: Plan required units + run: | + python3 -c 'import yaml' 2>/dev/null || sudo apt-get install -y python3-yaml + set -o pipefail + python3 scripts/startup_lane.py plan --profile "${PROFILE}" | tee -a "$GITHUB_ENV" + + - name: Free disk space + uses: projectbluefin/actions/bootc-build/setup-runner@6453818f6279a2f2c1282919aad0009a88c01819 # v1 + with: + update-podman: "false" + + - name: Enable KVM access + run: | + echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | \ + sudo tee /etc/udev/rules.d/99-kvm4all.rules + sudo udevadm control --reload-rules && sudo udevadm trigger --name-match=kvm + ls -la /dev/kvm + + - name: Install QEMU and pull OCI image + run: | + sudo podman pull "${IMAGE}" & + PULL_PID=$! + sudo apt-get update -q + sudo apt-get install -y --no-install-recommends qemu-system-x86 + wait $PULL_PID + ssh-keygen -t ed25519 -f /tmp/vm_key -N "" -C "startup@gha" + + # Same install and direct-kernel preparation as e2e.yml, minus every + # desktop/session injection and every service mask the plan does not list. + - name: Install OCI image to disk + run: | + fallocate -l 40G disk.raw + BOOTLOADER_FLAG="" + if sudo podman run --rm --quiet "${IMAGE}" bootc install to-disk --help 2>&1 | grep -q "\-\-bootloader"; then + BOOTLOADER_FLAG="--bootloader systemd" + fi + set +e + sudo podman run --rm --privileged --pid=host \ + --security-opt label=type:unconfined_t \ + -v /var/lib/containers:/var/lib/containers -v /dev:/dev -v "$(pwd):/data" \ + "${IMAGE}" bootc install to-disk --via-loopback /data/disk.raw \ + --filesystem ext4 --wipe ${BOOTLOADER_FLAG} 2>&1 | tee bootc-install.log + echo "bootc install exited ${PIPESTATUS[0]} (bootloader step may fail; deployment checked below)" + set -e + + LOOP=$(sudo losetup -f --show -P disk.raw) + sudo mkdir -p /mnt/root + ROOT_UUID=$(sudo blkid -s UUID -o value "${LOOP}p3") + sudo mount "${LOOP}p3" /mnt/root + DEPLOY=$(sudo find /mnt/root/ostree/deploy/default/deploy/ -mindepth 1 -maxdepth 1 -type d -printf '%f\n' | head -1) + [[ -n "${DEPLOY}" ]] || { echo "ERROR: no ostree deployment written"; cat bootc-install.log; exit 1; } + D="/mnt/root/ostree/deploy/default/deploy/${DEPLOY}" + + KVER="" + for kv in $(ls "${D}/usr/lib/modules/" | sort -V); do + [[ -f "${D}/usr/lib/modules/${kv}/vmlinuz" ]] && KVER="${kv}" + done + if [[ -n "${KVER}" ]]; then + sudo cp "${D}/usr/lib/modules/${KVER}/vmlinuz" ./vmlinuz + sudo cp "${D}/usr/lib/modules/${KVER}/initramfs.img" ./initramfs.img + else + sudo mkdir -p /mnt/boot && sudo mount "${LOOP}p2" /mnt/boot + sudo cp "$(sudo find /mnt/boot -name 'vmlinuz*' | grep -v '\.efi$' | sort -V | tail -1)" ./vmlinuz + sudo cp "$(sudo find /mnt/boot -name 'initramfs*.img' | sort -V | tail -1)" ./initramfs.img + sudo umount /mnt/boot + fi + sudo chown runner:runner ./vmlinuz ./initramfs.img + + BOOT_ENTRY=$(sudo find /mnt/root/ostree -maxdepth 4 -type l -name '0' | grep -E '/boot\.[0-9]' | grep '/default/' | head -1) + if [[ -z "${BOOT_ENTRY}" ]]; then + BOOT_DIR="/mnt/root/ostree/boot.0/default/${DEPLOY%.*}" + sudo mkdir -p "${BOOT_DIR}" + sudo ln -sfT "../../../deploy/default/deploy/${DEPLOY}" "${BOOT_DIR}/${DEPLOY##*.}" + BOOT_ENTRY="${BOOT_DIR}/${DEPLOY##*.}" + fi + OSTREE_PATH="${BOOT_ENTRY#/mnt/root}" + # ostree-system-generator only parses /ostree/boot.[01]/... (see e2e.yml). + if [[ "${OSTREE_PATH}" =~ /ostree/(boot\.[0-9]+)\.[0-9]+ ]]; then + VERSIONED=$(echo "${OSTREE_PATH}" | grep -oE 'boot\.[0-9]+\.[0-9]+') + [[ -e "/mnt/root/ostree/${BASH_REMATCH[1]}" ]] || sudo ln -s "${VERSIONED}" "/mnt/root/ostree/${BASH_REMATCH[1]}" + OSTREE_PATH="${OSTREE_PATH/${VERSIONED}/${BASH_REMATCH[1]}}" + fi + + # Masks come only from the plan: never a required startup unit. + echo "KERNEL_ARGS=root=UUID=${ROOT_UUID} rw ostree=${OSTREE_PATH} systemd.firstboot=no selinux=0 console=ttyS0,115200 systemd.journald.forward_to_console=1 ${KERNEL_MASKS} systemd.wants=sshd.service" >> "$GITHUB_ENV" + + # Guest access only: test user, sshd, key, sudo. Nothing that + # changes what first boot installs or configures. + for DEP in $(sudo find /mnt/root/ostree/deploy/default/deploy -maxdepth 1 -mindepth 1 -type d); do + # CI VMs are not users: opt out of the daily countme ping + # (projectbluefin-countme.service honours this marker). + sudo mkdir -p "${DEP}/etc/projectbluefin/countme" + sudo touch "${DEP}/etc/projectbluefin/countme/disabled" + sudo mkdir -p "${DEP}/etc/systemd/system/multi-user.target.wants/" "${DEP}/etc/ssh/sshd_config.d/" "${DEP}/etc/tmpfiles.d/" + sudo ln -sf /usr/lib/systemd/system/sshd.service "${DEP}/etc/systemd/system/multi-user.target.wants/sshd.service" + sudo ssh-keygen -A -f "${DEP}" 2>/dev/null || true + if ! sudo grep -q '^bluefin-test:' "${DEP}/etc/passwd"; then + echo 'bluefin-test:x:1001:1001:Startup Test:/var/home/bluefin-test:/bin/bash' | sudo tee -a "${DEP}/etc/passwd" + echo 'bluefin-test:*:19000:0:99999:7:::' | sudo tee -a "${DEP}/etc/shadow" + echo 'bluefin-test:x:1001:' | sudo tee -a "${DEP}/etc/group" + # Administrator like a real first-run account (see e2e.yml). + sudo sed -i -E '/^wheel:/{s/([^:])$/\1,bluefin-test/;s/:$/:bluefin-test/}' "${DEP}/etc/group" + fi + printf 'PubkeyAuthentication yes\nAuthorizedKeysCommand /bin/cat /etc/ssh/ci-authorized-keys\nAuthorizedKeysCommandUser root\n' | \ + sudo tee "${DEP}/etc/ssh/sshd_config.d/00-ci-auth.conf" + sudo install -m 644 /tmp/vm_key.pub "${DEP}/etc/ssh/ci-authorized-keys" + printf 'd /var/home/bluefin-test 0700 1001 1001 -\n' | sudo tee "${DEP}/etc/tmpfiles.d/ci-user.conf" + echo 'bluefin-test ALL=(ALL) NOPASSWD:ALL' | sudo tee "${DEP}/etc/sudoers.d/zz-bluefin-test" + sudo chmod 440 "${DEP}/etc/sudoers.d/zz-bluefin-test" + + if [[ "${CONTROL}" == "broken" ]]; then + sudo mkdir -p "${DEP}/etc/systemd/system/${NEGATIVE_CONTROL_UNIT}.d" + printf '[Service]\nExecStartPre=/bin/false\n' | \ + sudo tee "${DEP}/etc/systemd/system/${NEGATIVE_CONTROL_UNIT}.d/99-negative-control.conf" + fi + done + + sudo umount /mnt/root + sudo losetup -d "${LOOP}" + sudo podman rmi "${IMAGE}" 2>/dev/null || true + + - name: Boot VM with QEMU + KVM + run: | + touch vm-serial.log && chmod 666 vm-serial.log + echo "BOOT_EPOCH=$(date +%s)" >> "$GITHUB_ENV" + sudo qemu-system-x86_64 \ + -machine q35,accel=kvm -cpu host -m 4096 -smp 4 \ + -kernel ./vmlinuz -initrd ./initramfs.img -append "${KERNEL_ARGS}" \ + -object iothread,id=ioth0 \ + -drive if=none,id=disk,file=disk.raw,format=raw,cache=unsafe,aio=threads,discard=unmap \ + -device virtio-blk-pci,drive=disk,iothread=ioth0 \ + -netdev user,id=net0,hostfwd=tcp::2222-:22 -device virtio-net-pci,netdev=net0 \ + -device virtio-gpu-pci -display none \ + -serial file:"$(pwd)/vm-serial.log" -daemonize -pidfile /tmp/qemu.pid + + - name: Wait for SSH + run: | + DEADLINE=$((SECONDS + 900)) + while [ $SECONDS -lt $DEADLINE ]; do + if ssh ${SSH_COMMON} -p 2222 bluefin-test@127.0.0.1 true 2>/dev/null; then + echo "SSH ready $(( $(date +%s) - BOOT_EPOCH ))s after boot" + exit 0 + fi + sleep 5 + done + echo "ERROR: SSH not ready within 15 minutes"; tail -100 vm-serial.log; exit 1 + + - name: Wait for shipped startup units and judge + run: | + EXPECT=() + [[ "${CONTROL}" == "broken" ]] && EXPECT=(--expect-failure "${NEGATIVE_CONTROL_UNIT}") + LIMIT=$((STARTUP_DEADLINE_S + 60)) + while :; do + ssh ${SSH_COMMON} -p 2222 bluefin-test@127.0.0.1 \ + "SYSTEM_UNITS='${SYSTEM_UNITS}' USER_UNITS='${USER_UNITS}' PRODUCES='${PRODUCES}' CHECKS='${CHECKS}' bash -s" \ + < scripts/startup_lane_collect.sh > evidence.txt 2>&1 || true + ELAPSED=$(( $(date +%s) - BOOT_EPOCH )) + FINAL=() + [[ ${ELAPSED} -ge ${LIMIT} ]] && FINAL=(--final) + set +e + python3 scripts/startup_lane.py evaluate --profile "${PROFILE}" \ + --evidence evidence.txt --elapsed "${ELAPSED}" --report report.md \ + "${FINAL[@]}" "${EXPECT[@]}" > /dev/null + RC=$? + set -e + echo "t=${ELAPSED}s rc=${RC}" + [[ ${RC} -ne 3 ]] && break + sleep 20 + done + cat report.md + cat report.md >> "$GITHUB_STEP_SUMMARY" + echo "Image: \`${IMAGE}\` · control: ${CONTROL}" >> "$GITHUB_STEP_SUMMARY" + exit ${RC} + + - name: Collect unit journals + if: always() + run: | + ssh ${SSH_COMMON} -p 2222 bluefin-test@127.0.0.1 \ + "systemctl --failed --no-pager; sudo journalctl -b --no-pager $(printf -- '-u %s ' ${SYSTEM_UNITS}); journalctl --user -b --no-pager $(printf -- '-u %s ' ${USER_UNITS})" \ + > unit-journals.txt 2>&1 || true + + - name: Upload evidence + if: always() + uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7 + with: + name: startup-qualification-${{ matrix.control }} + path: | + evidence.txt + report.md + unit-journals.txt + vm-serial.log + bootc-install.log + if-no-files-found: ignore + retention-days: 14 diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 686449c1f..74f9fa79d 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -27,9 +27,9 @@ jobs: uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 - name: Set up Python 3.14 - uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7 + uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7 with: - python-version: "3.14" + python-version: "3.15" - name: Install test dependencies run: pip install coverage pytest pytest-xdist behave selenium pyyaml @@ -38,6 +38,17 @@ jobs: # pyyaml is required to import scripts/validate_docs.py (frontmatter # parsing), which tests/unit/test_validate_docs.py imports directly. + - name: Install just + # Pinned binary so tests/unit/test_justfile_results.py's Justfile + # contract tests run here instead of skipping on a bare image. + # Bump deliberately (Renovate does not track this URL). + run: | + curl -sSfL -o /tmp/just.tar.gz \ + "https://github.com/casey/just/releases/download/1.58.0/just-1.58.0-x86_64-unknown-linux-musl.tar.gz" + tar -xzf /tmp/just.tar.gz -C /tmp just + sudo install -m 755 /tmp/just /usr/local/bin/just + just --version + - name: Run unit tests env: COVERAGE_PROCESS_START: .coveragerc @@ -49,13 +60,13 @@ jobs: coverage report --fail-under=75 - name: Upload coverage to Codecov - uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7 + uses: codecov/codecov-action@303a32d7a59b442fa8d48b6a1cc6825c09c847a5 # v7 with: files: ./coverage.xml fail_ci_if_error: false - name: Upload coverage report - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7 + uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7 with: name: coverage-report path: coverage.xml diff --git a/.github/workflows/update-v1-tag.yml b/.github/workflows/update-v1-tag.yml index cbe1c36de..9ed35b084 100644 --- a/.github/workflows/update-v1-tag.yml +++ b/.github/workflows/update-v1-tag.yml @@ -1,11 +1,31 @@ -# Auto-update v1 tag after merge to main +# Move the v1 tag after a merge to main, behind a VM gate (testsuite#1027) # -# After any PR merges to main in projectbluefin/testsuite, this workflow -# force-pushes the v1 tag to HEAD. Consumers referencing @v1 get the -# latest e2e.yml without manual SHA management. +# Consumers call e2e.yml@v1, and e2e.yml checks out its tests at v1 by +# default, so v1 is what every image repo runs. On each push to main this +# workflow plans which suites the not-yet-distributed range (v1..main) needs +# (scripts/vm_validation_plan.py), boots them through e2e.yml at the merged SHA +# against a digest-pinned image, and moves v1 only when they pass. e2e.yml's +# own fail-closed verdict (scripts/assert_passed.py, #1022) decides "pass". # -# Security: Only runs on push to main (post-merge). The human gate -# for actions is the PR review — once merged, tag update is mechanical. +# The gate catches testsuite changes that break the suites, not bugs in the +# image under test. When the candidate fails, the same suites boot again with +# the tests at the current v1 on the same digest (the baseline), and +# scripts/v1_gate_compare.py moves v1 only if every candidate failure also +# fails at v1. Anything it cannot explain holds v1. +# +# The range starts at v1, not at the push's previous commit: if a newer push +# cancels a gated run, the next run still covers the cancelled change. +# +# A held v1 is never silent: the run fails and an issue titled +# "v1 tag held by the post-merge VM gate" names the held SHA. The next +# successful move closes it. +# +# Emergency path: run this workflow by hand on main with force=true to move v1 +# to main without booting. The run summary records who forced it and why. +# +# Security: only merged main code runs here (push to main or a manual run +# on main). The VM jobs get contents:read and packages:write, as every +# e2e.yml caller does; only the final job can write the tag and issues. name: Update v1 tag @@ -13,40 +33,268 @@ on: push: branches: - main + workflow_dispatch: + inputs: + force: + description: "Move v1 to main without the VM gate (emergency only)" + type: boolean + default: false + reason: + description: "Why the gate is being skipped (recorded in the run summary)" + type: string + default: "" -permissions: - contents: write +permissions: {} concurrency: group: update-v1-tag cancel-in-progress: true +env: + # Image the gate boots. Resolved to a digest at plan time so the run records + # exactly what it tested. Override with the V1_GATE_IMAGE repository variable. + # dakota:testing is what Dakota publishes now; dakota:latest stopped in June. + GATE_IMAGE: ${{ vars.V1_GATE_IMAGE || 'ghcr.io/projectbluefin/dakota:testing' }} + jobs: - update-tag: - name: Force-push v1 to HEAD + plan: + name: Plan v1 gate runs-on: ubuntu-latest - timeout-minutes: 2 + timeout-minutes: 10 + permissions: + contents: read + outputs: + sha: ${{ steps.plan.outputs.sha }} + previous: ${{ steps.plan.outputs.previous }} + action: ${{ steps.plan.outputs.action }} + suites: ${{ steps.plan.outputs.suites }} + ungated: ${{ steps.plan.outputs.ungated }} + reason: ${{ steps.plan.outputs.reason }} + image: ${{ steps.image.outputs.image }} + baseline_image: ${{ steps.image.outputs.baseline_image }} steps: + - name: Refuse manual runs off main + if: github.event_name == 'workflow_dispatch' && github.ref != 'refs/heads/main' + env: + REF: ${{ github.ref }} + run: | + echo "::error::Run this workflow on main, not ${REF}." + exit 1 + - name: Checkout - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 with: - fetch-depth: 1 + fetch-depth: 0 + persist-credentials: false - - name: Update v1 tag + - name: Plan + id: plan + env: + FORCE: ${{ github.event_name == 'workflow_dispatch' && inputs.force }} run: | set -euo pipefail + SHA=$(git rev-parse HEAD) + PREVIOUS=$(git rev-parse -q --verify 'refs/tags/v1^{commit}' || true) + { + echo "sha=${SHA}" + echo "previous=${PREVIOUS}" + } >> "$GITHUB_OUTPUT" + + if [ "${PREVIOUS}" = "${SHA}" ]; then + echo "action=none" >> "$GITHUB_OUTPUT" + echo "v1 already points to ${SHA::7}; nothing to do." + exit 0 + fi + if [ "${FORCE}" = "true" ]; then + echo "action=move" >> "$GITHUB_OUTPUT" + echo "reason=forced by a manual run" >> "$GITHUB_OUTPUT" + exit 0 + fi - CURRENT_SHA=$(git rev-parse HEAD) + if [ -n "${PREVIOUS}" ] && git merge-base --is-ancestor "${PREVIOUS}" "${SHA}"; then + git diff --name-only "${PREVIOUS}" "${SHA}" > changed.txt + else + # No v1 yet, or v1 is not behind main: plan the full set (fail-closed). + echo "unknown-base" > changed.txt + fi + python3 scripts/vm_validation_plan.py < changed.txt > plan.json + python3 scripts/v1_gate.py < plan.json | tee -a "$GITHUB_OUTPUT" - # Check if v1 already points to HEAD - EXISTING_TAG_SHA=$(git ls-remote --tags origin refs/tags/v1 | awk '{print $1}') + { + echo "### v1 gate plan" + echo + echo "Range: \`${PREVIOUS:-none}\` → \`${SHA}\`" + echo + echo '```json' + cat plan.json + echo '```' + } >> "$GITHUB_STEP_SUMMARY" - if [ "$EXISTING_TAG_SHA" = "$CURRENT_SHA" ]; then - echo "v1 already points to HEAD (${CURRENT_SHA::7}) — nothing to do" - exit 0 + - name: Pin the gate image by digest + id: image + if: steps.plan.outputs.action == 'gate' + run: | + set -euo pipefail + NAME="${GATE_IMAGE%@*}" + LAST="${NAME##*/}" + if [[ "${LAST}" == *:* ]]; then REPO="${NAME%:*}"; else REPO="${NAME}"; NAME="${NAME}:latest"; fi + DIGEST=$(skopeo inspect --format '{{.Digest}}' "docker://${NAME}") + case "${DIGEST}" in + sha256:*) ;; + *) echo "::error::Could not resolve a digest for ${NAME}"; exit 1 ;; + esac + # Same digest, spelled without the tag for the baseline run, so the two + # runs' e2e.yml artifact names (derived from the image string) differ. + { + echo "image=${NAME}@${DIGEST}" + echo "baseline_image=${REPO}@${DIGEST}" + } >> "$GITHUB_OUTPUT" + echo "Gate image: \`${NAME}@${DIGEST}\`" >> "$GITHUB_STEP_SUMMARY" + + gate: + name: Boot merged tests + needs: plan + if: needs.plan.outputs.action == 'gate' + permissions: + contents: read + packages: write + uses: ./.github/workflows/e2e.yml + with: + image: ${{ needs.plan.outputs.image }} + suites: ${{ needs.plan.outputs.suites }} + test_ref: ${{ needs.plan.outputs.sha }} + test_repository: ${{ github.repository }} + + baseline: + name: Boot v1 tests (baseline) + needs: [plan, gate] + if: >- + always() && !cancelled() && + needs.plan.outputs.action == 'gate' && needs.gate.result == 'failure' && + needs.plan.outputs.previous != '' + permissions: + contents: read + packages: write + uses: ./.github/workflows/e2e.yml + with: + image: ${{ needs.plan.outputs.baseline_image }} + suites: ${{ needs.plan.outputs.suites }} + test_ref: ${{ needs.plan.outputs.previous }} + test_repository: ${{ github.repository }} + + publish: + name: Move or hold v1 + needs: [plan, gate, baseline] + if: >- + always() && !cancelled() && + needs.plan.result == 'success' && needs.plan.outputs.action != 'none' + runs-on: ubuntu-latest + timeout-minutes: 5 + permissions: + actions: read + contents: write + issues: write + env: + GH_TOKEN: ${{ github.token }} + GH_REPO: ${{ github.repository }} + REPO: ${{ github.repository }} + SHA: ${{ needs.plan.outputs.sha }} + PREVIOUS: ${{ needs.plan.outputs.previous }} + ACTION: ${{ needs.plan.outputs.action }} + GATE_RESULT: ${{ needs.gate.result }} + BASELINE_RESULT: ${{ needs.baseline.result }} + SUITES: ${{ needs.plan.outputs.suites }} + UNGATED: ${{ needs.plan.outputs.ungated }} + REASON: ${{ needs.plan.outputs.reason }} + IMAGE: ${{ needs.plan.outputs.image }} + BASELINE_IMAGE: ${{ needs.plan.outputs.baseline_image }} + FORCE_REASON: ${{ inputs.reason }} + ACTOR: ${{ github.actor }} + RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} + HELD_TITLE: v1 tag held by the post-merge VM gate + steps: + - name: Checkout the comparison script + if: env.GATE_RESULT == 'failure' && (env.BASELINE_RESULT == 'success' || env.BASELINE_RESULT == 'failure') + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 + with: + ref: ${{ needs.plan.outputs.sha }} + persist-credentials: false + sparse-checkout: scripts/v1_gate_compare.py + sparse-checkout-cone-mode: false + + - name: Download candidate and baseline results + if: env.GATE_RESULT == 'failure' && (env.BASELINE_RESULT == 'success' || env.BASELINE_RESULT == 'failure') + uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8 + with: + pattern: e2e-* + path: artifacts + + - name: Compare candidate failures with v1 + id: compare + if: env.GATE_RESULT == 'failure' && (env.BASELINE_RESULT == 'success' || env.BASELINE_RESULT == 'failure') + run: | + set -euo pipefail + python3 scripts/v1_gate_compare.py artifacts "${IMAGE}" "${BASELINE_IMAGE}" \ + --summary compare.md | tee -a "$GITHUB_OUTPUT" + cat compare.md >> "$GITHUB_STEP_SUMMARY" + + - name: Move or hold v1 + env: + COMPARE: ${{ steps.compare.outputs.verdict }} + run: | + set -euo pipefail + HELD=$(gh issue list --state open --search "\"${HELD_TITLE}\" in:title" \ + --json number,title --jq "[.[] | select(.title == env.HELD_TITLE)][0].number // empty") + + if [ "${ACTION}" = "move" ] || { [ "${ACTION}" = "gate" ] && [ "${GATE_RESULT}" = "success" ]; }; then + : + elif [ "${ACTION}" = "gate" ] && [ "${COMPARE}" = "move" ]; then + REASON="${REASON}; every candidate failure also fails at v1 (see the comparison in this run's summary)" + else + MOVE=no fi - git tag -f v1 HEAD - git push --force origin v1 + if [ "${MOVE:-yes}" = "yes" ]; then + if [ -n "${PREVIOUS}" ]; then + gh api -X PATCH "repos/${REPO}/git/refs/tags/v1" -f sha="${SHA}" -F force=true > /dev/null + else + gh api -X POST "repos/${REPO}/git/refs" -f ref=refs/tags/v1 -f sha="${SHA}" > /dev/null + fi + { + echo "### v1 moved" + echo + echo "\`${PREVIOUS:-none}\` → \`${SHA}\`: ${REASON}" + if [ -n "${IMAGE}" ]; then echo; echo "Booted \`${SUITES}\` on \`${IMAGE}\`."; fi + if [ -n "${UNGATED}" ]; then echo; echo "Not booted (no second image yet, #706): \`${UNGATED}\`."; fi + if [ -n "${FORCE_REASON}" ]; then echo; echo "Forced by @${ACTOR}: ${FORCE_REASON}"; fi + } >> "$GITHUB_STEP_SUMMARY" + if [ -n "${HELD}" ]; then + gh issue close "${HELD}" --comment "v1 moved to ${SHA} (${RUN_URL}); the hold is cleared." + fi + exit 0 + fi - echo "Updated v1: ${EXISTING_TAG_SHA::7} → ${CURRENT_SHA::7}" + if [ "${ACTION}" = "gate" ] && [ -s compare.md ]; then + WHY="the VM gate found failures v1 does not explain (suites: ${SUITES}; image: ${IMAGE}). $(sed -n '/^\*\*Not explained by v1:\*\*/,/^$/p' compare.md | { grep -E '^- ' || true; } | head -20 | tr '\n' ' ')" + elif [ "${ACTION}" = "gate" ]; then + WHY="the VM gate did not pass (e2e.yml result: ${GATE_RESULT}; baseline: ${BASELINE_RESULT:-not run}; suites: ${SUITES}; image: ${IMAGE})" + else + WHY="${REASON}" + fi + BODY=$(printf '%s\n\n%s\n\n%s\n\n%s\n' \ + "v1 stays at \`${PREVIOUS:-none}\` and was **not** moved to \`${SHA}\`." \ + "Why: ${WHY}." \ + "Run: ${RUN_URL}" \ + "To release it: fix main (the next push re-runs the gate), or after validating by hand run **Update v1 tag** on main with \`force\` and a reason.") + if [ -n "${HELD}" ]; then + gh issue comment "${HELD}" --body "${BODY}" + else + gh issue create --title "${HELD_TITLE}" --body "${BODY}" + fi + { + echo "### v1 held at \`${PREVIOUS:-none}\`" + echo + echo "${WHY}" + } >> "$GITHUB_STEP_SUMMARY" + echo "::error::v1 held at ${PREVIOUS:-none}: ${WHY}" + exit 1 diff --git a/AGENTS.md b/AGENTS.md index e179b5c8b..fbf6bb0d1 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -143,7 +143,7 @@ files there. Never write to `ublue-os/*` or any KDE property at all. - [ ] `python3 scripts/validate_docs.py` passes. - [ ] `python3 scripts/generate_skill_index.py --check` passes (regenerate with `python3 scripts/generate_skill_index.py` if you changed any skill front matter). - [ ] No open PR touches the same files as this one (see the disjointness rule above). -- [ ] A matching skill file in `docs/skills/` is updated in the same PR if you changed `tests/**`, `.github/workflows/**`, `.github/actions/**`, or `scripts/**`. +- [ ] A matching skill file in `docs/skills/` is updated in the same PR if you changed `tests/**`, `.github/workflows/**`, `.github/actions/**`, or `scripts/**` AND the change introduces or alters a pattern, workaround, or contract (pure refactoring, helper deduplication, and added coverage without new conventions are exempt). If no existing skill file covers the area, update the closest matching skill or create one under `docs/skills//SKILL.md`. - [ ] If scenario totals changed, run `python3 scripts/update_coverage_snapshot.py` to regenerate the suite-map coverage snapshot. **Never hand-edit the count numbers** — CI (`Coverage snapshot fresh` check) fails if the generated block is stale. Only hand-edit per-suite Notes prose in the script's `SUITE_NOTES`. - [ ] PR title follows Conventional Commits (`feat`, `fix`, `docs`, `ci`, `refactor`, `test`, `build`, `chore`). - [ ] Every AI-authored commit includes both attribution trailers: diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 69501ec4d..68593a507 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -14,6 +14,7 @@ This repo is the test framework and suite for GNOME- and KDE-based bootc images. | `smoke` | GUI (qecore/dogtail) | Core GNOME, MIME handlers, accessibility | | `common` | SSH | Portable system health: Flatpak, portals, polkit, shell | | `vanilla-gnome` | GUI | Upstream GNOME OS baseline | +| `extensions` | Guest-local GUI/Shell probes | Four Hive extension lifecycle/behavior profiles; GNOME OS provisioning deferred (#908/#909) | | `developer` | GUI | Homebrew/Ptyxis on developer variant | | `dx` | SSH+GUI | VS Code, distrobox, JupyterLab, mise | | `software` | SSH+GUI | Bazaar app store and Flatpak CLI health | diff --git a/Justfile b/Justfile index 4582ae2f3..a3fd7f877 100644 --- a/Justfile +++ b/Justfile @@ -13,39 +13,44 @@ default: results n="10": #!/usr/bin/env bash set -euo pipefail - BASE="/var/tmp/bluefin-results" + BASE="${RESULTS_BASE:-/var/tmp/bluefin-results}" if [[ ! -d "${BASE}" ]]; then echo "(no results yet — run a test first)" exit 0 fi - echo "=== Recent test results (last {{ n }}) ===" - COUNT=0 - for dir in $(ls -1t "${BASE}"); do - [[ ${COUNT} -ge {{ n }} ]] && break - RUN="${BASE}/${dir}" - echo "" - echo "Run: ${dir}" - for suite_dir in "${RUN}"/*/; do - SUITE=$(basename "${suite_dir}") - JSON="${suite_dir}results.json" - if [[ -f "${JSON}" ]]; then - python3 -c " - import json - try: - data = json.load(open('${JSON}')) - failed = sum(1 for f in data for s in f.get('elements',[]) if s.get('status') == 'failed') - total = sum(len(f.get('elements',[])) for f in data) - icon = '✓' if failed == 0 else '✗' - print(f' {icon} ${SUITE}: {total - failed}/{total} passed') - except Exception as e: - print(f' ? ${SUITE}: (error reading results.json: {e})') - " 2>/dev/null - else - echo " ? ${SUITE}: (no results.json)" - fi - done - COUNT=$((COUNT + 1)) - done + RESULTS_BASE="${BASE}" RESULTS_N="{{ n }}" python3 <<'PYEOF' + import os + from pathlib import Path + + from scripts.e2e_summary import count_scenarios, load_report, summary_icon + + base = Path(os.environ["RESULTS_BASE"]) + limit = int(os.environ["RESULTS_N"]) + print("=== Recent test results (last %d) ===" % limit) + runs = sorted((path for path in base.iterdir() if path.is_dir()), key=lambda path: path.name) + runs.sort(key=lambda path: path.stat().st_mtime, reverse=True) + for run in runs[:limit]: + print() + print("Run: %s" % run.name) + for suite_dir in sorted(path for path in run.iterdir() if path.is_dir()): + suite = suite_dir.name + report_path = suite_dir / "results.json" + if not report_path.is_file(): + print(" ? %s: (no results.json)" % suite) + continue + try: + report, complete = load_report(report_path.read_text(encoding="utf-8")) + counts = count_scenarios(report) + except Exception as error: + print(" ? %s: (error reading results.json: %s)" % (suite, error)) + continue + total = sum(counts.values()) + icon = summary_icon(counts) + if not complete and icon == "✅": + icon = "⚠️" + note = "" if complete else " (INCOMPLETE: results truncated)" + print(" %s %s: %d/%d passed%s" % (icon, suite, counts["passed"], total, note)) + PYEOF # Show per-scenario timing table from the most recent run (or a specific run-uid) # Usage: just results-timing → most recent run @@ -130,7 +135,7 @@ results-timing uid="": clean-results keep="20": #!/usr/bin/env bash set -euo pipefail - BASE="/var/tmp/bluefin-results" + BASE="${RESULTS_BASE:-/var/tmp/bluefin-results}" if [[ ! -d "${BASE}" ]]; then echo "(no results directory)" exit 0 @@ -154,7 +159,7 @@ clean-results keep="20": compare-results run_uid="": #!/usr/bin/env bash set -euo pipefail - BASE="/var/tmp/bluefin-results" + BASE="${RESULTS_BASE:-/var/tmp/bluefin-results}" if [[ ! -d "${BASE}" ]]; then echo "(no results directory — run a test first)" exit 0 @@ -181,66 +186,53 @@ compare-results run_uid="": fi RUN_UID=$(basename "${RUN_DIR}") RUN_UID="${RUN_UID}" SMOKE_JSON="${SMOKE_JSON}" VANILLA_JSON="${VANILLA_JSON}" python3 - <<'PY' - import json - import os - import sys - from pathlib import Path - - - def load_statuses(path: str) -> dict[str, str]: - data = json.loads(Path(path).read_text()) - statuses: dict[str, str] = {} - for feature in data: - for element in feature.get("elements", []): - if element.get("type") != "scenario": - continue - name = element.get("name") - if name: - statuses[name] = element.get("status", "unknown") - return statuses + import os + import sys + from pathlib import Path + from scripts.e2e_summary import load_report, scenario_statuses - run_uid = os.environ["RUN_UID"] - smoke = load_statuses(os.environ["SMOKE_JSON"]) - vanilla = load_statuses(os.environ["VANILLA_JSON"]) - overlap = sorted(set(smoke) & set(vanilla)) + run_uid = os.environ["RUN_UID"] + smoke = scenario_statuses(load_report(Path(os.environ["SMOKE_JSON"]).read_text(encoding="utf-8"))[0]) + vanilla = scenario_statuses(load_report(Path(os.environ["VANILLA_JSON"]).read_text(encoding="utf-8"))[0]) + overlap = sorted(set(smoke) & set(vanilla)) - print(f"=== Smoke vs Vanilla-GNOME comparison: {run_uid} ===") - if not overlap: - print("(no overlapping scenarios found)") - sys.exit(0) + print(f"=== Smoke vs Vanilla-GNOME comparison: {run_uid} ===") + if not overlap: + print("(no overlapping scenarios found)") + sys.exit(0) - scenario_width = max(len("Scenario"), *(len(name) for name in overlap)) - smoke_width = max(len("Smoke"), *(len(smoke[name]) for name in overlap)) - vanilla_width = max(len("Vanilla-GNOME"), *(len(vanilla[name]) for name in overlap)) + scenario_width = max(len("Scenario"), *(len(name) for name in overlap)) + smoke_width = max(len("Smoke"), *(len(smoke[name]) for name in overlap)) + vanilla_width = max(len("Vanilla-GNOME"), *(len(vanilla[name]) for name in overlap)) - header = f"{'Scenario':<{scenario_width}} {'Smoke':<{smoke_width}} {'Vanilla-GNOME':<{vanilla_width}}" - print(header) - print(f"{'-' * scenario_width} {'-' * smoke_width} {'-' * vanilla_width}") + header = f"{'Scenario':<{scenario_width}} {'Smoke':<{smoke_width}} {'Vanilla-GNOME':<{vanilla_width}}" + print(header) + print(f"{'-' * scenario_width} {'-' * smoke_width} {'-' * vanilla_width}") - bluefin_regressions = 0 - upstream_issues = 0 - same_result = 0 - for name in overlap: - smoke_status = smoke[name] - vanilla_status = vanilla[name] - note = "" - if smoke_status == "failed" and vanilla_status == "passed": - bluefin_regressions += 1 - note = " ⚠ Bluefin regression" - elif smoke_status == "failed" and vanilla_status == "failed": - upstream_issues += 1 - note = " ↑ Upstream GNOME issue" - else: - same_result += 1 - print(f"{name:<{scenario_width}} {smoke_status:<{smoke_width}} {vanilla_status:<{vanilla_width}}{note}") + bluefin_regressions = 0 + upstream_issues = 0 + same_result = 0 + for name in overlap: + smoke_status = smoke[name] + vanilla_status = vanilla[name] + note = "" + if smoke_status == "failed" and vanilla_status == "passed": + bluefin_regressions += 1 + note = " ⚠ Bluefin regression" + elif smoke_status == "failed" and vanilla_status == "failed": + upstream_issues += 1 + note = " ↑ Upstream GNOME issue" + else: + same_result += 1 + print(f"{name:<{scenario_width}} {smoke_status:<{smoke_width}} {vanilla_status:<{vanilla_width}}{note}") - print( - f"Summary: {len(overlap)} overlapping scenario(s) | " - f"{bluefin_regressions} Bluefin regression(s) | " - f"{upstream_issues} upstream GNOME issue(s) | " - f"{same_result} other matching/mixed result(s)" - ) + print( + f"Summary: {len(overlap)} overlapping scenario(s) | " + f"{bluefin_regressions} Bluefin regression(s) | " + f"{upstream_issues} upstream GNOME issue(s) | " + f"{same_result} other matching/mixed result(s)" + ) PY # ── Validation ─────────────────────────────────────────────────────────────── diff --git a/README.md b/README.md index 892255134..eda706d1e 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ For the canonical ownership boundary between this repo, [`projectbluefin/lab`](h | Session bridge | qecore-headless | Wayland/D-Bus session bootstrap | | GUI automation | dogtail (AT-SPI) | Accessibility-tree interactions | | Wayland bridge | gnome-ponytail-daemon | Coordinate injection support | -| Shell bridge | `org.gnome.Shell.Eval` | GNOME 50+ top-bar fallback | +| Shell bridge | `org.gnome.Shell.Eval` | GNOME top-bar fallback | | KDE GUI automation | `selenium-webdriver-at-spi` (W3C WebDriver) | Plasma AT-SPI interactions | | KDE control plane | `org.kde.PlasmaShell` / KWin D-Bus | Diagnostics and session reset only — never the primary interaction path | | SSH bridge | shared SSH steps | Out-of-VM system health assertions | @@ -90,14 +90,14 @@ For full control, use the composite action at `projectbluefin/testsuite/.github/ ## Local development -- CI uses Python 3.14; match it locally. +- CI uses Python 3.15; match it locally. - Install local Python pieces: `pip install behave qecore dogtail`. - `gnome-ponytail-daemon` is baked into the image under test, not installed locally. - Full GUI runs need a live Wayland + AT-SPI session; most contributors use the GitHub Action path. ## Agentic factory -This repo is agent-first: AI agents are primary maintainers of GNOME 50 test coverage. Agents file issues and submit PRs directly within the gates defined in `docs/skills/meta/human-gates/SKILL.md`. Every session produces two outputs: the work and a skill-doc update. See `AGENTS.md` for the agent entry point and `docs/SKILL.md` for the skill router. +This repo is agent-first: AI agents are primary maintainers of GNOME test coverage across both supported desktops (Bluefin and gnomeos). Agents file issues and submit PRs directly within the gates defined in `docs/skills/meta/human-gates/SKILL.md`. Every session produces two outputs: the work and a skill-doc update. See `AGENTS.md` for the agent entry point and `docs/SKILL.md` for the skill router. ## Further reading diff --git a/SECURITY.md b/SECURITY.md new file mode 100644 index 000000000..671bea797 --- /dev/null +++ b/SECURITY.md @@ -0,0 +1,34 @@ +# Security policy + +## Reporting + +Report security vulnerabilities through [GitHub Private Vulnerability Reporting](https://github.com/projectbluefin/testsuite/security/advisories/new). Do not disclose an unpatched vulnerability in a public issue. + +Include: + +- vulnerability description and impact +- reproduction steps or proof of concept +- affected workflow, test suite, or dashboard component +- suggested mitigation, if available + +## Response + +The maintainers acknowledge reports within 48 hours and aim to assess them +within 7 days. Fix and disclosure timing depends on severity and coordination +with affected consumer repositories. + +## Scope + +This policy covers the reusable E2E workflow (`e2e.yml`), the QEMU/SSH test +harness, cosign image verification, GHCR artifact publishing, and the +QA dashboard pipeline in this repository. + +Report vulnerabilities in third-party actions, test dependencies, or the +images under test to their respective upstream projects unless the issue is +introduced by this repository's integration. + +## Safe handling + +Do not commit credentials, private keys, tokens, or exploit payloads. Preserve +signature verification, minimal workflow permissions, and artifact-integrity +checks when investigating or fixing a security issue. diff --git a/container/Containerfile.gnomeos-harness b/container/Containerfile.gnomeos-harness new file mode 100644 index 000000000..15d22a5fa --- /dev/null +++ b/container/Containerfile.gnomeos-harness @@ -0,0 +1,39 @@ +# Native test overlay, never a replacement for the official base provenance. +# Both arguments must be digest references resolved by build-gnomeos-harness.sh. +ARG GNOMEOS_BASE +ARG GNOMEOS_DEVEL +FROM ${GNOMEOS_BASE} AS base +FROM ${GNOMEOS_DEVEL} AS build +COPY --from=base /usr/lib/os-release /tmp/base-os-release +COPY gnomeos-harness-identity.py /tmp/gnomeos-harness-identity.py +RUN python3 /tmp/gnomeos-harness-identity.py +COPY ponytail.tar.gz /tmp/ponytail.tar.gz +RUN echo '9b18d267c55ec950beeea42d3291d2e77f8f7e351c31c6a48feb90dacb195fc5 /tmp/ponytail.tar.gz' | sha256sum -c - \ + && mkdir /tmp/ponytail \ + && tar -xzf /tmp/ponytail.tar.gz --strip-components=1 -C /tmp/ponytail \ + && meson setup /tmp/ponytail/build /tmp/ponytail --prefix=/usr --libexecdir=libexec \ + --wrap-mode=nofallback -Dsystemd_user_unit_dir=/usr/lib/systemd/user \ + && meson compile -C /tmp/ponytail/build \ + && DESTDIR=/out meson install -C /tmp/ponytail/build +# Build C extensions with the matching GNOME OS development headers. Native GI +# and D-Bus bindings come from GNOME OS, not from Fedora or a pip-built substitute. +RUN python3 -m venv --system-site-packages /opt/gnomeos-harness \ + && /opt/gnomeos-harness/bin/pip install --no-cache-dir \ + qecore==4.19.3 behave==1.3.3 dogtail==2.0.3 python-uinput==1.0.1 'setuptools<81' \ + && /opt/gnomeos-harness/bin/pip freeze > /opt/gnomeos-harness/packages.txt +RUN pkg-config --list-all | awk '$1 ~ /^libmutter-[0-9]+$/ {print $1}' \ + | while read -r package; do pkg-config --modversion "$package"; done \ + > /opt/gnomeos-harness/mutter-version.txt \ + && test -s /opt/gnomeos-harness/mutter-version.txt +FROM base +COPY --from=build /out/usr/ /usr/ +COPY --from=build /opt/gnomeos-harness/ /opt/gnomeos-harness/ +# Disposable test overlay: ordinary Screenshot callers need Shell unsafe mode. +# Inspect the pinned runtime's unit and preserve its session-mode arguments. +COPY configure_gnomeos_canary_shell.py /tmp/configure_gnomeos_canary_shell.py +RUN python3 /tmp/configure_gnomeos_canary_shell.py \ + && rm /tmp/configure_gnomeos_canary_shell.py +RUN /opt/gnomeos-harness/bin/python -c 'import gi, dbus, ponytail.ponytail, uinput, qecore, behave, dogtail' \ + && ldd /usr/libexec/gnome-ponytail-daemon > /opt/gnomeos-harness/ponytail-libraries.txt \ + && ! grep -q 'not found' /opt/gnomeos-harness/ponytail-libraries.txt +LABEL org.opencontainers.image.description="Official GNOME OS plus native desktop test tools; not a stock GNOME OS image" diff --git a/container/Containerfile.kde-runner b/container/Containerfile.kde-runner index 569924aee..91d653b48 100644 --- a/container/Containerfile.kde-runner +++ b/container/Containerfile.kde-runner @@ -17,7 +17,7 @@ # # Triggered by: .github/workflows/build-kde-runner.yml -FROM registry.fedoraproject.org/fedora-minimal:latest@sha256:1f4d147e7787705a2a93d74de0772aef86866d19c1b40982573c23bede20fce2 +FROM registry.fedoraproject.org/fedora-minimal:latest@sha256:7fcd2412a8256089c3a1ad40a44ed60b7bf1ca201b7ede4d8b053f859e050cdc LABEL org.opencontainers.image.source="https://github.com/projectbluefin/testsuite" LABEL org.opencontainers.image.description="Host-side behave/selenium test runner for KDE/Plasma e2e tests" diff --git a/container/Containerfile.runner b/container/Containerfile.runner index bab97c977..1951a32a5 100644 --- a/container/Containerfile.runner +++ b/container/Containerfile.runner @@ -23,7 +23,7 @@ # --pid=host (qecore reads GNOME session env from /proc//environ) # --privileged (uinput + AT-SPI socket access) -FROM registry.fedoraproject.org/fedora-minimal:latest@sha256:1f4d147e7787705a2a93d74de0772aef86866d19c1b40982573c23bede20fce2 +FROM registry.fedoraproject.org/fedora-minimal:latest@sha256:7fcd2412a8256089c3a1ad40a44ed60b7bf1ca201b7ede4d8b053f859e050cdc LABEL org.opencontainers.image.source="https://github.com/projectbluefin/testsuite" LABEL org.opencontainers.image.description="qecore/behave/dogtail test runner for GNOME e2e tests" @@ -71,7 +71,7 @@ RUN printf '#!/bin/sh\nexec "$@"\n' > /usr/local/bin/dbus-run-session && \ # setuptools 81 removed pkg_resources; pin to <81 to avoid ImportError noise in logs. RUN microdnf install -y --setopt=install_weak_deps=0 gcc python3-devel \ && python3 -m pip install --no-cache-dir \ - qecore==4.16 \ + qecore==4.19.3 \ behave==1.3.3 \ dogtail==2.0.3 \ python-uinput==1.0.1 \ diff --git a/container/gnomeos-harness-identity.py b/container/gnomeos-harness-identity.py new file mode 100644 index 000000000..68e8d4da9 --- /dev/null +++ b/container/gnomeos-harness-identity.py @@ -0,0 +1,24 @@ +"""Refuse to build the harness unless base and devel are the same GNOME OS build. + +Kept as a file instead of a Containerfile heredoc: the runner's stock podman +parses each heredoc line as a build instruction. +""" +import shlex +import sys +from pathlib import Path + + +def identity(path): + return dict(line.split('=', 1) for line in shlex.split(Path(path).read_text(), comments=True)) + + +def check(base_path, devel_path): + base = identity(base_path) + devel = identity(devel_path) + assert base.get('ID') == devel.get('ID') == 'org.gnome.os', 'not GNOME OS' + assert base.get('GNOMEOS_COMMIT'), 'missing base commit' + assert base['GNOMEOS_COMMIT'] == devel.get('GNOMEOS_COMMIT'), 'base/devel build mismatch; retry after publication completes' + + +if __name__ == '__main__': + check(*(sys.argv[1:] or ['/tmp/base-os-release', '/usr/lib/os-release'])) diff --git a/container/requirements.kde-runner.txt b/container/requirements.kde-runner.txt index f122268c6..8e3f48caa 100644 --- a/container/requirements.kde-runner.txt +++ b/container/requirements.kde-runner.txt @@ -3,7 +3,7 @@ behave==1.3.3 selenium==4.46.0 websocket-client==1.9.0 -lxml==6.1.1 +lxml==6.1.3 PyYAML==6.0.3 # NOTE: no perceptual image differ is installed. diff --git a/dashboard/package-lock.json b/dashboard/package-lock.json index cd1489d02..5ec0ee224 100644 --- a/dashboard/package-lock.json +++ b/dashboard/package-lock.json @@ -10,35 +10,34 @@ "dependencies": { "@tailwindcss/vite": "^4", "ansi-to-html": "^0.7.2", - "astro": "^7.2.6", - "gray-matter": "^4.0.3", + "astro": "^7.2.8", + "js-yaml": "^4.1.0", "marked": "^12.0.1", "tailwindcss": "^4" }, "devDependencies": { - "@astrojs/check": "0.7.0", + "@astrojs/check": "0.9.10", "pagefind": "1.5.2", "typescript": "5.9.3" } }, "node_modules/@astrojs/check": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/@astrojs/check/-/check-0.7.0.tgz", - "integrity": "sha512-UTqwOeKNu9IYZmJXEeWnQuTdSd/pX58Hl4TUARsMlT97SVDL//kLBE4T/ctxRz6J573N87oE5ddtW/uOOnQTug==", + "version": "0.9.10", + "resolved": "https://registry.npmjs.org/@astrojs/check/-/check-0.9.10.tgz", + "integrity": "sha512-zgx/UQMozdjOa3bOxjgeCFdtpE3c9rRX6xHwa+2QXvy8z8Akifu2AtubHyv/zzC2znO8dl8fFWL4K+Ba9kS8HQ==", "dev": true, "license": "MIT", "dependencies": { - "@astrojs/language-server": "^2.10.0", - "chokidar": "^3.5.3", - "fast-glob": "^3.3.1", + "@astrojs/language-server": "^2.16.7", + "chokidar": "^4.0.3", "kleur": "^4.1.5", - "yargs": "^17.7.2" + "yargs": "^18.0.0" }, "bin": { - "astro-check": "dist/bin.js" + "astro-check": "bin/astro-check.js" }, "peerDependencies": { - "typescript": "^5.0.0" + "typescript": "^5.0.0 || ^6.0.0" } }, "node_modules/@astrojs/compiler": { @@ -49,29 +48,46 @@ "license": "MIT" }, "node_modules/@astrojs/compiler-binding": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/@astrojs/compiler-binding/-/compiler-binding-0.4.0.tgz", - "integrity": "sha512-x2RjDUuWfwLNtc3mjAdSRInwqh/rqbLar9cm/5FOMbHvmYZB7yfKewzSclAxWjIZsypJDXv1lhaP2WG+P8TK3g==", + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/@astrojs/compiler-binding/-/compiler-binding-0.5.1.tgz", + "integrity": "sha512-oczyolLUl9mNrtuBuNjuvn5thpHrFLXAHAWGTRg0JDHQ8cGVsVeFekOu2uSoQGgainJIi+A3/9m0DyYwz3Nlnw==", "license": "MIT", "engines": { "node": "^20.19.0 || >=22.12.0" }, "optionalDependencies": { - "@astrojs/compiler-binding-darwin-arm64": "0.4.0", - "@astrojs/compiler-binding-darwin-x64": "0.4.0", - "@astrojs/compiler-binding-linux-arm64-gnu": "0.4.0", - "@astrojs/compiler-binding-linux-arm64-musl": "0.4.0", - "@astrojs/compiler-binding-linux-x64-gnu": "0.4.0", - "@astrojs/compiler-binding-linux-x64-musl": "0.4.0", - "@astrojs/compiler-binding-wasm32-wasi": "0.4.0", - "@astrojs/compiler-binding-win32-arm64-msvc": "0.4.0", - "@astrojs/compiler-binding-win32-x64-msvc": "0.4.0" + "@astrojs/compiler-binding-android-arm64": "0.5.1", + "@astrojs/compiler-binding-darwin-arm64": "0.5.1", + "@astrojs/compiler-binding-darwin-x64": "0.5.1", + "@astrojs/compiler-binding-linux-arm64-gnu": "0.5.1", + "@astrojs/compiler-binding-linux-arm64-musl": "0.5.1", + "@astrojs/compiler-binding-linux-x64-gnu": "0.5.1", + "@astrojs/compiler-binding-linux-x64-musl": "0.5.1", + "@astrojs/compiler-binding-wasm32-wasi": "0.5.1", + "@astrojs/compiler-binding-win32-arm64-msvc": "0.5.1", + "@astrojs/compiler-binding-win32-x64-msvc": "0.5.1" + } + }, + "node_modules/@astrojs/compiler-binding-android-arm64": { + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/@astrojs/compiler-binding-android-arm64/-/compiler-binding-android-arm64-0.5.1.tgz", + "integrity": "sha512-nMb2nMIJtcWLNH+fV75Enmi+jp4tIOYOfsv4XtpgdOWkqc9P4uSSdK5u1xb340AzrXo5V18SxLl/nc3vcqtamQ==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" } }, "node_modules/@astrojs/compiler-binding-darwin-arm64": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/@astrojs/compiler-binding-darwin-arm64/-/compiler-binding-darwin-arm64-0.4.0.tgz", - "integrity": "sha512-ZVUwHundaQyFNjE6uoa0usaC0WOCitDCLS/4mdb4rOiJXwVUuKJBMxI5WMzXLWmamsXtK/Z//ifLXvV5Yeh4Hw==", + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/@astrojs/compiler-binding-darwin-arm64/-/compiler-binding-darwin-arm64-0.5.1.tgz", + "integrity": "sha512-5k4+nZ/WRt+dcVow4z7rBuI7iv9A58h/uQ91YJe1PrTivbcCkq3u2Ynx/AZJwII4CsZawBCeGpojkFjutZBhBQ==", "cpu": [ "arm64" ], @@ -85,9 +101,9 @@ } }, "node_modules/@astrojs/compiler-binding-darwin-x64": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/@astrojs/compiler-binding-darwin-x64/-/compiler-binding-darwin-x64-0.4.0.tgz", - "integrity": "sha512-FI6G8AY8u6fR1SI/QRR5yGMwtvZwP34CDmZpZ5HwJGa50UM1VISTLhqkhV4a476pmgd25X1Aur2dqw6hUnrlKA==", + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/@astrojs/compiler-binding-darwin-x64/-/compiler-binding-darwin-x64-0.5.1.tgz", + "integrity": "sha512-0Buw+YST9Ff2EqQyhRMQujuFq/dijLw3zXWhsvI0dJ2pGrT38iVoxTEca2eBX/PfhlwkVWSRJEKO5gMqKHyeHg==", "cpu": [ "x64" ], @@ -101,9 +117,9 @@ } }, "node_modules/@astrojs/compiler-binding-linux-arm64-gnu": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/@astrojs/compiler-binding-linux-arm64-gnu/-/compiler-binding-linux-arm64-gnu-0.4.0.tgz", - "integrity": "sha512-lB9gLFJK7m82EnjaU8nlRBEfcwGNeHidW3sSjODTUjMNaoewVuUz9fwwdY5M4jiSXIqWLH3yl6TX8FTDKA74Sw==", + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/@astrojs/compiler-binding-linux-arm64-gnu/-/compiler-binding-linux-arm64-gnu-0.5.1.tgz", + "integrity": "sha512-x5LRpyCoMKuu3INr18cn42YhwSOaRpp9b5Ny3eJJ/sWVeejC16Zeshu1JlvlSmEZACLeWxU5JM0RX6T6nI+YyA==", "cpu": [ "arm64" ], @@ -120,9 +136,9 @@ } }, "node_modules/@astrojs/compiler-binding-linux-arm64-musl": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/@astrojs/compiler-binding-linux-arm64-musl/-/compiler-binding-linux-arm64-musl-0.4.0.tgz", - "integrity": "sha512-HPbvWqbxFxyaoQJhLxCaSjtYBx9KBo7JGVzEFZCmMl968a2PsSH0UfiODYgYPXofTOIsIH2aoCcrHXML0IA3ig==", + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/@astrojs/compiler-binding-linux-arm64-musl/-/compiler-binding-linux-arm64-musl-0.5.1.tgz", + "integrity": "sha512-mL7tQEuDk3rGfaKmrO63nw6WBy1TPVioQGmVyjcAr+C+a/k3SVMYBytNSMqH9mZPT/Swj30JaZ2N842Z1NnOEQ==", "cpu": [ "arm64" ], @@ -139,9 +155,9 @@ } }, "node_modules/@astrojs/compiler-binding-linux-x64-gnu": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/@astrojs/compiler-binding-linux-x64-gnu/-/compiler-binding-linux-x64-gnu-0.4.0.tgz", - "integrity": "sha512-tQKolMxoJ/+0AmLWm1PmJ/i+z3i10ZU1bNuVjEDulCf48azEMtUNjTZgHJ5MPtpYRNc7dlETr8QujUfduzoC7Q==", + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/@astrojs/compiler-binding-linux-x64-gnu/-/compiler-binding-linux-x64-gnu-0.5.1.tgz", + "integrity": "sha512-uLGc9jtxwiDe4cQyhNPQim4ECiB/YzbWlXssfLAv8r374kArfTwBHjwR2+j+XVyF71yCx5mF9YNRclRqdNBgeg==", "cpu": [ "x64" ], @@ -158,9 +174,9 @@ } }, "node_modules/@astrojs/compiler-binding-linux-x64-musl": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/@astrojs/compiler-binding-linux-x64-musl/-/compiler-binding-linux-x64-musl-0.4.0.tgz", - "integrity": "sha512-5v5YymudsxMHp3NBLCS8BUlu5CRqeLtWD9cKS/4nIhIEHCbpz9okmVV6I0HWqmBAPhWYcDa3vw/vltYPrOQCTA==", + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/@astrojs/compiler-binding-linux-x64-musl/-/compiler-binding-linux-x64-musl-0.5.1.tgz", + "integrity": "sha512-G0cywinaQUc8v1MrytvYKUX7svTDMmYtOCZfxjwKPbJi59zIqM+Ll0rWgO0GQWLZH3XoPYo19ZwlP3Xt9ep9YA==", "cpu": [ "x64" ], @@ -177,25 +193,27 @@ } }, "node_modules/@astrojs/compiler-binding-wasm32-wasi": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/@astrojs/compiler-binding-wasm32-wasi/-/compiler-binding-wasm32-wasi-0.4.0.tgz", - "integrity": "sha512-m/phuH3x3PREvv1OnkM44NoPh4MatUadix1fB1u5SvMLCyDTUZykDJbKnWf1cjnYmHdlB8HcjTjl6JrCqAIXcw==", + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/@astrojs/compiler-binding-wasm32-wasi/-/compiler-binding-wasm32-wasi-0.5.1.tgz", + "integrity": "sha512-yMhLL8asmLydoAdnEZxAw6eLfNDs3YJl6jqn0pjPt6zrb2U5qIDLnii4/twThpIFODKkQ6YDpBRTOz/vSfZCxw==", "cpu": [ "wasm32" ], "license": "MIT", "optional": true, "dependencies": { - "@napi-rs/wasm-runtime": "^1.2.2" + "@emnapi/core": "1.11.3", + "@emnapi/runtime": "1.11.3", + "@napi-rs/wasm-runtime": "^1.2.4" }, "engines": { - "node": ">=14.0.0" + "node": "^20.19.0 || >=22.12.0" } }, "node_modules/@astrojs/compiler-binding-win32-arm64-msvc": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/@astrojs/compiler-binding-win32-arm64-msvc/-/compiler-binding-win32-arm64-msvc-0.4.0.tgz", - "integrity": "sha512-B9zYf3okEY83kM8gydlpH2BHP00w4ifxPqlYlWrgTwuD6wnkrJDCwBlgy1q31cERjCJRXN1lrE2VmkLvFjv/6g==", + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/@astrojs/compiler-binding-win32-arm64-msvc/-/compiler-binding-win32-arm64-msvc-0.5.1.tgz", + "integrity": "sha512-aClIG6poFt3Wf/bZykrEAX2nAnKvBHW6RXiKUa69QjBtWH0/FOlOAjnFcxRNlhej2AMWNYFx0o+LGjwMcH8P7Q==", "cpu": [ "arm64" ], @@ -209,9 +227,9 @@ } }, "node_modules/@astrojs/compiler-binding-win32-x64-msvc": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/@astrojs/compiler-binding-win32-x64-msvc/-/compiler-binding-win32-x64-msvc-0.4.0.tgz", - "integrity": "sha512-zB0Nrv0dGc0zZWPGDRmmETTPhDRqyZjAjk+gWMlVrJX5U89obpB3VUUE1ZiHxOCN5LQojeLK6O8L/dnoHolvNQ==", + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/@astrojs/compiler-binding-win32-x64-msvc/-/compiler-binding-win32-x64-msvc-0.5.1.tgz", + "integrity": "sha512-/E6uBCagY70YpWqssBC+/FuniNSloeQPRgj7l3LDWiqjxIyTLnIgX1sTt18FU7jrigetpSnC9cHAM6b6IxSgPw==", "cpu": [ "x64" ], @@ -225,21 +243,21 @@ } }, "node_modules/@astrojs/compiler-rs": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/@astrojs/compiler-rs/-/compiler-rs-0.4.0.tgz", - "integrity": "sha512-koVikeon1kreEy+/JzLQRy3vzHHQVOjycs4degg4vFufKApZOwMZvSSAEztYNhmcQVfNVsVZZI4cEge3cexAbQ==", + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/@astrojs/compiler-rs/-/compiler-rs-0.5.1.tgz", + "integrity": "sha512-1k1acnX7DepIiea9U9/Y+d1hdAFfylu1ZQQkkYgRSwBOBAsXInolyZuh/2tax+83vu/A+hOYP6P3+265RvMTvw==", "license": "MIT", "dependencies": { - "@astrojs/compiler-binding": "0.4.0" + "@astrojs/compiler-binding": "0.5.1" }, "engines": { "node": ">=22.12.0" } }, "node_modules/@astrojs/internal-helpers": { - "version": "0.10.4", - "resolved": "https://registry.npmjs.org/@astrojs/internal-helpers/-/internal-helpers-0.10.4.tgz", - "integrity": "sha512-nozZSy/mKYLqe4YrqbKtdOszedAfXYCtw3wZ0d+CAjz4GqQ4L9rl1ltIL5BlgwmYVinJg/RZ0MgGuWOdlyRZlA==", + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/@astrojs/internal-helpers/-/internal-helpers-0.11.0.tgz", + "integrity": "sha512-3rzxJ+xbo0+8YyqOzLziIN32wmsHdCjEVz2sGOpRxJ+Ben/KiLph4ItxBy1abEL+E8fkRzqjg0rfXmaHJGw9JA==", "license": "MIT", "dependencies": { "@types/hast": "^3.0.4", @@ -295,12 +313,12 @@ } }, "node_modules/@astrojs/markdown-satteri": { - "version": "0.3.8", - "resolved": "https://registry.npmjs.org/@astrojs/markdown-satteri/-/markdown-satteri-0.3.8.tgz", - "integrity": "sha512-n8ItpFTCmlDsVR5+rwDmehSf+jFCYLWmZiisZNGuF7xILqYhsVeBfcha4qgS2Seq3fAc9Tm58ZVrvqFQ6RQgRQ==", + "version": "0.4.2", + "resolved": "https://registry.npmjs.org/@astrojs/markdown-satteri/-/markdown-satteri-0.4.2.tgz", + "integrity": "sha512-g4QehXnB/MzxQWnSf17NciFInMqEJy9948p8cc7zGg/r7995m0Ln5PMr3Xlnj24iey1LchaoZ3SzTOa3D4P/3w==", "license": "MIT", "dependencies": { - "@astrojs/internal-helpers": "0.10.4", + "@astrojs/internal-helpers": "0.11.0", "@astrojs/prism": "4.0.2", "github-slugger": "^2.0.0", "satteri": "^0.10.3" @@ -662,7 +680,6 @@ "integrity": "sha512-zLpS5asjEb7lq8jYLq37N6XKaE41DIexlY1rF/z4/tIl3wo13Sqm28fRyfIsKZD+NZ8mM5RoKkpW/rBcuoSZSg==", "license": "MIT", "optional": true, - "peer": true, "dependencies": { "@emnapi/wasi-threads": "1.2.3", "tslib": "^2.4.0" @@ -684,7 +701,6 @@ "integrity": "sha512-ELEBe8PsLvvJ6QMr0zLt8ffvOHW/dc1m3CEzNMg7aJUv3bMaoDtw2TXyDAwkYBuroxxuHEwhRTLJSe5sya547g==", "license": "MIT", "optional": true, - "peer": true, "dependencies": { "tslib": "^2.4.0" } @@ -1116,9 +1132,9 @@ } }, "node_modules/@img/sharp-darwin-arm64": { - "version": "0.34.5", - "resolved": "https://registry.npmjs.org/@img/sharp-darwin-arm64/-/sharp-darwin-arm64-0.34.5.tgz", - "integrity": "sha512-imtQ3WMJXbMY4fxb/Ndp6HBTNVtWCUI0WdobyheGf5+ad6xX8VIDO8u2xE4qc/fr08CKG/7dDseFtn6M6g/r3w==", + "version": "0.35.5", + "resolved": "https://registry.npmjs.org/@img/sharp-darwin-arm64/-/sharp-darwin-arm64-0.35.5.tgz", + "integrity": "sha512-QRUlFQ0WxvdWyqqG/WtI3iupfD5rBzmCHXSdPsY91sAtVtTo7Q4cb6zOccZ3gqEqkr0f1As1ehLqmEpDsRf+lg==", "cpu": [ "arm64" ], @@ -1128,19 +1144,19 @@ "darwin" ], "engines": { - "node": "^18.17.0 || ^20.3.0 || >=21.0.0" + "node": ">=20.9.0" }, "funding": { "url": "https://opencollective.com/libvips" }, "optionalDependencies": { - "@img/sharp-libvips-darwin-arm64": "1.2.4" + "@img/sharp-libvips-darwin-arm64": "1.3.4" } }, "node_modules/@img/sharp-darwin-x64": { - "version": "0.34.5", - "resolved": "https://registry.npmjs.org/@img/sharp-darwin-x64/-/sharp-darwin-x64-0.34.5.tgz", - "integrity": "sha512-YNEFAF/4KQ/PeW0N+r+aVVsoIY0/qxxikF2SWdp+NRkmMB7y9LBZAVqQ4yhGCm/H3H270OSykqmQMKLBhBJDEw==", + "version": "0.35.5", + "resolved": "https://registry.npmjs.org/@img/sharp-darwin-x64/-/sharp-darwin-x64-0.35.5.tgz", + "integrity": "sha512-+BR255RhDlpygUpOc/Jdt1nT6DQ3XG/ERo5wbcdOf5Q320dKtPCKPLR1LJs9VGXRaMa8l1uUa0tkCNOXiAxZUw==", "cpu": [ "x64" ], @@ -1150,19 +1166,38 @@ "darwin" ], "engines": { - "node": "^18.17.0 || ^20.3.0 || >=21.0.0" + "node": ">=20.9.0" }, "funding": { "url": "https://opencollective.com/libvips" }, "optionalDependencies": { - "@img/sharp-libvips-darwin-x64": "1.2.4" + "@img/sharp-libvips-darwin-x64": "1.3.4" + } + }, + "node_modules/@img/sharp-freebsd-wasm32": { + "version": "0.35.5", + "resolved": "https://registry.npmjs.org/@img/sharp-freebsd-wasm32/-/sharp-freebsd-wasm32-0.35.5.tgz", + "integrity": "sha512-Y/z91nEZ4uIBX5X3nfTovjU9lHNKFYbL2lpHCLVNmXQK03VIZvXBBt0KxbPGp2SdGSF+2mQU4e+hQaWOt86iAw==", + "license": "Apache-2.0", + "optional": true, + "os": [ + "freebsd" + ], + "dependencies": { + "@img/sharp-wasm32": "0.35.5" + }, + "engines": { + "node": ">=20.9.0" + }, + "funding": { + "url": "https://opencollective.com/libvips" } }, "node_modules/@img/sharp-libvips-darwin-arm64": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/@img/sharp-libvips-darwin-arm64/-/sharp-libvips-darwin-arm64-1.2.4.tgz", - "integrity": "sha512-zqjjo7RatFfFoP0MkQ51jfuFZBnVE2pRiaydKJ1G/rHZvnsrHAOcQALIi9sA5co5xenQdTugCvtb1cuf78Vf4g==", + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-darwin-arm64/-/sharp-libvips-darwin-arm64-1.3.4.tgz", + "integrity": "sha512-5R89nBYiRdUlSWJxPhO+GVtaXzXSxKnRu/xqMn3KTA3L9EB9Oy/P+Nn2f2vlhPuUdy/Zusb2DarbyTpGCfEDuw==", "cpu": [ "arm64" ], @@ -1176,9 +1211,9 @@ } }, "node_modules/@img/sharp-libvips-darwin-x64": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/@img/sharp-libvips-darwin-x64/-/sharp-libvips-darwin-x64-1.2.4.tgz", - "integrity": "sha512-1IOd5xfVhlGwX+zXv2N93k0yMONvUlANylbJw1eTah8K/Jtpi15KC+WSiaX/nBmbm2HxRM1gZ0nSdjSsrZbGKg==", + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-darwin-x64/-/sharp-libvips-darwin-x64-1.3.4.tgz", + "integrity": "sha512-iR2OKH80yi0U+dUplyh3/xdpFvps6YkCwsXenIJxqxR1v9o+xtKTGbS9H7cps+2Vxjc8B1j96p75NmTGjIhtpQ==", "cpu": [ "x64" ], @@ -1192,9 +1227,9 @@ } }, "node_modules/@img/sharp-libvips-linux-arm": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-arm/-/sharp-libvips-linux-arm-1.2.4.tgz", - "integrity": "sha512-bFI7xcKFELdiNCVov8e44Ia4u2byA+l3XtsAj+Q8tfCwO6BQ8iDojYdvoPMqsKDkuoOo+X6HZA0s0q11ANMQ8A==", + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-arm/-/sharp-libvips-linux-arm-1.3.4.tgz", + "integrity": "sha512-LmRtTsOHuvM2+wlO2Db37dx5MiZhB0FvSunciw48YjdOkZz9KAiRbm8ujeMOA1INqmei5NapFxYEK1D1ZSidmw==", "cpu": [ "arm" ], @@ -1211,9 +1246,9 @@ } }, "node_modules/@img/sharp-libvips-linux-arm64": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-arm64/-/sharp-libvips-linux-arm64-1.2.4.tgz", - "integrity": "sha512-excjX8DfsIcJ10x1Kzr4RcWe1edC9PquDRRPx3YVCvQv+U5p7Yin2s32ftzikXojb1PIFc/9Mt28/y+iRklkrw==", + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-arm64/-/sharp-libvips-linux-arm64-1.3.4.tgz", + "integrity": "sha512-Y3dgX/6lE2QhQb+Gxy0WZxfg9MEm/JBjamZpS2IklP7xIQoKN4hzAm7KcMVGtaVDt3neE9OKBC7vAfonA/Lr1A==", "cpu": [ "arm64" ], @@ -1230,9 +1265,9 @@ } }, "node_modules/@img/sharp-libvips-linux-ppc64": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-ppc64/-/sharp-libvips-linux-ppc64-1.2.4.tgz", - "integrity": "sha512-FMuvGijLDYG6lW+b/UvyilUWu5Ayu+3r2d1S8notiGCIyYU/76eig1UfMmkZ7vwgOrzKzlQbFSuQfgm7GYUPpA==", + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-ppc64/-/sharp-libvips-linux-ppc64-1.3.4.tgz", + "integrity": "sha512-Le6boB8Tai0Nis+gIxIpKx68UDVVIqdR8Tin5Yf1z2LJJQLDJvCDRqRu+jC2qCoD+eIomonmOwB4smBRxfVpYQ==", "cpu": [ "ppc64" ], @@ -1249,9 +1284,9 @@ } }, "node_modules/@img/sharp-libvips-linux-riscv64": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-riscv64/-/sharp-libvips-linux-riscv64-1.2.4.tgz", - "integrity": "sha512-oVDbcR4zUC0ce82teubSm+x6ETixtKZBh/qbREIOcI3cULzDyb18Sr/Wcyx7NRQeQzOiHTNbZFF1UwPS2scyGA==", + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-riscv64/-/sharp-libvips-linux-riscv64-1.3.4.tgz", + "integrity": "sha512-aHkkIEHPRdQEegJN20MLmGtxYD9R2wQr3Cwpddnu5+YKMt6Uzax7S9h5gpZTo8wyrGuZSlfQ63OevL5mTyOC7Q==", "cpu": [ "riscv64" ], @@ -1268,9 +1303,9 @@ } }, "node_modules/@img/sharp-libvips-linux-s390x": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-s390x/-/sharp-libvips-linux-s390x-1.2.4.tgz", - "integrity": "sha512-qmp9VrzgPgMoGZyPvrQHqk02uyjA0/QrTO26Tqk6l4ZV0MPWIW6LTkqOIov+J1yEu7MbFQaDpwdwJKhbJvuRxQ==", + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-s390x/-/sharp-libvips-linux-s390x-1.3.4.tgz", + "integrity": "sha512-ra/mB6MikESDUO7Yg+Mi95bFBb9GsObURuhnOv3OqknjGe9sZrG8tCe9q0xSIGrtLgvgw0gKnFWcK4blSgQOuQ==", "cpu": [ "s390x" ], @@ -1287,9 +1322,9 @@ } }, "node_modules/@img/sharp-libvips-linux-x64": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-x64/-/sharp-libvips-linux-x64-1.2.4.tgz", - "integrity": "sha512-tJxiiLsmHc9Ax1bz3oaOYBURTXGIRDODBqhveVHonrHJ9/+k89qbLl0bcJns+e4t4rvaNBxaEZsFtSfAdquPrw==", + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-x64/-/sharp-libvips-linux-x64-1.3.4.tgz", + "integrity": "sha512-GJ//SSXbnwSDes02umB3nDJLFcQzw8a18V8fyhqr6tV515tOEMdImjjxj1AoafMRz56F3PHgftnj1QEKSU1zkw==", "cpu": [ "x64" ], @@ -1306,9 +1341,9 @@ } }, "node_modules/@img/sharp-libvips-linuxmusl-arm64": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linuxmusl-arm64/-/sharp-libvips-linuxmusl-arm64-1.2.4.tgz", - "integrity": "sha512-FVQHuwx1IIuNow9QAbYUzJ+En8KcVm9Lk5+uGUQJHaZmMECZmOlix9HnH7n1TRkXMS0pGxIJokIVB9SuqZGGXw==", + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linuxmusl-arm64/-/sharp-libvips-linuxmusl-arm64-1.3.4.tgz", + "integrity": "sha512-hvulFwtjUcagsis6BBxHwGFwWoNZjgYmULGVrZcyfNbjA8hKILbRxGg15/7w5HDyXHXUos/j6baAWqnCyQ2DWA==", "cpu": [ "arm64" ], @@ -1325,9 +1360,9 @@ } }, "node_modules/@img/sharp-libvips-linuxmusl-x64": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linuxmusl-x64/-/sharp-libvips-linuxmusl-x64-1.2.4.tgz", - "integrity": "sha512-+LpyBk7L44ZIXwz/VYfglaX/okxezESc6UxDSoyo2Ks6Jxc4Y7sGjpgU9s4PMgqgjj1gZCylTieNamqA1MF7Dg==", + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linuxmusl-x64/-/sharp-libvips-linuxmusl-x64-1.3.4.tgz", + "integrity": "sha512-6zXKeE/p39I1AmA3cJG35eyBGNqNddLnUXjhwBnsGjFPWqf5VKkDBEqaEkPDoTEtkxwi2vv8Tcr2mDyP4So7Fg==", "cpu": [ "x64" ], @@ -1344,9 +1379,9 @@ } }, "node_modules/@img/sharp-linux-arm": { - "version": "0.34.5", - "resolved": "https://registry.npmjs.org/@img/sharp-linux-arm/-/sharp-linux-arm-0.34.5.tgz", - "integrity": "sha512-9dLqsvwtg1uuXBGZKsxem9595+ujv0sJ6Vi8wcTANSFpwV/GONat5eCkzQo/1O6zRIkh0m/8+5BjrRr7jDUSZw==", + "version": "0.35.5", + "resolved": "https://registry.npmjs.org/@img/sharp-linux-arm/-/sharp-linux-arm-0.35.5.tgz", + "integrity": "sha512-LEaXK2WdXVK5ykcw0buWyPMsmLLL2vpHLD6yrNSW+JGEL3BZPA4tpKN6iaMc4AxTTAoaX/sU1rOL51lcIz48ZQ==", "cpu": [ "arm" ], @@ -1359,19 +1394,19 @@ "linux" ], "engines": { - "node": "^18.17.0 || ^20.3.0 || >=21.0.0" + "node": ">=20.9.0" }, "funding": { "url": "https://opencollective.com/libvips" }, "optionalDependencies": { - "@img/sharp-libvips-linux-arm": "1.2.4" + "@img/sharp-libvips-linux-arm": "1.3.4" } }, "node_modules/@img/sharp-linux-arm64": { - "version": "0.34.5", - "resolved": "https://registry.npmjs.org/@img/sharp-linux-arm64/-/sharp-linux-arm64-0.34.5.tgz", - "integrity": "sha512-bKQzaJRY/bkPOXyKx5EVup7qkaojECG6NLYswgktOZjaXecSAeCWiZwwiFf3/Y+O1HrauiE3FVsGxFg8c24rZg==", + "version": "0.35.5", + "resolved": "https://registry.npmjs.org/@img/sharp-linux-arm64/-/sharp-linux-arm64-0.35.5.tgz", + "integrity": "sha512-LYVx5JTsOM2CBzmxreh+nl64/3H6Xb09iSLknqH47z2T2DFFxDeFLP5y4dJwe6H7uGQlHPyEEtIqyo3DYsRwdQ==", "cpu": [ "arm64" ], @@ -1384,19 +1419,19 @@ "linux" ], "engines": { - "node": "^18.17.0 || ^20.3.0 || >=21.0.0" + "node": ">=20.9.0" }, "funding": { "url": "https://opencollective.com/libvips" }, "optionalDependencies": { - "@img/sharp-libvips-linux-arm64": "1.2.4" + "@img/sharp-libvips-linux-arm64": "1.3.4" } }, "node_modules/@img/sharp-linux-ppc64": { - "version": "0.34.5", - "resolved": "https://registry.npmjs.org/@img/sharp-linux-ppc64/-/sharp-linux-ppc64-0.34.5.tgz", - "integrity": "sha512-7zznwNaqW6YtsfrGGDA6BRkISKAAE1Jo0QdpNYXNMHu2+0dTrPflTLNkpc8l7MUP5M16ZJcUvysVWWrMefZquA==", + "version": "0.35.5", + "resolved": "https://registry.npmjs.org/@img/sharp-linux-ppc64/-/sharp-linux-ppc64-0.35.5.tgz", + "integrity": "sha512-QVxAAq8evVRI9ia2vqgwrmWucn5Dfv+JdWzj75pD8omHLPSP7f8p20O8jxzjCcuCEQEOtYOZUmX1hkiZ0kdevA==", "cpu": [ "ppc64" ], @@ -1409,19 +1444,19 @@ "linux" ], "engines": { - "node": "^18.17.0 || ^20.3.0 || >=21.0.0" + "node": ">=20.9.0" }, "funding": { "url": "https://opencollective.com/libvips" }, "optionalDependencies": { - "@img/sharp-libvips-linux-ppc64": "1.2.4" + "@img/sharp-libvips-linux-ppc64": "1.3.4" } }, "node_modules/@img/sharp-linux-riscv64": { - "version": "0.34.5", - "resolved": "https://registry.npmjs.org/@img/sharp-linux-riscv64/-/sharp-linux-riscv64-0.34.5.tgz", - "integrity": "sha512-51gJuLPTKa7piYPaVs8GmByo7/U7/7TZOq+cnXJIHZKavIRHAP77e3N2HEl3dgiqdD/w0yUfiJnII77PuDDFdw==", + "version": "0.35.5", + "resolved": "https://registry.npmjs.org/@img/sharp-linux-riscv64/-/sharp-linux-riscv64-0.35.5.tgz", + "integrity": "sha512-LtdreXguaavKODPIfzJ4kffx7UNt1omwtK0rch4EBbbSTXPnxWmYSayXdLJw0fJzQ97kHt1gL/yh4tvU+nCyRQ==", "cpu": [ "riscv64" ], @@ -1434,19 +1469,19 @@ "linux" ], "engines": { - "node": "^18.17.0 || ^20.3.0 || >=21.0.0" + "node": ">=20.9.0" }, "funding": { "url": "https://opencollective.com/libvips" }, "optionalDependencies": { - "@img/sharp-libvips-linux-riscv64": "1.2.4" + "@img/sharp-libvips-linux-riscv64": "1.3.4" } }, "node_modules/@img/sharp-linux-s390x": { - "version": "0.34.5", - "resolved": "https://registry.npmjs.org/@img/sharp-linux-s390x/-/sharp-linux-s390x-0.34.5.tgz", - "integrity": "sha512-nQtCk0PdKfho3eC5MrbQoigJ2gd1CgddUMkabUj+rBevs8tZ2cULOx46E7oyX+04WGfABgIwmMC0VqieTiR4jg==", + "version": "0.35.5", + "resolved": "https://registry.npmjs.org/@img/sharp-linux-s390x/-/sharp-linux-s390x-0.35.5.tgz", + "integrity": "sha512-UZasTOFiYzotTsGOCu42BfUzP6Tu6Do/947iRm1RsLKvlllxwGcn4RN27LibGWceix4Y+Pmw3jsnTcCQIgWjqA==", "cpu": [ "s390x" ], @@ -1459,19 +1494,19 @@ "linux" ], "engines": { - "node": "^18.17.0 || ^20.3.0 || >=21.0.0" + "node": ">=20.9.0" }, "funding": { "url": "https://opencollective.com/libvips" }, "optionalDependencies": { - "@img/sharp-libvips-linux-s390x": "1.2.4" + "@img/sharp-libvips-linux-s390x": "1.3.4" } }, "node_modules/@img/sharp-linux-x64": { - "version": "0.34.5", - "resolved": "https://registry.npmjs.org/@img/sharp-linux-x64/-/sharp-linux-x64-0.34.5.tgz", - "integrity": "sha512-MEzd8HPKxVxVenwAa+JRPwEC7QFjoPWuS5NZnBt6B3pu7EG2Ge0id1oLHZpPJdn3OQK+BQDiw9zStiHBTJQQQQ==", + "version": "0.35.5", + "resolved": "https://registry.npmjs.org/@img/sharp-linux-x64/-/sharp-linux-x64-0.35.5.tgz", + "integrity": "sha512-SxFtLTeJInhAA9Q836kux2vZNeOBQEx658qvbboZScr0wIARym3IcGmW7KpVD5sbVg0Ojy+udFQdayYIZyoNog==", "cpu": [ "x64" ], @@ -1484,19 +1519,19 @@ "linux" ], "engines": { - "node": "^18.17.0 || ^20.3.0 || >=21.0.0" + "node": ">=20.9.0" }, "funding": { "url": "https://opencollective.com/libvips" }, "optionalDependencies": { - "@img/sharp-libvips-linux-x64": "1.2.4" + "@img/sharp-libvips-linux-x64": "1.3.4" } }, "node_modules/@img/sharp-linuxmusl-arm64": { - "version": "0.34.5", - "resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-arm64/-/sharp-linuxmusl-arm64-0.34.5.tgz", - "integrity": "sha512-fprJR6GtRsMt6Kyfq44IsChVZeGN97gTD331weR1ex1c1rypDEABN6Tm2xa1wE6lYb5DdEnk03NZPqA7Id21yg==", + "version": "0.35.5", + "resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-arm64/-/sharp-linuxmusl-arm64-0.35.5.tgz", + "integrity": "sha512-9HbMclmI1zlNkFRs3z9/eBtDjfD0sGlrX1z6b1qwmiFY5ElDLh4BC0LPBdVp7z1DXFiKlIcznf+ZlsuZzLxQqg==", "cpu": [ "arm64" ], @@ -1509,19 +1544,19 @@ "linux" ], "engines": { - "node": "^18.17.0 || ^20.3.0 || >=21.0.0" + "node": ">=20.9.0" }, "funding": { "url": "https://opencollective.com/libvips" }, "optionalDependencies": { - "@img/sharp-libvips-linuxmusl-arm64": "1.2.4" + "@img/sharp-libvips-linuxmusl-arm64": "1.3.4" } }, "node_modules/@img/sharp-linuxmusl-x64": { - "version": "0.34.5", - "resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-x64/-/sharp-linuxmusl-x64-0.34.5.tgz", - "integrity": "sha512-Jg8wNT1MUzIvhBFxViqrEhWDGzqymo3sV7z7ZsaWbZNDLXRJZoRGrjulp60YYtV4wfY8VIKcWidjojlLcWrd8Q==", + "version": "0.35.5", + "resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-x64/-/sharp-linuxmusl-x64-0.35.5.tgz", + "integrity": "sha512-4KOphqB035HrVdqLZfCgMzzERrQkkzOwRhl4OAkRO1YCldbaFjySXMaK534Mo0V+LndnlJk+sbUyLeU0ULyD1A==", "cpu": [ "x64" ], @@ -1534,38 +1569,54 @@ "linux" ], "engines": { - "node": "^18.17.0 || ^20.3.0 || >=21.0.0" + "node": ">=20.9.0" }, "funding": { "url": "https://opencollective.com/libvips" }, "optionalDependencies": { - "@img/sharp-libvips-linuxmusl-x64": "1.2.4" + "@img/sharp-libvips-linuxmusl-x64": "1.3.4" } }, "node_modules/@img/sharp-wasm32": { - "version": "0.34.5", - "resolved": "https://registry.npmjs.org/@img/sharp-wasm32/-/sharp-wasm32-0.34.5.tgz", - "integrity": "sha512-OdWTEiVkY2PHwqkbBI8frFxQQFekHaSSkUIJkwzclWZe64O1X4UlUjqqqLaPbUpMOQk6FBu/HtlGXNblIs0huw==", + "version": "0.35.5", + "resolved": "https://registry.npmjs.org/@img/sharp-wasm32/-/sharp-wasm32-0.35.5.tgz", + "integrity": "sha512-Ptsga1su4tQx+LLF1ECS9U6nz5kmrXKo6XVbtR48Ke3ZRxxgaWBu7IDtEe1quo8hiupwm6WFqxVlXaSf7IINGQ==", + "license": "Apache-2.0 AND LGPL-3.0-or-later AND MIT", + "optional": true, + "dependencies": { + "@emnapi/runtime": "^1.11.3" + }, + "engines": { + "node": ">=20.9.0" + }, + "funding": { + "url": "https://opencollective.com/libvips" + } + }, + "node_modules/@img/sharp-webcontainers-wasm32": { + "version": "0.35.5", + "resolved": "https://registry.npmjs.org/@img/sharp-webcontainers-wasm32/-/sharp-webcontainers-wasm32-0.35.5.tgz", + "integrity": "sha512-hfhF/FmoQyTUkA0bIKFOtw536BQSeBMe6BF6QyWlrPxT754+TFLaZ7sKKTfvvM0yJgKgaYTwnFCIZ/GuDw5SUA==", "cpu": [ "wasm32" ], - "license": "Apache-2.0 AND LGPL-3.0-or-later AND MIT", + "license": "Apache-2.0", "optional": true, "dependencies": { - "@emnapi/runtime": "^1.7.0" + "@img/sharp-wasm32": "0.35.5" }, "engines": { - "node": "^18.17.0 || ^20.3.0 || >=21.0.0" + "node": ">=20.9.0" }, "funding": { "url": "https://opencollective.com/libvips" } }, "node_modules/@img/sharp-win32-arm64": { - "version": "0.34.5", - "resolved": "https://registry.npmjs.org/@img/sharp-win32-arm64/-/sharp-win32-arm64-0.34.5.tgz", - "integrity": "sha512-WQ3AgWCWYSb2yt+IG8mnC6Jdk9Whs7O0gxphblsLvdhSpSTtmu69ZG1Gkb6NuvxsNACwiPV6cNSZNzt0KPsw7g==", + "version": "0.35.5", + "resolved": "https://registry.npmjs.org/@img/sharp-win32-arm64/-/sharp-win32-arm64-0.35.5.tgz", + "integrity": "sha512-X4t7g+7ZA5DKblCBEXGjUqqemj4vczING/5viFwAL8h4N3qYeyjwdCvRLHi4EdOUI+2Z7UFlp1VM+p/AuEtm6Q==", "cpu": [ "arm64" ], @@ -1575,16 +1626,16 @@ "win32" ], "engines": { - "node": "^18.17.0 || ^20.3.0 || >=21.0.0" + "node": ">=20.9.0" }, "funding": { "url": "https://opencollective.com/libvips" } }, "node_modules/@img/sharp-win32-ia32": { - "version": "0.34.5", - "resolved": "https://registry.npmjs.org/@img/sharp-win32-ia32/-/sharp-win32-ia32-0.34.5.tgz", - "integrity": "sha512-FV9m/7NmeCmSHDD5j4+4pNI8Cp3aW+JvLoXcTUo0IqyjSfAZJ8dIUmijx1qaJsIiU+Hosw6xM5KijAWRJCSgNg==", + "version": "0.35.5", + "resolved": "https://registry.npmjs.org/@img/sharp-win32-ia32/-/sharp-win32-ia32-0.35.5.tgz", + "integrity": "sha512-5Zm82LoBc43nhwNybZlG7Y1KO//Zhsn306fQl29ZOuStHLGTo3BWL83q3cznX0poxSAMuYL1On/BHBxkBeKr6A==", "cpu": [ "ia32" ], @@ -1594,16 +1645,16 @@ "win32" ], "engines": { - "node": "^18.17.0 || ^20.3.0 || >=21.0.0" + "node": "^20.9.0" }, "funding": { "url": "https://opencollective.com/libvips" } }, "node_modules/@img/sharp-win32-x64": { - "version": "0.34.5", - "resolved": "https://registry.npmjs.org/@img/sharp-win32-x64/-/sharp-win32-x64-0.34.5.tgz", - "integrity": "sha512-+29YMsqY2/9eFEiW93eqWnuLcWcufowXewwSNIT6UwZdUUCrM3oFjMWH/Z6/TMmb4hlFenmfAVbpWeup2jryCw==", + "version": "0.35.5", + "resolved": "https://registry.npmjs.org/@img/sharp-win32-x64/-/sharp-win32-x64-0.35.5.tgz", + "integrity": "sha512-x76eH0vEiHlcMQu8Y8IenntaACtddpT6W0wmXtWrnKcnKI7ME5DdgqhAD6SEWOEl1v2zDvkZDhFA9KnURwpfqg==", "cpu": [ "x64" ], @@ -1613,7 +1664,7 @@ "win32" ], "engines": { - "node": "^18.17.0 || ^20.3.0 || >=21.0.0" + "node": ">=20.9.0" }, "funding": { "url": "https://opencollective.com/libvips" @@ -1665,9 +1716,9 @@ } }, "node_modules/@napi-rs/wasm-runtime": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/@napi-rs/wasm-runtime/-/wasm-runtime-1.2.3.tgz", - "integrity": "sha512-UMduMbqO5s5zF2NkNacMT/yK5Y5QiKvWr2+50bzIIxFDwVJ2h49b+oyjaCGPhJxd2/gC2x39EHv/gHVuu36x2Q==", + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/@napi-rs/wasm-runtime/-/wasm-runtime-1.2.4.tgz", + "integrity": "sha512-AJxoUD2/15ESHbvpcyjU274nsAPLuOtPHCk0vKJM5pj//Fg/B1FXNWjPnXTT9PymCYYiHo4zPj0ZomXBKhoy7g==", "license": "MIT", "optional": true, "dependencies": { @@ -1685,44 +1736,6 @@ "@emnapi/runtime": "^1.7.1 || ^2.0.0-alpha.4" } }, - "node_modules/@nodelib/fs.scandir": { - "version": "2.1.5", - "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", - "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", - "dev": true, - "license": "MIT", - "dependencies": { - "@nodelib/fs.stat": "2.0.5", - "run-parallel": "^1.1.9" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/@nodelib/fs.stat": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", - "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 8" - } - }, - "node_modules/@nodelib/fs.walk": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", - "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@nodelib/fs.scandir": "2.1.5", - "fastq": "^1.6.0" - }, - "engines": { - "node": ">= 8" - } - }, "node_modules/@oslojs/encoding": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/@oslojs/encoding/-/encoding-1.1.0.tgz", @@ -1730,12 +1743,12 @@ "license": "MIT" }, "node_modules/@oxc-project/types": { - "version": "0.143.0", - "resolved": "https://registry.npmjs.org/@oxc-project/types/-/types-0.143.0.tgz", - "integrity": "sha512-u6JZdLBTLotrNC9Vd6vPssINdzcCzleKAH6EJKImQb7GtYvX5keN2dxkoK44stCc4tffE6QQRtZTXVSzsLUlWA==", + "version": "0.154.0", + "resolved": "https://registry.npmjs.org/@oxc-project/types/-/types-0.154.0.tgz", + "integrity": "sha512-KYOUGQFlLWR+s4QMV2Q9ko38TZm7EdO87Qm7rvZLqk/webse/cDjtyxKhg/47l0byCbs/k46LT8qc4PKjAikzA==", "license": "MIT", "funding": { - "url": "https://github.com/sponsors/Boshen" + "url": "https://github.com/sponsors/oxc-project" } }, "node_modules/@pagefind/darwin-arm64": { @@ -1836,10 +1849,26 @@ "win32" ] }, + "node_modules/@rolldown/binding-android-arm-eabi": { + "version": "1.2.14", + "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm-eabi/-/binding-android-arm-eabi-1.2.14.tgz", + "integrity": "sha512-aWR+XKH9+rW7m5fWq/5360J3mHycrx/o6xZM2DQFdJnTMdyP7/WzxPjhtLbVWdKo2y612/4U1bWqb3HQhiF7vg==", + "cpu": [ + "arm" + ], + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, "node_modules/@rolldown/binding-android-arm64": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm64/-/binding-android-arm64-1.2.3.tgz", - "integrity": "sha512-zrJtHDcaZJ1Fp7xf4hNl+7seH9Cn/N5TwLYkhgXREtBwAd/jaqW3uqeHxpDugJLVICWg4eW44kOQEGJ1r6jCGw==", + "version": "1.2.14", + "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm64/-/binding-android-arm64-1.2.14.tgz", + "integrity": "sha512-QiVxHofl6A8lQU7WAtOUY4QMVZXohxwz7WJJoeh8NBEUyKfIkMRKhYyq8az/1RypNiIXzNTtiS6KwHz0erxYRQ==", "cpu": [ "arm64" ], @@ -1853,9 +1882,9 @@ } }, "node_modules/@rolldown/binding-darwin-arm64": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-arm64/-/binding-darwin-arm64-1.2.3.tgz", - "integrity": "sha512-ieIiibVCp0tX7TLu2cafoNPv8wJyYi01ekXpbf8q2j7F4rGAhhXb/eQh7ge9DRBY78GwmRQtvjZDux7EDbA8kA==", + "version": "1.2.14", + "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-arm64/-/binding-darwin-arm64-1.2.14.tgz", + "integrity": "sha512-lTQOzHuBIooh3jIr5XINQkjPGEuGy+Dsy0meXDr6Sjty0b99kYgGh4uBC/8mJX1T0kC8d6S0aPP1Y+bHkh6aBw==", "cpu": [ "arm64" ], @@ -1869,9 +1898,9 @@ } }, "node_modules/@rolldown/binding-darwin-x64": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-x64/-/binding-darwin-x64-1.2.3.tgz", - "integrity": "sha512-Zh9tCon19eDXJoihx0rqKhMUlMYqzwj3aPsSuHmI4RWZh62dWUL+DJN4C5YQya5TcQBJU/Fe8+rY0jhXTQITqA==", + "version": "1.2.14", + "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-x64/-/binding-darwin-x64-1.2.14.tgz", + "integrity": "sha512-hyMKEGatjmBYCs/Q4sbIcL/GqpFEqsX3wc+HYVQ/85A4rxc1o7rPm4DUI4GV4k/h0ITddwFSGpqQunI14GXjTA==", "cpu": [ "x64" ], @@ -1885,9 +1914,9 @@ } }, "node_modules/@rolldown/binding-freebsd-x64": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/@rolldown/binding-freebsd-x64/-/binding-freebsd-x64-1.2.3.tgz", - "integrity": "sha512-nGbJWewA1wrXXZiQhjAT5rhibGfns5ZNkDVqxsO6zJ3f3YvpoDNNmGMSbbhLuXKjNScaBJVOAboztAWVespQMg==", + "version": "1.2.14", + "resolved": "https://registry.npmjs.org/@rolldown/binding-freebsd-x64/-/binding-freebsd-x64-1.2.14.tgz", + "integrity": "sha512-u371GbXoVXrEgP20PwzoGNOdAOqAMhzo19JzzY+V4YmmnC+DTOoqdbMu+O+54emM59Mik/UdrtWgcuEDKWRPKA==", "cpu": [ "x64" ], @@ -1901,9 +1930,9 @@ } }, "node_modules/@rolldown/binding-linux-arm-gnueabihf": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-1.2.3.tgz", - "integrity": "sha512-QNniJr5Kml0kDEB98jiDOJjXNroxIIi0IXIbdYzY26Xt1pVbeP62+KnoIZLwirOymX/0jDk/2gI/bNUv7A7OIw==", + "version": "1.2.14", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-1.2.14.tgz", + "integrity": "sha512-BqwKsdZQf6EqVWr8fv2MrDYzAvOZ7+NYFSJESRGs87fkseEhs0TU9TXgRJTkZoRRkxTizyEg1LKUXfU3/78uqg==", "cpu": [ "arm" ], @@ -1917,9 +1946,9 @@ } }, "node_modules/@rolldown/binding-linux-arm64-gnu": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.2.3.tgz", - "integrity": "sha512-TkqEAcmmvH3I/q4114NB4RVt6241Dao48pF45uLcFGrwAaIn0iITgTAKP/dLjbN0R4buJjGb91+UHSoFmpgIWw==", + "version": "1.2.14", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.2.14.tgz", + "integrity": "sha512-SD9kY8M009x/7s57Z1dgUVlP5+uYBgKQK0Tkr1WIWngrtUJmRCW1RJFMY7QDla2khXhmg2i5Io7MUjcmZNZ/KQ==", "cpu": [ "arm64" ], @@ -1936,9 +1965,9 @@ } }, "node_modules/@rolldown/binding-linux-arm64-musl": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.2.3.tgz", - "integrity": "sha512-NHqjnxpsndf4MPymxteFAWHHfkTL8HjWh1KB7z23ofZ6QO2euONuxDXjat69dKZRALnGypg8k8SsK8vZJoXv1Q==", + "version": "1.2.14", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.2.14.tgz", + "integrity": "sha512-BJ2CL19M6uuWesMgnqJzgxoI+N+eV7b0A9O9vLV42y+gitC41fNa8KElau1tHVzuLWX5GzEuxMPhAO0tQXQMkg==", "cpu": [ "arm64" ], @@ -1955,9 +1984,9 @@ } }, "node_modules/@rolldown/binding-linux-ppc64-gnu": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-1.2.3.tgz", - "integrity": "sha512-6tbrbwfz5GB9DQ4Jwo6hy9v+vR31xZlvzZ6n5Xut6Hhx5PvrA9q/HsK8KMaYQp063iqZGXwNvZtYNLD7EM/x0w==", + "version": "1.2.14", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-1.2.14.tgz", + "integrity": "sha512-4+Kl8daPV8NDHaD7mfCcc1pRM+Qg7ab8DyMm5FG5WoZgv4h2i3KFN1CybYBNbQqmuYm7ftJLvmMI1eHYJ22S/Q==", "cpu": [ "ppc64" ], @@ -1974,9 +2003,9 @@ } }, "node_modules/@rolldown/binding-linux-s390x-gnu": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-1.2.3.tgz", - "integrity": "sha512-oyuXxXmoZHjXC917IAPFAAv4wWAa0cM9afk8nx1+9/jNNOX1uPf8yDA6p7G0RypOfw/X0PQt5IfoquY1um+zSg==", + "version": "1.2.14", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-1.2.14.tgz", + "integrity": "sha512-V/h8ePq1fKDrmtFMz6xcCN3DKvuvMRrwwD1q0PkBeeo4DpK64biaKvqWGVxqCeYKqeRk7gE7/iKPxLCn08O97A==", "cpu": [ "s390x" ], @@ -1993,9 +2022,9 @@ } }, "node_modules/@rolldown/binding-linux-x64-gnu": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.2.3.tgz", - "integrity": "sha512-TytMwF2KVGqP2tgd0I1OY0PAv78dZRAYcF5ssDzjM34SUXCED3uXvSd5+lHoC0bTD6eEdFz7LdQNCO1y0oVk9w==", + "version": "1.2.14", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.2.14.tgz", + "integrity": "sha512-WxalXzgrLVpKC93xfpaJ3gCXUWzeCr+FRCbDVD2mUAy4L6Vo3lNVz0epUEUpxPWJkLNYUwM4OSIikv36OJ9mLg==", "cpu": [ "x64" ], @@ -2012,9 +2041,9 @@ } }, "node_modules/@rolldown/binding-linux-x64-musl": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-musl/-/binding-linux-x64-musl-1.2.3.tgz", - "integrity": "sha512-/E9m3qstrJFVPoULV25mVQblSNExY2+kBsYe4sy0Tn0yOOgJ8wZbZt3KnRbF/XeU2Gl1STKUQnDNTqhIE5MD4A==", + "version": "1.2.14", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-musl/-/binding-linux-x64-musl-1.2.14.tgz", + "integrity": "sha512-3G3tnAmTpdk9jO3GQtyHXqeFD2SlecfTws/Y3M2mmj9nMBwwuLT4kur8sZKeu7ENUHSpVO3cIsm5A52LEWWwlg==", "cpu": [ "x64" ], @@ -2031,9 +2060,9 @@ } }, "node_modules/@rolldown/binding-openharmony-arm64": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/@rolldown/binding-openharmony-arm64/-/binding-openharmony-arm64-1.2.3.tgz", - "integrity": "sha512-Kr0OcsoQI816i6HOl3vFHpd1K0eZyh76zgfj4c1nTyaTsd5r2Mj1lwM4R90y/qaCfmTn9eHy0SKwi98eitRxug==", + "version": "1.2.14", + "resolved": "https://registry.npmjs.org/@rolldown/binding-openharmony-arm64/-/binding-openharmony-arm64-1.2.14.tgz", + "integrity": "sha512-qyr5XiNGxm2ytx17vvtcJ9nXn6v1gENETi503bJx3OGwZ1tSonj7BosxbMa/xeAfSl5iS9X6KjEWYXLu6v1L7Q==", "cpu": [ "arm64" ], @@ -2047,9 +2076,9 @@ } }, "node_modules/@rolldown/binding-win32-arm64-msvc": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.2.3.tgz", - "integrity": "sha512-hOtMwTqnME+/gJcH/PCZ0wn0zPUjiWOgkHpxbSJpfGKMezHltx1S7/k1SitzVa7Ww2cqrDDaFbZEhcJZO8o+Jw==", + "version": "1.2.14", + "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.2.14.tgz", + "integrity": "sha512-oA4o5o0S2yB199YyYXDzKUv1Z56Rc+mgOjwm7Z/vJ9Z8igiDPYvoOuDyo6g7AK/ZaF09nPhDKVnGBcYHO11GXA==", "cpu": [ "arm64" ], @@ -2063,9 +2092,9 @@ } }, "node_modules/@rolldown/binding-win32-x64-msvc": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.2.3.tgz", - "integrity": "sha512-ekcqMMkI2PlhYnfzQnB/cEdYUVVJViWvoUyLrbzgDoi3Snfc1mVBwdnc306ufA5ejy8JSPjT2RlW1nQSjW7efg==", + "version": "1.2.14", + "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.2.14.tgz", + "integrity": "sha512-9mE94bf2GZUaR/fUSXCMpBoWkctu421Mi0ORpm4zqfbkjKep7RxzPFa5etcGs5h+2KApoWBOA/hAJa/7saGgEQ==", "cpu": [ "x64" ], @@ -2085,13 +2114,13 @@ "license": "MIT" }, "node_modules/@shikijs/core": { - "version": "4.4.3", - "resolved": "https://registry.npmjs.org/@shikijs/core/-/core-4.4.3.tgz", - "integrity": "sha512-QCR4q2ZO/ILJEuwiBMel4wdcTDb1JGwfjKTxPDF6x8ixOaluPrVqIn06C99AcRPhmYlBR56d/Fb+GN58GzExpg==", + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/@shikijs/core/-/core-4.5.0.tgz", + "integrity": "sha512-6CIgwq+bt2JZ3OSjb/nBkkwEf/CfpHcbam+Mg5Pllco7HAGRQ2/EFhZrrJtbyNTgKwknfVS+llsXGygiDGwJWw==", "license": "MIT", "dependencies": { - "@shikijs/primitive": "4.4.3", - "@shikijs/types": "4.4.3", + "@shikijs/primitive": "4.5.0", + "@shikijs/types": "4.5.0", "@shikijs/vscode-textmate": "^10.0.2", "@types/hast": "^3.0.5", "hast-util-to-html": "^9.0.5" @@ -2101,12 +2130,12 @@ } }, "node_modules/@shikijs/engine-javascript": { - "version": "4.4.3", - "resolved": "https://registry.npmjs.org/@shikijs/engine-javascript/-/engine-javascript-4.4.3.tgz", - "integrity": "sha512-FbOjFJp9VLdo1Wevs10BBtVxiTWwNLqZh5Gkhjgda/ioL15YOgeSl9n+6XMa3qRlPQzfhFNe641SrynFHYG0nQ==", + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/@shikijs/engine-javascript/-/engine-javascript-4.5.0.tgz", + "integrity": "sha512-Ed6UdEj84LyYkwnxM5CvSMWAD+id9ExTYri0/+x41U9zrgNifPSS9lZm0JqBP0VfYI8yr8tY5nbNq9+p9R0kFA==", "license": "MIT", "dependencies": { - "@shikijs/types": "4.4.3", + "@shikijs/types": "4.5.0", "@shikijs/vscode-textmate": "^10.0.2", "oniguruma-to-es": "^4.3.6" }, @@ -2115,12 +2144,12 @@ } }, "node_modules/@shikijs/engine-oniguruma": { - "version": "4.4.3", - "resolved": "https://registry.npmjs.org/@shikijs/engine-oniguruma/-/engine-oniguruma-4.4.3.tgz", - "integrity": "sha512-EcOQkxdxGQrc1Row/cC2c96/v1dbZqGnEVu1qTuT/MJmp6+cXCvQussowVmCv5Tqr3KuY3c7IbM6HTW3LJ1k9w==", + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/@shikijs/engine-oniguruma/-/engine-oniguruma-4.5.0.tgz", + "integrity": "sha512-dKVmbJecVdB9recl8a/CU4jdpNXyjJQrIcesIkpS70s5HS02ohpnCSpMUbotPnEUzbAcLQ+S4hwZYbkBBiTcJw==", "license": "MIT", "dependencies": { - "@shikijs/types": "4.4.3", + "@shikijs/types": "4.5.0", "@shikijs/vscode-textmate": "^10.0.2" }, "engines": { @@ -2128,24 +2157,24 @@ } }, "node_modules/@shikijs/langs": { - "version": "4.4.3", - "resolved": "https://registry.npmjs.org/@shikijs/langs/-/langs-4.4.3.tgz", - "integrity": "sha512-ePic0yfAJGOF83D5wBHK/00EjK65oahBYxFk5epgq33WRv7X9UuxLEV8PtR0szC0z8dl7INIpIodB99JRFlR+A==", + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/@shikijs/langs/-/langs-4.5.0.tgz", + "integrity": "sha512-wwBTqwduXSz0X4v9Qa2EWeFaYJEw1clCncWjoRNQRbVDu3SPRTRWucnouYapKj3b8Q+sk/41Vbc4B5c8nuYzLA==", "license": "MIT", "dependencies": { - "@shikijs/types": "4.4.3" + "@shikijs/types": "4.5.0" }, "engines": { "node": ">=20" } }, "node_modules/@shikijs/primitive": { - "version": "4.4.3", - "resolved": "https://registry.npmjs.org/@shikijs/primitive/-/primitive-4.4.3.tgz", - "integrity": "sha512-m0wBeLDQDeIxRdUmrCPdQqfuUamDwRL5isCfYbguKD6NiaKpVbsv+3J81DyIKgNW5h4WAIIr8T4EkgQrBBxvaQ==", + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/@shikijs/primitive/-/primitive-4.5.0.tgz", + "integrity": "sha512-UM7ShlA8oz0OWxLLO8BmO9Ip6fVqdkt8yF0EH7nOCqHfrx1eEAzF0ZUVK7L+I8NEgeu1PEWSRlxaiPPeCb4iDg==", "license": "MIT", "dependencies": { - "@shikijs/types": "4.4.3", + "@shikijs/types": "4.5.0", "@shikijs/vscode-textmate": "^10.0.2", "@types/hast": "^3.0.5" }, @@ -2154,21 +2183,21 @@ } }, "node_modules/@shikijs/themes": { - "version": "4.4.3", - "resolved": "https://registry.npmjs.org/@shikijs/themes/-/themes-4.4.3.tgz", - "integrity": "sha512-w8UHjeUnIR965KMWJHUPXOc2mNJUnK3vpVLYLvw5IYU2mnTTJ89E24OrJDBNiJDQ0qzb0tc4l7mrIXx5cFeIyw==", + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/@shikijs/themes/-/themes-4.5.0.tgz", + "integrity": "sha512-zGb87H3UBbpuI4yoh5UguB1XbU+2BDU3kflM7UfZ+Cy2hWo9lBtqjSVK20gmLY6ukYl040hAypGXMgud9vul8Q==", "license": "MIT", "dependencies": { - "@shikijs/types": "4.4.3" + "@shikijs/types": "4.5.0" }, "engines": { "node": ">=20" } }, "node_modules/@shikijs/types": { - "version": "4.4.3", - "resolved": "https://registry.npmjs.org/@shikijs/types/-/types-4.4.3.tgz", - "integrity": "sha512-UEJxmRR++MAGR6hugn0vgVS2W/6lWAts84FFSrnlH9sP0LNol7E5+NQ792pH8liWUhyMyjhTgSUH3k7iD7tc5g==", + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/@shikijs/types/-/types-4.5.0.tgz", + "integrity": "sha512-drtPrtD8N0DENyD2cyt6Ajy+IWsiCLgMxODwLTpvH1UsN6a9jf90tNTPjqwHvA+0Lzu9e0txk8DjfqH1p9UJRw==", "license": "MIT", "dependencies": { "@shikijs/vscode-textmate": "^10.0.2", @@ -2514,9 +2543,9 @@ } }, "node_modules/@tybys/wasm-util": { - "version": "0.10.3", - "resolved": "https://registry.npmjs.org/@tybys/wasm-util/-/wasm-util-0.10.3.tgz", - "integrity": "sha512-F3fo1MYrRJYL3zER0OUOmkutjr1Vp23m7OsSgp7nq4SP6OqX6C/56XFIPAl5bt3zaBRjmW7SGz3u/6LwFpYcOg==", + "version": "0.10.4", + "resolved": "https://registry.npmjs.org/@tybys/wasm-util/-/wasm-util-0.10.4.tgz", + "integrity": "sha512-W3c4gRigFS0T/Ma4qIYF3GDAc5AQdHb1yL5znJT1Zv1YaD9Kitx656wBjvr19qbiosmZT8lWDM5BEMynUqX65A==", "license": "MIT", "optional": true, "dependencies": { @@ -2572,9 +2601,9 @@ "license": "MIT" }, "node_modules/@ungap/structured-clone": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.3.3.tgz", - "integrity": "sha512-60YRaenCQcVjYEKOcG824+DRGGIQ3VKErcBoAEDJZz5bKIs2ZG+X/H9Nk+Q6EVkwJk5QNApxbrc5QtBSwtrXAg==", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.4.0.tgz", + "integrity": "sha512-1mEZtMKPM09vDmQt5y7YvmN2+DFTP7Tg0EWXdic8/C6VRnpb33e4ghisCIE3WZjsE2N8mf+QV1Zqh7ZFYLWInQ==", "license": "ISC" }, "node_modules/@volar/kit": { @@ -2729,16 +2758,27 @@ "am-i-vibing": "dist/cli.mjs" } }, - "node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "node_modules/ansi-regex": { + "version": "6.4.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.4.0.tgz", + "integrity": "sha512-KzTVk2tCWAHtYrvvvaP8bJKJq2pVinhLcGEQdtLIYPbmNGNyYe8QwNaTUYQp2J7/vIsUKt5QCqAfUkYyG9DkOw==", + "dev": true, "license": "MIT", - "dependencies": { - "color-convert": "^2.0.1" + "engines": { + "node": ">=12" }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, + "node_modules/ansi-styles": { + "version": "6.2.3", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.3.tgz", + "integrity": "sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg==", + "dev": true, + "license": "MIT", "engines": { - "node": ">=8" + "node": ">=12" }, "funding": { "url": "https://github.com/chalk/ansi-styles?sponsor=1" @@ -2800,14 +2840,14 @@ } }, "node_modules/astro": { - "version": "7.2.6", - "resolved": "https://registry.npmjs.org/astro/-/astro-7.2.6.tgz", - "integrity": "sha512-qzT4tAhgHYX/6/MUGslAkF0PVkM4WNsMw2A1GrbfA9cXp68hmdqF3f7MuF5rRFvwQbjowqjOf90ao9whfgV5mw==", + "version": "7.3.5", + "resolved": "https://registry.npmjs.org/astro/-/astro-7.3.5.tgz", + "integrity": "sha512-1p/ernaq/RuESbM5NMjWzbO6SiebMGrGcYlGjMfBhzzgM+n/X7AUmVyw8BqW2QYCdivpsHwJBcD1fqmlTZjZHg==", "license": "MIT", "dependencies": { - "@astrojs/compiler-rs": "^0.4.0", - "@astrojs/internal-helpers": "0.10.4", - "@astrojs/markdown-satteri": "0.3.8", + "@astrojs/compiler-rs": "^0.5.0", + "@astrojs/internal-helpers": "0.11.0", + "@astrojs/markdown-satteri": "0.4.2", "@astrojs/telemetry": "3.3.3", "@capsizecss/unpack": "^4.0.0", "@clack/prompts": "^1.1.0", @@ -2824,40 +2864,40 @@ "dset": "^3.1.4", "es-module-lexer": "^2.0.0", "esbuild": "^0.28.0", - "find-process": "^2.1.1", + "find-proc": "0.2.0", "flattie": "^1.1.1", "fontace": "~0.4.1", "get-tsconfig": "5.0.0-beta.4", "github-slugger": "^2.0.0", "html-escaper": "3.0.3", "http-cache-semantics": "^4.2.0", - "js-yaml": "^4.3.0", + "js-yaml": "^4.3.2", "jsonc-parser": "^3.3.1", "magic-string": "^1.0.0", "magicast": "^0.5.2", "mrmime": "^2.0.1", "neotraverse": "^1.0.1", - "obug": "^2.1.1", + "obug": "^3.0.0", "p-limit": "^7.3.0", "p-queue": "^9.1.0", "package-manager-detector": "^1.6.0", "piccolore": "^0.1.3", "picomatch": "^4.0.4", - "semver": "^7.7.4", "shiki": "^4.0.2", - "smol-toml": "^1.6.0", - "svgo": "^4.0.1", - "tinyclip": "^0.1.12", + "smol-toml": "^1.8.0", + "svgo": "^4.1.0", + "tinyclip": "^1.0.1", "tinyexec": "^1.0.4", "tinyglobby": "^0.2.15", "ultrahtml": "^1.6.0", "unifont": "~0.7.5", "unstorage": "^1.17.5", + "verkit": "^0.4.0", "vite": "^8.0.13", "vitefu": "^1.1.2", "xxhash-wasm": "^1.1.0", "yargs-parser": "^22.0.0", - "zod": "^4.3.6" + "zod": "^4.5.4" }, "bin": { "astro": "bin/astro.mjs" @@ -2872,10 +2912,10 @@ "url": "https://opencollective.com/astrodotbuild" }, "optionalDependencies": { - "sharp": "^0.34.0 || ^0.35.0" + "sharp": "^0.35.4" }, "peerDependencies": { - "@astrojs/markdown-remark": "7.2.4" + "@astrojs/markdown-remark": "^7.3.0" }, "peerDependenciesMeta": { "@astrojs/markdown-remark": { @@ -2898,15 +2938,6 @@ "@jridgewell/sourcemap-codec": "^1.5.5" } }, - "node_modules/astro/node_modules/yargs-parser": { - "version": "22.0.0", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-22.0.0.tgz", - "integrity": "sha512-rwu/ClNdSMpkSrUb+d6BRsSkLUq1fmfsY6TOpYzTwvwkg1/NRG85KBy3kq++A8LKQwX6lsu+aWad+2khvuXrqw==", - "license": "ISC", - "engines": { - "node": "^20.19.0 || ^22.12.0 || >=23" - } - }, "node_modules/axobject-query": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/axobject-query/-/axobject-query-4.1.0.tgz", @@ -2926,38 +2957,12 @@ "url": "https://github.com/sponsors/wooorm" } }, - "node_modules/binary-extensions": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.3.0.tgz", - "integrity": "sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/boolbase": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz", "integrity": "sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==", "license": "ISC" }, - "node_modules/braces": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", - "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", - "dev": true, - "license": "MIT", - "dependencies": { - "fill-range": "^7.1.1" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/ccount": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/ccount/-/ccount-2.0.1.tgz", @@ -2968,22 +2973,6 @@ "url": "https://github.com/sponsors/wooorm" } }, - "node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "license": "MIT", - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, "node_modules/character-entities-html4": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/character-entities-html4/-/character-entities-html4-2.1.0.tgz", @@ -3005,28 +2994,19 @@ } }, "node_modules/chokidar": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz", - "integrity": "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==", + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-4.0.3.tgz", + "integrity": "sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA==", "dev": true, "license": "MIT", "dependencies": { - "anymatch": "~3.1.2", - "braces": "~3.0.2", - "glob-parent": "~5.1.2", - "is-binary-path": "~2.1.0", - "is-glob": "~4.0.1", - "normalize-path": "~3.0.0", - "readdirp": "~3.6.0" + "readdirp": "^4.0.1" }, "engines": { - "node": ">= 8.10.0" + "node": ">= 14.16.0" }, "funding": { "url": "https://paulmillr.com/funding/" - }, - "optionalDependencies": { - "fsevents": "~2.3.2" } }, "node_modules/ci-info": { @@ -3045,81 +3025,36 @@ } }, "node_modules/cliui": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", - "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-9.0.1.tgz", + "integrity": "sha512-k7ndgKhwoQveBL+/1tqGJYNz097I7WOvwbmmU2AR5+magtbjPWQTS1C5vzGkBC8Ym8UWRzfKUzUUqFLypY4Q+w==", "dev": true, "license": "ISC", "dependencies": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.1", - "wrap-ansi": "^7.0.0" + "string-width": "^7.2.0", + "strip-ansi": "^7.1.0", + "wrap-ansi": "^9.0.0" }, "engines": { - "node": ">=12" - } - }, - "node_modules/cliui/node_modules/ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" + "node": ">=20" } }, - "node_modules/cliui/node_modules/emoji-regex": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", - "dev": true, - "license": "MIT" - }, "node_modules/cliui/node_modules/string-width": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", - "dev": true, - "license": "MIT", - "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/cliui/node_modules/strip-ansi": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-regex": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/cliui/node_modules/wrap-ansi": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", - "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.2.0.tgz", + "integrity": "sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ==", "dev": true, "license": "MIT", "dependencies": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" + "emoji-regex": "^10.3.0", + "get-east-asian-width": "^1.0.0", + "strip-ansi": "^7.1.0" }, "engines": { - "node": ">=10" + "node": ">=18" }, "funding": { - "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/clsx": { @@ -3131,24 +3066,6 @@ "node": ">=6" } }, - "node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "license": "MIT", - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "license": "MIT" - }, "node_modules/comma-separated-tokens": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/comma-separated-tokens/-/comma-separated-tokens-2.0.3.tgz", @@ -3206,16 +3123,16 @@ } }, "node_modules/css-select": { - "version": "5.2.2", - "resolved": "https://registry.npmjs.org/css-select/-/css-select-5.2.2.tgz", - "integrity": "sha512-TizTzUddG/xYLA3NXodFM0fSbNizXjOKhqiQQwvhlspadZokn1KDy0NZFS0wuEubIYAV5/c1/lAr0TaaFXEXzw==", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/css-select/-/css-select-6.0.0.tgz", + "integrity": "sha512-rZZVSLle8v0+EY8QAkDWrKhpgt6SA5OtHsgBnsj6ZaLb5dmDVOWUDtQitd9ydxxvEjhewNudS6eTVU7uOyzvXw==", "license": "BSD-2-Clause", "dependencies": { "boolbase": "^1.0.0", - "css-what": "^6.1.0", - "domhandler": "^5.0.2", - "domutils": "^3.0.1", - "nth-check": "^2.0.1" + "css-what": "^7.0.0", + "domhandler": "^5.0.3", + "domutils": "^3.2.2", + "nth-check": "^2.1.1" }, "funding": { "url": "https://github.com/sponsors/fb55" @@ -3235,9 +3152,9 @@ } }, "node_modules/css-what": { - "version": "6.2.2", - "resolved": "https://registry.npmjs.org/css-what/-/css-what-6.2.2.tgz", - "integrity": "sha512-u/O3vwbptzhMs3L1fQE82ZSLHQQfto5gyZzwteVIEyeaY5Fc7R4dapF/BvRoSYFeqfBk4m0V1Vafq5Pjv25wvA==", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/css-what/-/css-what-7.0.0.tgz", + "integrity": "sha512-wD5oz5xibMOPHzy13CyGmogB3phdvcDaB5t0W/Nr5Z2O/agcB8YwOz6e2Lsp10pNDzBoDO9nVa3RGs/2BttpHQ==", "license": "BSD-2-Clause", "engines": { "node": ">= 6" @@ -3310,9 +3227,9 @@ } }, "node_modules/devalue": { - "version": "5.9.0", - "resolved": "https://registry.npmjs.org/devalue/-/devalue-5.9.0.tgz", - "integrity": "sha512-RWrqdArjvPbsATEhOPUo6Wndc/iWnkWKlhIrdlF3zMMYo/c3CVtoaVAyLtWxz5h8nSlkHzxnzV2uLydPXmtF+A==", + "version": "5.9.4", + "resolved": "https://registry.npmjs.org/devalue/-/devalue-5.9.4.tgz", + "integrity": "sha512-sPAT4pztbu6586/hrhOnMKS17IJrvg12mXiSPSS3W5qDeN2RGgvZ0diZCm31dBbnevfVmujNO3IM2wrS4Y2Rhg==", "license": "MIT" }, "node_modules/devlop": { @@ -3430,6 +3347,13 @@ "@emmetio/css-abbreviation": "^2.1.8" } }, + "node_modules/emoji-regex": { + "version": "10.6.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.6.0.tgz", + "integrity": "sha512-toUI84YS5YmxW219erniWD0CIVOo46xGKColeNQRgOzDorgBi1v4D71/OFzgD9GO2UGKIv1C3Sp8DAn0+j5w7A==", + "dev": true, + "license": "MIT" + }, "node_modules/enhanced-resolve": { "version": "5.24.5", "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.24.5.tgz", @@ -3509,19 +3433,6 @@ "node": ">=6" } }, - "node_modules/esprima": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", - "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", - "license": "BSD-2-Clause", - "bin": { - "esparse": "bin/esparse.js", - "esvalidate": "bin/esvalidate.js" - }, - "engines": { - "node": ">=4" - } - }, "node_modules/eventemitter3": { "version": "5.0.4", "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-5.0.4.tgz", @@ -3534,18 +3445,6 @@ "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==", "license": "MIT" }, - "node_modules/extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug==", - "license": "MIT", - "dependencies": { - "is-extendable": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/fast-deep-equal": { "version": "3.1.3", "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", @@ -3553,23 +3452,6 @@ "dev": true, "license": "MIT" }, - "node_modules/fast-glob": { - "version": "3.3.3", - "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.3.tgz", - "integrity": "sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@nodelib/fs.stat": "^2.0.2", - "@nodelib/fs.walk": "^1.2.3", - "glob-parent": "^5.1.2", - "merge2": "^1.3.0", - "micromatch": "^4.0.8" - }, - "engines": { - "node": ">=8.6.0" - } - }, "node_modules/fast-string-truncated-width": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/fast-string-truncated-width/-/fast-string-truncated-width-3.0.3.tgz", @@ -3586,9 +3468,9 @@ } }, "node_modules/fast-uri": { - "version": "3.1.5", - "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.5.tgz", - "integrity": "sha512-gHwA1O9LDIcKunMKhObS/HimwtehO1nPUECKAu5TpKgaO19fcWEl4bliWe1jWxVFvIXztJjjQ4L8XQ1EU9f7Jw==", + "version": "3.1.9", + "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.9.tgz", + "integrity": "sha512-hS/0Wt3Ya043oKXs0sIxrMpKQITXhMLIrVAKKXi4gozGC9v7YRWVnXIZzjNPTO02M9BdxLCWqK1yRXgNziVyJQ==", "dev": true, "funding": [ { @@ -3611,16 +3493,6 @@ "fast-string-width": "^3.0.2" } }, - "node_modules/fastq": { - "version": "1.20.1", - "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.20.1.tgz", - "integrity": "sha512-GGToxJ/w1x32s/D2EKND7kTil4n8OVk/9mycTc4VDza13lOvpUZTGX3mFSCtV9ksdGBVzvsyAVLM6mHFThxXxw==", - "dev": true, - "license": "ISC", - "dependencies": { - "reusify": "^1.0.4" - } - }, "node_modules/fdir": { "version": "6.5.0", "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz", @@ -3638,40 +3510,13 @@ } } }, - "node_modules/fill-range": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", - "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", - "dev": true, - "license": "MIT", - "dependencies": { - "to-regex-range": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/find-process": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/find-process/-/find-process-2.1.1.tgz", - "integrity": "sha512-SrQDx3QhlmHM90iqn9rdjCQcw/T+WlpOkHFsjoRgB+zTpDfltNA1VSNYeYELwhUTJy12UFxqjWhmhOrJc+o4sA==", - "license": "MIT", - "dependencies": { - "chalk": "~4.1.2", - "commander": "^14.0.3", - "loglevel": "^1.9.2" - }, - "bin": { - "find-process": "dist/cjs/bin/find-process.js" - } - }, - "node_modules/find-process/node_modules/commander": { - "version": "14.0.3", - "resolved": "https://registry.npmjs.org/commander/-/commander-14.0.3.tgz", - "integrity": "sha512-H+y0Jo/T1RZ9qPP4Eh1pkcQcLRglraJaSLoyOtHxu6AapkjWVCy2Sit1QQ4x3Dng8qDlSsZEet7g5Pq06MvTgw==", + "node_modules/find-proc": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/find-proc/-/find-proc-0.2.0.tgz", + "integrity": "sha512-a6h2nTrgB3g5Wrn4au9Ux4kMk7IJtyF6oA8uGn+mk3weLZssUtc1cp6meHIzzuW2o1srrBAxzkmXLbqjRkgB6w==", "license": "MIT", "engines": { - "node": ">=20" + "node": "^20.19.0 || >=22.12.0" } }, "node_modules/flattie": { @@ -3728,6 +3573,19 @@ "node": "6.* || 8.* || >= 10.*" } }, + "node_modules/get-east-asian-width": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/get-east-asian-width/-/get-east-asian-width-1.7.0.tgz", + "integrity": "sha512-XjH1AECxf0giL2V1aU8vKyRR2ppRUb5c0EvT7zuJTokQ74bNo52zOtghqdWIqrhUD79fo3x0WfKZdOqxF6LG1Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/get-tsconfig": { "version": "5.0.0-beta.4", "resolved": "https://registry.npmjs.org/get-tsconfig/-/get-tsconfig-5.0.0-beta.4.tgz", @@ -3749,62 +3607,12 @@ "integrity": "sha512-IaOQ9puYtjrkq7Y0Ygl9KDZnrf/aiUJYUpVf89y8kyaxbRG7Y1SrX/jaumrv81vc61+kiMempujsM3Yw7w5qcw==", "license": "ISC" }, - "node_modules/glob-parent": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", - "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", - "dev": true, - "license": "ISC", - "dependencies": { - "is-glob": "^4.0.1" - }, - "engines": { - "node": ">= 6" - } - }, "node_modules/graceful-fs": { "version": "4.2.11", "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", "license": "ISC" }, - "node_modules/gray-matter": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/gray-matter/-/gray-matter-4.0.3.tgz", - "integrity": "sha512-5v6yZd4JK3eMI3FqqCouswVqwugaA9r4dNZB1wwcmrD02QkV5H0y7XBQW8QwQqEaZY1pM9aqORSORhJRdNK44Q==", - "license": "MIT", - "dependencies": { - "js-yaml": "^3.13.1", - "kind-of": "^6.0.2", - "section-matter": "^1.0.0", - "strip-bom-string": "^1.0.0" - }, - "engines": { - "node": ">=6.0" - } - }, - "node_modules/gray-matter/node_modules/argparse": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", - "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", - "license": "MIT", - "dependencies": { - "sprintf-js": "~1.0.2" - } - }, - "node_modules/gray-matter/node_modules/js-yaml": { - "version": "3.15.1", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.15.1.tgz", - "integrity": "sha512-S99WuO3HlhO3XN41EtYUNl9zzXjoJx7QvmipxsJVxtCBT0YHEFy+iOJhjSvrmV12nYhWpZaM8lPHkJm0yUMbag==", - "license": "MIT", - "dependencies": { - "argparse": "^1.0.7", - "esprima": "^4.0.0" - }, - "bin": { - "js-yaml": "bin/js-yaml.js" - } - }, "node_modules/h3": { "version": "1.15.11", "resolved": "https://registry.npmjs.org/h3/-/h3-1.15.11.tgz", @@ -3822,15 +3630,6 @@ "uncrypto": "^0.1.3" } }, - "node_modules/has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "license": "MIT", - "engines": { - "node": ">=8" - } - }, "node_modules/hast-util-to-html": { "version": "9.0.5", "resolved": "https://registry.npmjs.org/hast-util-to-html/-/hast-util-to-html-9.0.5.tgz", @@ -3884,9 +3683,9 @@ } }, "node_modules/http-cache-semantics": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.2.0.tgz", - "integrity": "sha512-dTxcvPXqPvXBQpq5dUr6mEMJX4oIEFv6bwom3FDwKRDsuIjjJGANqhBuoAn9c1RQJIdAKav33ED65E2ys+87QQ==", + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.3.0.tgz", + "integrity": "sha512-M5t5LlJpS1UHMjvwRQVdFHvPISGeLAxNcrWuJkeGh0KxsqCHZ1O3NXZU/8x7cD0BDcGW8kapxMKTvwlqrNkHkA==", "license": "BSD-2-Clause" }, "node_modules/iron-webcrypto": { @@ -3898,19 +3697,6 @@ "url": "https://github.com/sponsors/brc-dd" } }, - "node_modules/is-binary-path": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", - "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", - "dev": true, - "license": "MIT", - "dependencies": { - "binary-extensions": "^2.0.0" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/is-docker": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-4.0.0.tgz", @@ -3926,58 +3712,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/is-extendable": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", - "integrity": "sha512-5BMULNob1vgFX6EjQw5izWDxrecWK9AM72rugNr0TFldMOi0fj6Jk+zeKIt0xGj4cEfQIJth4w3OKWOJ4f+AFw==", - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-extglob": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", - "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-fullwidth-code-point": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/is-glob": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", - "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", - "dev": true, - "license": "MIT", - "dependencies": { - "is-extglob": "^2.1.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-number": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", - "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.12.0" - } - }, "node_modules/is-plain-obj": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-4.1.0.tgz", @@ -4000,9 +3734,9 @@ } }, "node_modules/js-yaml": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.3.1.tgz", - "integrity": "sha512-CY6crGq313MX8GkwvB7tzgp99vjQxY1++5y10/BKN/GUfHqWaOGQMNZkBvqSzsZKWk/ijwHlWzzkLulsGHhjWQ==", + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.3.2.tgz", + "integrity": "sha512-SFNOvSJ+Dgf/9An904Yx+CgSlIPCkIpao4qo51lpee25TIRejdH3rhR4EZMGoNx3/TP3O+wzWuiTFl4sqbltzA==", "funding": [ { "type": "github", @@ -4035,15 +3769,6 @@ "dev": true, "license": "MIT" }, - "node_modules/kind-of": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", - "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/kleur": { "version": "4.1.5", "resolved": "https://registry.npmjs.org/kleur/-/kleur-4.1.5.tgz", @@ -4315,19 +4040,6 @@ "url": "https://opencollective.com/parcel" } }, - "node_modules/loglevel": { - "version": "1.9.2", - "resolved": "https://registry.npmjs.org/loglevel/-/loglevel-1.9.2.tgz", - "integrity": "sha512-HgMmCqIJSAKqo68l0rS2AanEWfkxaZ5wNiEFb5ggm08lDs9Xl2KxBlX3PTcaD2chBM1gXAYf491/M2Rv8Jwayg==", - "license": "MIT", - "engines": { - "node": ">= 0.6.0" - }, - "funding": { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/loglevel" - } - }, "node_modules/lru-cache": { "version": "11.5.2", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.5.2.tgz", @@ -4396,16 +4108,6 @@ "integrity": "sha512-9Yubnt3e8A0OKwxYSXyhLymGW4sCufcLG6VdiDdUGVkPhpqLxlvP5vl1983gQjJl3tqbrM731mjaZaP68AgosQ==", "license": "CC0-1.0" }, - "node_modules/merge2": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", - "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 8" - } - }, "node_modules/micromark-util-character": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/micromark-util-character/-/micromark-util-character-2.1.1.tgz", @@ -4480,9 +4182,9 @@ "license": "MIT" }, "node_modules/micromark-util-types": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/micromark-util-types/-/micromark-util-types-2.0.2.tgz", - "integrity": "sha512-Yw0ECSpJoViF1qTU4DC6NwtC4aWGt1EkzaQB8KPPyCRR8z9TWeV0HbEFGTO+ZY1wB22zmxnJqhPyTpOVCpeHTA==", + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/micromark-util-types/-/micromark-util-types-2.0.3.tgz", + "integrity": "sha512-oxB2Ik03hI0gv+VNn9tnh1t1YEe9MDPptViAEgfdf3YQHsn0pzGTgCdlSCJXcwhqm8phaEuM7zeEu3QQzVBrPg==", "funding": [ { "type": "GitHub Sponsors", @@ -4495,33 +4197,6 @@ ], "license": "MIT" }, - "node_modules/micromatch": { - "version": "4.0.8", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", - "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", - "dev": true, - "license": "MIT", - "dependencies": { - "braces": "^3.0.3", - "picomatch": "^2.3.1" - }, - "engines": { - "node": ">=8.6" - } - }, - "node_modules/micromatch/node_modules/picomatch": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.2.tgz", - "integrity": "sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8.6" - }, - "funding": { - "url": "https://github.com/sponsors/jonschlinkert" - } - }, "node_modules/mrmime": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/mrmime/-/mrmime-2.0.1.tgz", @@ -4539,9 +4214,9 @@ "license": "MIT" }, "node_modules/nanoid": { - "version": "3.3.18", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.18.tgz", - "integrity": "sha512-DTg4MJbGMWkfi6VZFdNt2/caMbQy4Ou+Op/hJQvGEWcnVfoA1QA+xzRKAzw9jD6+GVOOeYr/mIcuDSdug6F6+w==", + "version": "3.3.20", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.20.tgz", + "integrity": "sha512-uKdg2G3GNCKQn9byYOpxbGqrT2fGO5KRt5J/8b3pok8rT6qxGWF6hxMyJiEYtAf+FVyYuD9hRaDqX5uPFYJ4ZQ==", "funding": [ { "type": "github", @@ -4612,9 +4287,9 @@ } }, "node_modules/obug": { - "version": "2.1.4", - "resolved": "https://registry.npmjs.org/obug/-/obug-2.1.4.tgz", - "integrity": "sha512-4a+OsYv9UktOJKE+l1A4OufDgdRF9PifWj+tJnHURo/P+WOxpG4GzUFL9qCalmWauao6ogiG+QvnCovwPoyAWA==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/obug/-/obug-3.0.0.tgz", + "integrity": "sha512-5vvB5+W7ePv+p3uqxi+RcW1XAzLW0/hxt3/4X4Lc4qHudzOhmBiBwOY6DRob4WnanAEGvNcLjF+KNOufrUoEQw==", "funding": [ "https://github.com/sponsors/sxzz", "https://opencollective.com/debug" @@ -4746,9 +4421,9 @@ "license": "ISC" }, "node_modules/picomatch": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.5.tgz", - "integrity": "sha512-RvwwcruNjI1ncT5xRakeyS9Lf8lcItv34KD+aif+VH9kduAyfYBipGh12274xtenIPZ119/R9BdTBa8gAwSh0A==", + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.7.tgz", + "integrity": "sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA==", "license": "MIT", "engines": { "node": ">=12" @@ -4758,9 +4433,9 @@ } }, "node_modules/postcss": { - "version": "8.5.26", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.26.tgz", - "integrity": "sha512-u82N74LFzG8ca+dD8puPnplTXoGH4fTPpVGuIbt36G3qvNlkvfD0lEAZSxaly3KX8TS/L1A1gsCEmvKmBcVbkQ==", + "version": "8.5.31", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.31.tgz", + "integrity": "sha512-YUbWYCgErwnMAVkjUnYa+KlMBzGpHwiIt/DE7f0G33AuX2LH9UcTk6KgWxd3zRU+pN3u/C+Xl3EnMLM4Hea7Sg==", "funding": [ { "type": "opencollective", @@ -4777,9 +4452,9 @@ ], "license": "MIT", "dependencies": { - "nanoid": "^3.3.17", + "nanoid": "^3.3.20", "picocolors": "^1.1.1", - "source-map-js": "^1.2.1" + "source-map-js": "^1.2.2" }, "engines": { "node": "^10 || ^12 || >=14" @@ -4829,27 +4504,6 @@ "url": "https://github.com/sponsors/wooorm" } }, - "node_modules/queue-microtask": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", - "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "license": "MIT" - }, "node_modules/radix3": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/radix3/-/radix3-1.1.2.tgz", @@ -4857,29 +4511,17 @@ "license": "MIT" }, "node_modules/readdirp": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", - "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", - "dev": true, - "license": "MIT", - "dependencies": { - "picomatch": "^2.2.1" - }, - "engines": { - "node": ">=8.10.0" - } - }, - "node_modules/readdirp/node_modules/picomatch": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.2.tgz", - "integrity": "sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA==", + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-4.1.2.tgz", + "integrity": "sha512-GDhwkLfywWL2s6vEjyhri+eXmfH6j1L7JE27WhqLeYzoh/A3DBaYGEj2H/HFZCn/kMfim73FXxEJTw06WtxQwg==", "dev": true, "license": "MIT", "engines": { - "node": ">=8.6" + "node": ">= 14.18.0" }, "funding": { - "url": "https://github.com/sponsors/jonschlinkert" + "type": "individual", + "url": "https://paulmillr.com/funding/" } }, "node_modules/regex": { @@ -4913,16 +4555,6 @@ "dev": true, "license": "MIT" }, - "node_modules/require-directory": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", - "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/require-from-string": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", @@ -4957,24 +4589,13 @@ "url": "https://opencollective.com/unified" } }, - "node_modules/reusify": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.1.0.tgz", - "integrity": "sha512-g6QUff04oZpHs0eG5p83rFLhHeV00ug/Yf9nZM6fLeUrPguBTkTQOdpAWWspMh55TZfVQDPaN3NQJfbVRAxdIw==", - "dev": true, - "license": "MIT", - "engines": { - "iojs": ">=1.0.0", - "node": ">=0.10.0" - } - }, "node_modules/rolldown": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/rolldown/-/rolldown-1.2.3.tgz", - "integrity": "sha512-rn9wpmxplLf7NLNyCk9FyWh3FM43DbY8jOzCdEPzH7uflhTftRbCEpqi6Ly2osgoU8OwObtmavMbWLaWy4LX7A==", + "version": "1.2.14", + "resolved": "https://registry.npmjs.org/rolldown/-/rolldown-1.2.14.tgz", + "integrity": "sha512-eTBTTqMR6uHKLgcUqpJP8ntzDI6V4LYA8negAMBEI7gkgVvOdrx6VsvS2Ym+83KhOPdLCHWJu0w7UQFJZhHKNw==", "license": "MIT", "dependencies": { - "@oxc-project/types": "=0.143.0", + "@oxc-project/types": "=0.154.0", "@rolldown/pluginutils": "^1.0.0" }, "bin": { @@ -4984,44 +4605,21 @@ "node": "^20.19.0 || >=22.12.0" }, "optionalDependencies": { - "@rolldown/binding-android-arm64": "1.2.3", - "@rolldown/binding-darwin-arm64": "1.2.3", - "@rolldown/binding-darwin-x64": "1.2.3", - "@rolldown/binding-freebsd-x64": "1.2.3", - "@rolldown/binding-linux-arm-gnueabihf": "1.2.3", - "@rolldown/binding-linux-arm64-gnu": "1.2.3", - "@rolldown/binding-linux-arm64-musl": "1.2.3", - "@rolldown/binding-linux-ppc64-gnu": "1.2.3", - "@rolldown/binding-linux-s390x-gnu": "1.2.3", - "@rolldown/binding-linux-x64-gnu": "1.2.3", - "@rolldown/binding-linux-x64-musl": "1.2.3", - "@rolldown/binding-openharmony-arm64": "1.2.3", - "@rolldown/binding-win32-arm64-msvc": "1.2.3", - "@rolldown/binding-win32-x64-msvc": "1.2.3" - } - }, - "node_modules/run-parallel": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", - "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "license": "MIT", - "dependencies": { - "queue-microtask": "^1.2.2" + "@rolldown/binding-android-arm-eabi": "1.2.14", + "@rolldown/binding-android-arm64": "1.2.14", + "@rolldown/binding-darwin-arm64": "1.2.14", + "@rolldown/binding-darwin-x64": "1.2.14", + "@rolldown/binding-freebsd-x64": "1.2.14", + "@rolldown/binding-linux-arm-gnueabihf": "1.2.14", + "@rolldown/binding-linux-arm64-gnu": "1.2.14", + "@rolldown/binding-linux-arm64-musl": "1.2.14", + "@rolldown/binding-linux-ppc64-gnu": "1.2.14", + "@rolldown/binding-linux-s390x-gnu": "1.2.14", + "@rolldown/binding-linux-x64-gnu": "1.2.14", + "@rolldown/binding-linux-x64-musl": "1.2.14", + "@rolldown/binding-openharmony-arm64": "1.2.14", + "@rolldown/binding-win32-arm64-msvc": "1.2.14", + "@rolldown/binding-win32-x64-msvc": "1.2.14" } }, "node_modules/satteri": { @@ -5056,23 +4654,11 @@ "node": ">=11.0.0" } }, - "node_modules/section-matter": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/section-matter/-/section-matter-1.0.0.tgz", - "integrity": "sha512-vfD3pmTzGpufjScBh50YHKzEu2lxBWhVEHsNGoEXmCmn2hKGfeNLYMzCJpe8cD7gqX7TJluOVpBkAequ6dgMmA==", - "license": "MIT", - "dependencies": { - "extend-shallow": "^2.0.1", - "kind-of": "^6.0.0" - }, - "engines": { - "node": ">=4" - } - }, "node_modules/semver": { "version": "7.8.5", "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.5.tgz", "integrity": "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==", + "devOptional": true, "license": "ISC", "bin": { "semver": "bin/semver.js" @@ -5082,62 +4668,67 @@ } }, "node_modules/sharp": { - "version": "0.34.5", - "resolved": "https://registry.npmjs.org/sharp/-/sharp-0.34.5.tgz", - "integrity": "sha512-Ou9I5Ft9WNcCbXrU9cMgPBcCK8LiwLqcbywW3t4oDV37n1pzpuNLsYiAV8eODnjbtQlSDwZ2cUEeQz4E54Hltg==", - "hasInstallScript": true, + "version": "0.35.5", + "resolved": "https://registry.npmjs.org/sharp/-/sharp-0.35.5.tgz", + "integrity": "sha512-Ywn4OnzGukp7CDMrp08RQ50YKmuwG47brZgIVPTvBaaAfQlRlygrRqSrxdCiL9M+LlzLBiJ68IR1QqvzHyjC7g==", "license": "Apache-2.0", "optional": true, "dependencies": { - "@img/colour": "^1.0.0", + "@img/colour": "^1.1.0", "detect-libc": "^2.1.2", - "semver": "^7.7.3" + "semver": "^7.8.5" }, "engines": { - "node": "^18.17.0 || ^20.3.0 || >=21.0.0" + "node": ">=20.9.0" }, "funding": { "url": "https://opencollective.com/libvips" }, "optionalDependencies": { - "@img/sharp-darwin-arm64": "0.34.5", - "@img/sharp-darwin-x64": "0.34.5", - "@img/sharp-libvips-darwin-arm64": "1.2.4", - "@img/sharp-libvips-darwin-x64": "1.2.4", - "@img/sharp-libvips-linux-arm": "1.2.4", - "@img/sharp-libvips-linux-arm64": "1.2.4", - "@img/sharp-libvips-linux-ppc64": "1.2.4", - "@img/sharp-libvips-linux-riscv64": "1.2.4", - "@img/sharp-libvips-linux-s390x": "1.2.4", - "@img/sharp-libvips-linux-x64": "1.2.4", - "@img/sharp-libvips-linuxmusl-arm64": "1.2.4", - "@img/sharp-libvips-linuxmusl-x64": "1.2.4", - "@img/sharp-linux-arm": "0.34.5", - "@img/sharp-linux-arm64": "0.34.5", - "@img/sharp-linux-ppc64": "0.34.5", - "@img/sharp-linux-riscv64": "0.34.5", - "@img/sharp-linux-s390x": "0.34.5", - "@img/sharp-linux-x64": "0.34.5", - "@img/sharp-linuxmusl-arm64": "0.34.5", - "@img/sharp-linuxmusl-x64": "0.34.5", - "@img/sharp-wasm32": "0.34.5", - "@img/sharp-win32-arm64": "0.34.5", - "@img/sharp-win32-ia32": "0.34.5", - "@img/sharp-win32-x64": "0.34.5" + "@img/sharp-darwin-arm64": "0.35.5", + "@img/sharp-darwin-x64": "0.35.5", + "@img/sharp-freebsd-wasm32": "0.35.5", + "@img/sharp-libvips-darwin-arm64": "1.3.4", + "@img/sharp-libvips-darwin-x64": "1.3.4", + "@img/sharp-libvips-linux-arm": "1.3.4", + "@img/sharp-libvips-linux-arm64": "1.3.4", + "@img/sharp-libvips-linux-ppc64": "1.3.4", + "@img/sharp-libvips-linux-riscv64": "1.3.4", + "@img/sharp-libvips-linux-s390x": "1.3.4", + "@img/sharp-libvips-linux-x64": "1.3.4", + "@img/sharp-libvips-linuxmusl-arm64": "1.3.4", + "@img/sharp-libvips-linuxmusl-x64": "1.3.4", + "@img/sharp-linux-arm": "0.35.5", + "@img/sharp-linux-arm64": "0.35.5", + "@img/sharp-linux-ppc64": "0.35.5", + "@img/sharp-linux-riscv64": "0.35.5", + "@img/sharp-linux-s390x": "0.35.5", + "@img/sharp-linux-x64": "0.35.5", + "@img/sharp-linuxmusl-arm64": "0.35.5", + "@img/sharp-linuxmusl-x64": "0.35.5", + "@img/sharp-webcontainers-wasm32": "0.35.5", + "@img/sharp-win32-arm64": "0.35.5", + "@img/sharp-win32-ia32": "0.35.5", + "@img/sharp-win32-x64": "0.35.5" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } } }, "node_modules/shiki": { - "version": "4.4.3", - "resolved": "https://registry.npmjs.org/shiki/-/shiki-4.4.3.tgz", - "integrity": "sha512-Mb/GvXPHBAXdgGIcnfU5L3ldpn1XcxrGkPHwqgRx17/I2XRfqlFKk2vGkHWINn1kdXvzJZeuO3is6I9KLPFm0g==", + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/shiki/-/shiki-4.5.0.tgz", + "integrity": "sha512-OcRW72ngQvc+MSVWBRIovC/BTW589iUE/Vxav7VeM4RcY9MUjqB+IR6ILG1k9nuW6LiG/nct9uma4/MBtnZbmQ==", "license": "MIT", "dependencies": { - "@shikijs/core": "4.4.3", - "@shikijs/engine-javascript": "4.4.3", - "@shikijs/engine-oniguruma": "4.4.3", - "@shikijs/langs": "4.4.3", - "@shikijs/themes": "4.4.3", - "@shikijs/types": "4.4.3", + "@shikijs/core": "4.5.0", + "@shikijs/engine-javascript": "4.5.0", + "@shikijs/engine-oniguruma": "4.5.0", + "@shikijs/langs": "4.5.0", + "@shikijs/themes": "4.5.0", + "@shikijs/types": "4.5.0", "@shikijs/vscode-textmate": "^10.0.2", "@types/hast": "^3.0.5" }, @@ -5152,9 +4743,9 @@ "license": "MIT" }, "node_modules/smol-toml": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/smol-toml/-/smol-toml-1.8.0.tgz", - "integrity": "sha512-kCZr2V3ch9i00x8zXRhjUNVcjG9ijES5dDudkXvUVCT5QlJNQWElSJdZqyPemffHoLNUYwOcou0Fy+ojN0uHSQ==", + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/smol-toml/-/smol-toml-1.9.0.tgz", + "integrity": "sha512-hpd+HLON7HdZXqYchMM/+LaTTbdK0AU3NngIJ4KVyWbY9bfQqdL9cD+4yf6dUoU2Ap4VsU0JkQi6FxAI1B2mXQ==", "license": "BSD-3-Clause", "engines": { "node": ">= 18" @@ -5164,9 +4755,9 @@ } }, "node_modules/source-map-js": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz", - "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==", + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.2.tgz", + "integrity": "sha512-KGj/8Y43x35aZVDtt+J4mK1hoLGHULMYfSkODJNQjNDC3oW1PqPoxMwo0pLUsWM/UEGzON/NxeHywEfNXNP3Vw==", "license": "BSD-3-Clause", "engines": { "node": ">=0.10.0" @@ -5182,11 +4773,22 @@ "url": "https://github.com/sponsors/wooorm" } }, - "node_modules/sprintf-js": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", - "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==", - "license": "BSD-3-Clause" + "node_modules/string-width": { + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-8.3.0.tgz", + "integrity": "sha512-ZbmZM0JCihQN91dWnxoipT2KOEyHqEyfRXUyjuRhW8b/xnqPDoq4gWEVApTVa9db2wN8mmoikgFBbjh71+cGeQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "get-east-asian-width": "^1.5.0", + "strip-ansi": "^7.1.2" + }, + "engines": { + "node": ">=20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } }, "node_modules/stringify-entities": { "version": "4.0.4", @@ -5202,40 +4804,35 @@ "url": "https://github.com/sponsors/wooorm" } }, - "node_modules/strip-bom-string": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/strip-bom-string/-/strip-bom-string-1.0.0.tgz", - "integrity": "sha512-uCC2VHvQRYu+lMh4My/sFNmF2klFymLX1wHJeXnbEJERpV/ZsVuonzerjfrGpIGF7LBVa1O7i9kjiWvJiFck8g==", - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/supports-color": { + "node_modules/strip-ansi": { "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.2.0.tgz", + "integrity": "sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w==", + "dev": true, "license": "MIT", "dependencies": { - "has-flag": "^4.0.0" + "ansi-regex": "^6.2.2" }, "engines": { - "node": ">=8" + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" } }, "node_modules/svgo": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/svgo/-/svgo-4.0.2.tgz", - "integrity": "sha512-ekx94z1rRc5LDi6oSUaeRnYhd0UOJxdtQCL2rF8xpWxD3TPAsISWOrxezqGovqS38GRZOdpDfvQe3ts6F7nsng==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/svgo/-/svgo-4.1.0.tgz", + "integrity": "sha512-bkxnTg1kSU0guhIBmibA6UUhrQmPVA1XsQLN+ylCd+UWzbnLkySOcXpyk1mrl05f+pcaCx2eHb+sp6BgMZWX+Q==", "license": "MIT", "dependencies": { "commander": "^11.1.0", - "css-select": "^5.1.0", + "css-select": "^6.0.0", "css-tree": "^3.0.1", - "css-what": "^6.1.0", + "css-what": "^7.0.0", "csso": "^5.0.5", "picocolors": "^1.1.1", - "sax": "^1.5.0" + "sax": "1.6.1" }, "bin": { "svgo": "bin/svgo.js" @@ -5274,9 +4871,9 @@ "license": "MIT" }, "node_modules/tinyclip": { - "version": "0.1.15", - "resolved": "https://registry.npmjs.org/tinyclip/-/tinyclip-0.1.15.tgz", - "integrity": "sha512-uo33abH+Ays0xYaDysoBt494Hb3hsEczMpcC0MwFl773pazORx4fmvKhclhR1wonUbB6vvpRsvVMwnhfqeMc+A==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/tinyclip/-/tinyclip-1.0.3.tgz", + "integrity": "sha512-nTv2raKFMzGG6JJp0lpNDsRPdfFE6UHlu2rVEjXo8vkx1ZS3LW2CVXqIaLu8xZlu+6tbFs9V58Qc/Jmk/Ii7wA==", "license": "MIT", "engines": { "node": "^16.14.0 || >= 17.3.0" @@ -5307,19 +4904,6 @@ "url": "https://github.com/sponsors/SuperchupuDev" } }, - "node_modules/to-regex-range": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", - "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "is-number": "^7.0.0" - }, - "engines": { - "node": ">=8.0" - } - }, "node_modules/trim-lines": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/trim-lines/-/trim-lines-3.0.1.tgz", @@ -5397,9 +4981,9 @@ "license": "MIT" }, "node_modules/undici": { - "version": "8.10.0", - "resolved": "https://registry.npmjs.org/undici/-/undici-8.10.0.tgz", - "integrity": "sha512-HvltHd7avK13QIw/oLe4qoOLyoVSoafqJ2jYOrtMRBkbYT31eiBQ8O0ehRKZiEZCMEyLFQNIADpgCWC5fALvYQ==", + "version": "8.12.3", + "resolved": "https://registry.npmjs.org/undici/-/undici-8.12.3.tgz", + "integrity": "sha512-+fdndUTwBP86cVjihTp21hZHo7d6oj1c/47XPA3lL8mM0XHs+C4EkcjmgRsFnFk2f/UONGDy9ItBItmXsLOQHw==", "license": "MIT", "engines": { "node": ">=22.19.0" @@ -5627,6 +5211,18 @@ "url": "https://paulmillr.com/funding/" } }, + "node_modules/verkit": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/verkit/-/verkit-0.4.1.tgz", + "integrity": "sha512-mMVzj0TXExtVdlDEq+Mzp0eyOuyznNpFobNM3uAqe3HVm/Ps2c+u17BligMkZjZCA6EiXpoon8iRTer3iu40SQ==", + "license": "MIT", + "engines": { + "node": ">=18.12.0" + }, + "funding": { + "url": "https://github.com/sponsors/sxzz" + } + }, "node_modules/vfile": { "version": "6.0.3", "resolved": "https://registry.npmjs.org/vfile/-/vfile-6.0.3.tgz", @@ -5656,15 +5252,15 @@ } }, "node_modules/vite": { - "version": "8.2.1", - "resolved": "https://registry.npmjs.org/vite/-/vite-8.2.1.tgz", - "integrity": "sha512-EU/eS7BH3XROHh2YnBefjM6DBKA6ZeMZEYQbj7NLWg5wHYlhB8B/Mayd5XsgWq+NFYccDOTemRpdETWR6Ka/lw==", + "version": "8.3.4", + "resolved": "https://registry.npmjs.org/vite/-/vite-8.3.4.tgz", + "integrity": "sha512-IftLE8phJhdNRIGNEV4JCCvfNScoZQVfcXaN8TQropWGJtOHcu+iAB9pHcuGvmEb/kddw0LBe/jS8ztdC6xdiQ==", "license": "MIT", "dependencies": { "lightningcss": "^1.33.0", - "picomatch": "^4.0.5", - "postcss": "^8.5.25", - "rolldown": "~1.2.1", + "picomatch": "^4.0.7", + "postcss": "^8.5.29", + "rolldown": "~1.2.12", "tinyglobby": "^0.2.17" }, "bin": { @@ -5681,7 +5277,7 @@ }, "peerDependencies": { "@types/node": "^20.19.0 || >=22.12.0", - "@vitejs/devtools": "^0.4.0", + "@vitejs/devtools": "^0.7.1", "esbuild": "^0.27.0 || ^0.28.0", "jiti": ">=1.21.0", "less": "^4.0.0", @@ -6302,6 +5898,42 @@ "dev": true, "license": "MIT" }, + "node_modules/wrap-ansi": { + "version": "9.0.2", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-9.0.2.tgz", + "integrity": "sha512-42AtmgqjV+X1VpdOfyTGOYRi0/zsoLqtXQckTmqTeybT+BDIbM/Guxo7x3pE2vtpr1ok6xRqM9OpBe+Jyoqyww==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^6.2.1", + "string-width": "^7.0.0", + "strip-ansi": "^7.1.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/wrap-ansi/node_modules/string-width": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.2.0.tgz", + "integrity": "sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "emoji-regex": "^10.3.0", + "get-east-asian-width": "^1.0.0", + "strip-ansi": "^7.1.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/xxhash-wasm": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/xxhash-wasm/-/xxhash-wasm-1.1.0.tgz", @@ -6382,77 +6014,30 @@ } }, "node_modules/yargs": { - "version": "17.7.3", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.3.tgz", - "integrity": "sha512-GZtjxm/J/4TSxuL3FNYjCmLktBTnIw/rVmKSIyKeYAZpmJB2ig9VauCC5xsa82GNKVKDAqpOn3KVzNt0zmrU0g==", + "version": "18.2.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-18.2.0.tgz", + "integrity": "sha512-9OpKOLeaoNFecEp7P6iYbzze/5CqWoH7N3SMs/6y1XF4nMvFMspEGZzJ6uFi9MmQwXhyzqYoSEKO3tvA3Z/o2w==", "dev": true, "license": "MIT", "dependencies": { - "cliui": "^8.0.1", + "cliui": "^9.0.1", "escalade": "^3.1.1", "get-caller-file": "^2.0.5", - "require-directory": "^2.1.1", - "string-width": "^4.2.3", + "string-width": "^8.2.1", "y18n": "^5.0.5", - "yargs-parser": "^21.1.1" + "yargs-parser": "^22.0.0" }, "engines": { - "node": ">=12" + "node": "^20.19.0 || ^22.12.0 || >=23" } }, "node_modules/yargs-parser": { - "version": "21.1.1", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", - "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", - "dev": true, + "version": "22.0.0", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-22.0.0.tgz", + "integrity": "sha512-rwu/ClNdSMpkSrUb+d6BRsSkLUq1fmfsY6TOpYzTwvwkg1/NRG85KBy3kq++A8LKQwX6lsu+aWad+2khvuXrqw==", "license": "ISC", "engines": { - "node": ">=12" - } - }, - "node_modules/yargs/node_modules/ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/yargs/node_modules/emoji-regex": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", - "dev": true, - "license": "MIT" - }, - "node_modules/yargs/node_modules/string-width": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", - "dev": true, - "license": "MIT", - "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/yargs/node_modules/strip-ansi": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-regex": "^5.0.1" - }, - "engines": { - "node": ">=8" + "node": "^20.19.0 || ^22.12.0 || >=23" } }, "node_modules/yocto-queue": { @@ -6468,9 +6053,9 @@ } }, "node_modules/zod": { - "version": "4.4.3", - "resolved": "https://registry.npmjs.org/zod/-/zod-4.4.3.tgz", - "integrity": "sha512-ytENFjIJFl2UwYglde2jchW2Hwm4GJFLDiSXWdTrJQBIN9Fcyp7n4DhxJEiWNAJMV1/BqWfW/kkg71UDcHJyTQ==", + "version": "4.6.7", + "resolved": "https://registry.npmjs.org/zod/-/zod-4.6.7.tgz", + "integrity": "sha512-g8W2D2kU6a8untc053fX1uVBKzM7yqAxW/3zwk83+6RyF2+SKOuV+c0wBDhUwzV1PaGapmZH+rmcUzPf+3CGwg==", "license": "MIT", "funding": { "url": "https://github.com/sponsors/colinhacks" diff --git a/dashboard/package.json b/dashboard/package.json index 0dd517782..7efd1d428 100644 --- a/dashboard/package.json +++ b/dashboard/package.json @@ -13,13 +13,13 @@ "dependencies": { "@tailwindcss/vite": "^4", "ansi-to-html": "^0.7.2", - "astro": "^7.2.6", - "gray-matter": "^4.0.3", + "astro": "^7.2.8", + "js-yaml": "^4.1.0", "marked": "^12.0.1", "tailwindcss": "^4" }, "devDependencies": { - "@astrojs/check": "0.7.0", + "@astrojs/check": "0.9.10", "pagefind": "1.5.2", "typescript": "5.9.3" } diff --git a/dashboard/scripts/compile_data.py b/dashboard/scripts/compile_data.py index 694b3a010..0a705407e 100644 --- a/dashboard/scripts/compile_data.py +++ b/dashboard/scripts/compile_data.py @@ -2,10 +2,23 @@ import os import json import glob +import re from datetime import datetime from pathlib import Path +# Run ids are re-used as output filename components; the raw run JSON they come +# from originates outside this repo (GHCR artifacts), so constrain them to a +# safe character set to prevent path traversal on write. +SAFE_RUN_ID_RE = re.compile(r"^[A-Za-z0-9][A-Za-z0-9._-]*$") + + +def sanitize_run_id(run_id): + """Return run_id if it is safe to use as a filename component, else ''.""" + if run_id and SAFE_RUN_ID_RE.match(run_id) and ".." not in run_id: + return run_id + return "" + SCRIPT_DIR = Path(__file__).resolve().parent DASHBOARD_DIR = SCRIPT_DIR.parent @@ -46,7 +59,12 @@ def compile_dashboard_data(): if not run_data: continue - run_id = run_data["id"] + run_id = sanitize_run_id(str(run_data.get("id", ""))) + if not run_id: + # Fall back to the (glob-constrained) source filename so a hostile + # id field cannot steer the write path below. + run_id = Path(filepath).stem + run_data["id"] = run_id flavor = run_data.get("flavor", "bluefin") status = run_data.get("summary", {}).get("status", "failed") diff --git a/dashboard/scripts/convert_behave.py b/dashboard/scripts/convert_behave.py index eb81b4631..3b876ff1f 100644 --- a/dashboard/scripts/convert_behave.py +++ b/dashboard/scripts/convert_behave.py @@ -1,10 +1,24 @@ #!/usr/bin/env python3 import os import json +import re import sys from pathlib import Path from datetime import datetime +# run_id is used as an output filename component. It arrives from an OCI +# manifest annotation (io.github.projectbluefin.run_id) pulled off GHCR, so +# treat it as untrusted: allow only a conservative character set and reject +# anything that could traverse directories ("../", "/", "\\", leading dots). +SAFE_RUN_ID_RE = re.compile(r"^[A-Za-z0-9][A-Za-z0-9._-]*$") + + +def sanitize_run_id(run_id): + """Return run_id if it is safe to use as a filename component, else ''.""" + if run_id and SAFE_RUN_ID_RE.match(run_id) and ".." not in run_id: + return run_id + return "" + STATUS_MAP = { "passed": "passed", "failed": "failed", @@ -17,6 +31,19 @@ def normalize_status(status): return "failed" return STATUS_MAP.get(str(status).strip().lower(), "failed") + +def error_text(error_message): + """Return a step's ``result.error_message`` as one string. + + behave's JSON formatter writes a multi-line message (every traceback) as a + list of lines and a one-line message as a plain string. + """ + if not error_message: + return None + if isinstance(error_message, list): + return "\n".join(str(line) for line in error_message) + return str(error_message) + def convert_behave_json(behave_json_path, *, run_id, caller_repo, slug, suite, timestamp): try: with open(behave_json_path, 'r') as f: @@ -67,7 +94,7 @@ def convert_behave_json(behave_json_path, *, run_id, caller_repo, slug, suite, t step_logs_list.append(f"[{step_status.upper()}] {step_name}") # Check for error details - err_msg = step_result.get("error_message") + err_msg = error_text(step_result.get("error_message")) if err_msg: error_message = err_msg step_logs_list.append(f"\u001b[1;31m[ERROR] {err_msg}\u001b[0m") @@ -89,7 +116,7 @@ def convert_behave_json(behave_json_path, *, run_id, caller_repo, slug, suite, t tests.append({ "name": f"{feature_name} > {scenario_name}", - "status": "passed" if status == "passed" else "failed", + "status": status, "duration_ms": duration_ms, "error_message": error_message, "logs": "\n".join(step_logs_list) @@ -100,7 +127,7 @@ def convert_behave_json(behave_json_path, *, run_id, caller_repo, slug, suite, t # Assemble standard Dashboard run-ID.json payload return { - "id": run_id or f"run_{datetime.utcnow().strftime('%Y%m%d_%H%M')}_{slug}", + "id": sanitize_run_id(run_id) or f"run_{datetime.utcnow().strftime('%Y%m%d_%H%M')}_{slug}", "timestamp": timestamp or datetime.utcnow().strftime("%Y-%m-%dT%H:%M:%SZ"), "stream": stream, "flavor": flavor, @@ -135,7 +162,7 @@ def convert_behave_json(behave_json_path, *, run_id, caller_repo, slug, suite, t } def main(): - if len(sys.argv) < 7: + if len(sys.argv) < 8: print("Usage: convert_behave.py ") sys.exit(1) diff --git a/dashboard/src/components/GlobalSearch.astro b/dashboard/src/components/GlobalSearch.astro index 93f34ab3e..01920b651 100644 --- a/dashboard/src/components/GlobalSearch.astro +++ b/dashboard/src/components/GlobalSearch.astro @@ -92,6 +92,18 @@ // Retrieve first 8 results to ensure optimal rendering const topResults = searchResponse.results.slice(0, 8); + // Pagefind returns page metadata verbatim (unescaped); it is derived from + // behave run artifacts, so escape it before it touches innerHTML. The + // excerpt is the one exception: Pagefind escapes its source text and adds + // highlighting, so it is safe to inject as HTML by design. + const escapeHtml = (value: unknown) => + String(value) + .replace(/&/g, '&') + .replace(//g, '>') + .replace(/"/g, '"') + .replace(/'/g, '''); + for (const result of topResults) { const data = await result.data(); @@ -107,14 +119,14 @@ resultItem.innerHTML = `
- ${data.meta.title} + ${escapeHtml(data.meta.title)} - ${status.toUpperCase()} + ${escapeHtml(status.toUpperCase())}
- Env: ${data.meta.environment || 'N/A'} - Commit: ${data.meta.commit || 'N/A'} + Env: ${escapeHtml(data.meta.environment || 'N/A')} + Commit: ${escapeHtml(data.meta.commit || 'N/A')}
diff --git a/dashboard/src/components/LogViewer.astro b/dashboard/src/components/LogViewer.astro index a7932d788..50c9ffadd 100644 --- a/dashboard/src/components/LogViewer.astro +++ b/dashboard/src/components/LogViewer.astro @@ -206,13 +206,26 @@ const { steps } = Astro.props; let matchesInPre = 0; const walkTextNodes = (node) => { if (node.nodeType === Node.TEXT_NODE) { - const matches = node.nodeValue.match(regex); - if (matches) { + const text = node.nodeValue; + const matches = Array.from(text.matchAll(regex)); + if (matches.length > 0) { matchesInPre += matches.length; totalMatches += matches.length; - + + // Build the highlighted replacement from DOM nodes. The text node + // holds the decoded log text, so writing it back through innerHTML + // would re-parse any literal markup in the logs as live HTML. const span = document.createElement('span'); - span.innerHTML = node.nodeValue.replace(regex, '$1'); + let cursor = 0; + for (const match of matches) { + span.appendChild(document.createTextNode(text.slice(cursor, match.index))); + const mark = document.createElement('mark'); + mark.className = 'bg-yellow-500/40 text-yellow-100 rounded'; + mark.textContent = match[0]; + span.appendChild(mark); + cursor = match.index + match[0].length; + } + span.appendChild(document.createTextNode(text.slice(cursor))); node.parentNode.replaceChild(span, node); } } else if (node.nodeType === Node.ELEMENT_NODE && node.nodeName !== 'MARK') { diff --git a/dashboard/src/utils/getSkills.js b/dashboard/src/utils/getSkills.js index fabf08466..cede1a792 100644 --- a/dashboard/src/utils/getSkills.js +++ b/dashboard/src/utils/getSkills.js @@ -1,6 +1,20 @@ import fs from 'node:fs/promises'; import path from 'node:path'; -import matter from 'gray-matter'; +import yaml from 'js-yaml'; + +// Split a markdown document into its leading `---` YAML front-matter block and +// the body. Skill docs are repository-controlled, so js-yaml's default (safe) +// schema is enough; a document without a front-matter block yields `{}`. +export function parseFrontMatter(raw) { + const text = raw.replace(/^\uFEFF/, ''); + const lines = text.split(/\r?\n/); + if (lines[0].trim() !== '---') return { data: {}, content: text }; + const end = lines.findIndex((line, i) => i > 0 && line.trim() === '---'); + if (end === -1) return { data: {}, content: text }; + const parsed = yaml.load(lines.slice(1, end).join('\n')); + const data = parsed && typeof parsed === 'object' && !Array.isArray(parsed) ? parsed : {}; + return { data, content: lines.slice(end + 1).join('\n') }; +} export async function loadSkills() { const TESTSUITE_SKILLS_PATH = path.resolve(process.cwd(), '../docs/skills'); @@ -20,7 +34,7 @@ export async function loadSkills() { for (const file of mdFiles) { const fullPath = path.join(source.dir, file); const rawContent = await fs.readFile(fullPath, 'utf-8'); - const { data, content } = matter(rawContent); + const { data, content } = parseFrontMatter(rawContent); // Map tags and metadata const name = data.name || file.replace('.md', '').replace(/-/g, ' ').toUpperCase(); diff --git a/docs/SKILL.md b/docs/SKILL.md index cf972058d..3361d2174 100644 --- a/docs/SKILL.md +++ b/docs/SKILL.md @@ -39,7 +39,7 @@ with a human-readable mirror at [`skills/index.md`](skills/index.md). 7. **Behave only** — no new pytest files outside `tests/unit/`; legacy pytest was removed 2026-05. 8. **Fedora 41 for test container** — qecore/dogtail/GObject stack runs in `registry.fedoraproject.org/fedora:41`. 9. **Dry-run before push** — run `behave --dry-run tests//features` after touching `.feature` files. -10. **Update skills in the same PR** — any code change that surfaces a convention must update the matching skill file. See [`skills/meta/skill-improvement/SKILL.md`](skills/meta/skill-improvement/SKILL.md). +10. **Update skills in the same PR** — any code change that introduces or alters a pattern, workaround, or contract must update the matching skill file (pure refactors, helper dedups, and added coverage without new conventions are exempt). See [`skills/meta/skill-improvement/SKILL.md`](skills/meta/skill-improvement/SKILL.md). 11. **Isolated work lives in `.worktrees/`** — branch from `origin/main` at the repo root; never `/tmp`, `/var/tmp`, or sibling directories, and never touch another worktree's branch or working tree. See [`skills/ci-ops/contributing/references/branch-and-worktree.md`](skills/ci-ops/contributing/references/branch-and-worktree.md). ## Task → skill diff --git a/docs/qa-review.md b/docs/qa-review.md index f6dc7d5cb..f5311a21d 100644 --- a/docs/qa-review.md +++ b/docs/qa-review.md @@ -1,9 +1,9 @@ # testsuite QA review -Coverage snapshot and known gaps live in `docs/skills/test-authoring/suite-map/SKILL.md`. Read that file for the current per-suite matrix and `@future` stub list rather than duplicating counts here. +Coverage snapshot and known gaps live in `docs/skills/test-authoring/suite-map/SKILL.md`. Read that file for the current per-suite matrix, authoritative counts, and `@future` stub list rather than duplicating counts here. -The current branch's mechanical recount is 506 scenarios across 69 feature files: -394 active, 0 `@quarantine`, 112 `@future`/`@pending`/`@hardware_blocked`. The five active +The current branch's mechanical recount is 548 scenarios across 75 feature files: +438 active, 0 `@quarantine`, 110 `@future`/`@pending`/`@hardware_blocked` (see the generated snapshot in `docs/skills/test-authoring/suite-map/SKILL.md`). The five active sudo-rs scenarios are included in the smoke total there. ## What this repo is responsible for @@ -52,6 +52,7 @@ Run unit tests with `python3 -m pytest tests/unit/ -q`. The `pytest` CI check (` | File | What it covers | |---|---| +| `test_gnomeos_canary.py` | GNOME OS identity/session rejection, AT-SPI fallback rejection, strict result/process gate and evidence wiring | | `test_gnome_shell_steps.py` | Shell.Eval, AT-SPI step helpers, ShellEval bool variants | | `test_gnome_settings_steps.py` | Settings panel navigation and toggle helpers | | `test_lifecycle_steps.py` | bootc upgrade/rollback/migration step helpers | @@ -59,6 +60,7 @@ Run unit tests with `python3 -m pytest tests/unit/ -q`. The `pytest` CI check (` | `test_timing.py` | SLA tag thresholds and timing helpers | | `test_screenshot.py` | Screenshot capture helpers | | `test_shared.py` | Shared step utilities | +| `test_convert_behave_cli.py` | Behave converter CLI argument-count boundary, usage diagnostics, and successful output | | `test_screenshot_cli.py` | `screenshot_cli.main()` argument parsing and dispatch | | `test_security_steps.py` | `_cosign_entries()` JSON validation and `_collect_values()` recursive extraction | | `test_quarantine.py` | `@quarantine` / `@pending` / `@future` skip logic | @@ -68,7 +70,6 @@ Run unit tests with `python3 -m pytest tests/unit/ -q`. The `pytest` CI check (` | `test_brew_steps.py` | Brew step helpers and formula detection | | `test_gnome_notifications_steps.py` | Notification step helpers | | `test_retry.py` | Behave retry harness, `sys.executable` fallback | -| `test_parse_results.py` | `scripts/parse_results.py` parsing integration | | `test_quarantine_age.py` | `scripts/check_quarantine_age.py` parsing and reporting | | `test_orca_steps.py` | Orca screen-reader toggle steps, `_wait_for_orca` polling, restore semantics | | `test_input_methods_steps.py` | `_run_in_vm` dispatch, exact `uint32` index parsing, success-latched input-source restore | @@ -82,4 +83,4 @@ Run unit tests with `python3 -m pytest tests/unit/ -q`. The `pytest` CI check (` - `flatcar/lifecycle`: 6 scenarios, 5 active — knuckle install, Ignition first-boot verification, update channel, automatic-update disable via `update.conf`, and afterburn implemented. Only the boot-order swap remains `@future`: booting the installed target disk requires KubeVirt boot-device ordering owned by `projectbluefin/lab`, and without it a reboot silently returns to the live disk. The suite is not yet reachable from `e2e.yml` (tracked in #704). - `security/selinux`: all scenarios active (cosign verification across image variants). - `nvidia`: still `@future` / `@hardware_blocked` until GPU passthrough exists in the lab. -- `kde-smoke`: 13 `@informational` scenarios in one feature file (repo totals: 491 scenarios / 64 feature files by mechanical recount; see the count-drift notice in `suite-map/SKILL.md`); Aurora-only Phase-2 harness proof. The shared KDE helpers and `e2e.yml` suite registration it depends on landed in #641-#645. +- `kde-smoke`: 13 `@informational` scenarios in one feature file; Aurora-only Phase-2 harness proof. The shared KDE helpers and `e2e.yml` suite registration it depends on landed in #641-#645. diff --git a/docs/runbook.md b/docs/runbook.md index dc0e88f34..26cbe6d19 100644 --- a/docs/runbook.md +++ b/docs/runbook.md @@ -101,3 +101,14 @@ When counts change, update the co-authoritative sources: - `docs/skills/test-authoring/suite-map/SKILL.md` — per-suite table - `docs/qa-review.md` — totals line and stub posture + +## GNOME OS provisioning canary + +The dispatch-only `.github/workflows/gnomeos-canary.yml` builds a native harness +on an official GNOME OS runtime, boots it through `gnome-e2e`, and runs +`tests/gnomeos-canary` under qecore-headless. It does not run the Bluefin smoke +suite or install candidate extensions. Download `gnomeos-desktop-canary` from +the run to inspect pinned base/builder provenance, boot logs, input/AT-SPI +readback, screenshot and journal. See +[the canary reference](skills/ci-ops/e2e-workflow/references/gnomeos-desktop-canary.md) +for commands and limits. diff --git a/docs/skills/ci-ops/contributing/SKILL.md b/docs/skills/ci-ops/contributing/SKILL.md index bee8f5337..2934d44f5 100644 --- a/docs/skills/ci-ops/contributing/SKILL.md +++ b/docs/skills/ci-ops/contributing/SKILL.md @@ -24,6 +24,10 @@ This is an agent-first repo — agents MAY file issues and PRs directly. No huma Nightly CI is gone. PR gates are the only CI signal, and `smoke` is the standard gate suite for all consumer repos. +Unit tests temporarily stub shared modules in `sys.modules`; the unit-test +fixture restores the module table after each test so pytest-xdist workers do +not leak those stubs into unrelated test modules. + ## Decision: which repo? | Found in | Fix goes in | @@ -75,7 +79,7 @@ If a skill doc (`docs/skills/*.md`) is wrong or incomplete: **Do not add hard rules to individual skill docs** — rules go in `docs/SKILL.md` (single source). Skill docs hold patterns and examples only. -**The skill-improvement mandate:** every PR that changes `tests/**`, `.github/workflows/**`, or `scripts/**` should include a matching skill file update. See [`docs/skills/meta/skill-improvement/SKILL.md`](../../meta/skill-improvement/SKILL.md) for what counts as a learning, which skill to update, and how to commit it together. This is a review expectation, not an automated check — no CI job enforces it. +**The skill-improvement mandate:** every PR that changes `tests/**`, `.github/workflows/**`, `.github/actions/**`, or `scripts/**` must include a matching skill file update if the change introduces or alters a pattern, workaround, or contract. Pure refactoring, helper deduplication, and added test coverage that introduce no new conventions are exempt. If no existing skill file covers the area, update the closest matching skill or create one under `docs/skills//SKILL.md`. This is enforced as a mandatory review gate before enqueuing (there is no automated CI check). See [`docs/skills/meta/skill-improvement/SKILL.md`](../../meta/skill-improvement/SKILL.md) for what counts as a learning, which skill to update, and how to commit it together. ## On-demand references diff --git a/docs/skills/ci-ops/contributing/references/reviewing-and-merging.md b/docs/skills/ci-ops/contributing/references/reviewing-and-merging.md index c9022de10..5b4f222e8 100644 --- a/docs/skills/ci-ops/contributing/references/reviewing-and-merging.md +++ b/docs/skills/ci-ops/contributing/references/reviewing-and-merging.md @@ -43,24 +43,11 @@ Corollary: do not close or skip enqueuing a "dependency" PR just because its CI ## Merging PRs — the effective gate -**Submit to lab → wait for `ghost-lab` → merge on pass, fix on fail.** - -`ghost-lab` **is** posted on testsuite PRs and **must be green before merging**. -It was dead for a long stretch: every testsuite lab workflow was rejected at -Argo admission in 0s because `bluefin-qa-pipeline`'s `pipeline` template -declared `image-digest` required with no default while `pr-poller` emitted it as -an empty string, and Argo normalises an empty string to absent. -`projectbluefin/lab#606` fixed that; `#607`/`#608`/`#610`/`#611` fixed -nested-target provisioning. Statuses post reliably since (observed on testsuite -`#724`, `#726`, `#727`, `#729`). Ignore any older "nothing will arrive" note. - -### The gate to apply +**The gate to apply:** 1. **GitHub Actions CI green** — the five required checks below. -2. **`ghost-lab` green** — not optional, and not implied by (1). See below. -3. **Human approval to merge.** Merging is a human gate; an agent prepares the +2. **Human approval to merge.** Merging is a human gate; an agent prepares the PR and asks. See `docs/skills/meta/human-gates/SKILL.md`. - | Check | Workflow | Trigger | |---|---|---| | `Lint & syntax` | `pr-validate.yml` | `pull_request`, `merge_group`, `push: main` | @@ -75,7 +62,7 @@ repository **ruleset** (which also enables the merge queue, squash method, and returns `404 Branch not protected` — expected, because the configuration lives in a ruleset. Verify with `gh api repos/projectbluefin/testsuite/rulesets`. -Once CI and `ghost-lab` are green and a human has approved, enqueue with: +Once CI is green and a human has approved, enqueue with: ```bash gh pr merge --repo projectbluefin/testsuite --squash --auto @@ -85,64 +72,6 @@ The `--auto` flag enqueues the PR; the merge queue re-runs the required checks on the merge commit and lands to `main` automatically on green. Do not attempt `--admin` bypasses. -### The five GHA checks are not sufficient - -**GHA CI does not boot a real VM.** Lint, behave dry-run, quarantine age, -pytest, and docs-validate verify syntax, step-name resolution, doc structure, -and helper unit behaviour only. Real-VM regressions — GNOME Shell/AT-SPI -timing, GDM state, bootc upgrade/rollback, oomd kills — are invisible to all -five. `ghost-lab` runs the `smoke,common` suites on a real KubeVirt VM and is -the only pre-merge signal that catches them. A PR that is "5/5 green" has had -**no** runtime coverage. - -Still say so explicitly in the PR description when a change has had no real-VM -coverage (for example when `ghost-lab` is red for an unrelated repo-wide -blocker and a human waives it). - -### Reading and re-running `ghost-lab` - -**It is a commit status, not a check run.** It does not appear in the -check-runs API, so tooling that only reads check runs will show it as missing. -Query the status API against the PR head SHA: - -```bash -gh api repos/projectbluefin/testsuite/commits/$(gh pr view \ - --repo projectbluefin/testsuite --json headRefOid --jq .headRefOid)/status \ - --jq '.statuses[] | {context, state}' -``` - -**Dispatch is automatic for testsuite.** The `pr-label-poller` CronWorkflow in -`projectbluefin/lab` runs every 5 minutes and auto-dispatches for every repo in -`AUTO_REPOS` (`common`, `knuckle`, `testsuite`). You do **not** need to add a -label: `test-on-lab` is only a Pass-2 catch-all for repos outside `AUTO_REPOS`, -and that label does not exist in this repository. Pushing a new commit is -enough; the poller picks up the new head SHA within 5 minutes. - -**Dedup is by label.** The poller keys off `bluefin.io/pr-number` and -`bluefin.io/pr-sha` on the Argo workflow, so it will not re-dispatch for a SHA -it has already run. To force a re-run at the same SHA, delete the workflow and -wait for the next poll: - -```bash -kubectl delete workflow -n argo -l bluefin.io/pr-number= -``` - -**There is a `MAX_DISPATCH` rate cap.** A large batch of open PRs will not all -dispatch in one poll cycle; they drain over successive 5-minute runs. A PR -sitting without a `ghost-lab` status for a few minutes is normal backlog, not a -broken gate. - -### Lesson: a merged fix is not a working fix - -Verify a gate by observing a real signal end to end. Never conclude a gate works -because a fix for it merged: three consecutive fixes to this reporter each -merged green, and each left the gate posting nothing. The fix that finally -worked (`lab#606`) was confirmed by observing `ghost-lab` statuses on four -separate PRs, not by reading the diff. Reporting is a leg of the pipeline that -no upstream test exercises — an unauthenticated request or a rejected payload -fails silently from the PR's point of view. This is the same failure class as a -test suite that reports green while silently skipping every scenario. - **Counted-evidence rule for token plumbing.** Token-like strings are redacted in command and log output, so you can never confirm an `Authorization` header by reading it — a working header and an uninterpolated placeholder look identical. diff --git a/docs/skills/ci-ops/dashboard-metrics/SKILL.md b/docs/skills/ci-ops/dashboard-metrics/SKILL.md index fd89a6f82..9fb4fc895 100644 --- a/docs/skills/ci-ops/dashboard-metrics/SKILL.md +++ b/docs/skills/ci-ops/dashboard-metrics/SKILL.md @@ -81,24 +81,13 @@ This skill guides agents through modifying, compiling, and deploying the QA dash const stats = statsRes.ok ? await statsRes.json() : {}; ``` -6. **Node-Based Markdown Skills Loader**: Standard Astro Content Collections cannot access files located outside the dashboard's `src/` folder (such as standard repository documentation in `docs/skills` or a sibling repository like `../common/docs/skills`). Bypass this restriction by writing a dynamic build-time filesystem loader in `src/utils/getSkills.js` utilizing `gray-matter` for YAML parsing and `marked` for Markdown rendering. +6. **Node-Based Markdown Skills Loader**: Standard Astro Content Collections cannot access files located outside the dashboard's `src/` folder (such as standard repository documentation in `docs/skills` or a sibling repository like `../common/docs/skills`). Bypass this restriction by writing a dynamic build-time filesystem loader in `src/utils/getSkills.js` using a small `parseFrontMatter()` splitter that extracts the leading `---` block and parses it with `js-yaml` (default safe schema), plus `marked` for Markdown rendering. Do not add `gray-matter`. 7. **Pagefind Search Indexing for Dynamically Loaded Skills**: Enable Pagefind search on dynamically loaded Markdown files by adding `data-pagefind-body` directly on the `
` or `
` element containing the rendered skill body, and use Pagefind metadata selectors (such as `data-pagefind-meta="category"`) to expose tags to the client-side search component. -8. **Astro custom base URL constraints**: The custom domain `qa.projectbluefin.io` is mapped to the root of the site. Therefore, when the custom domain is active, `astro.config.mjs` MUST keep `base: '/'` and `site: 'https://qa.projectbluefin.io'`. Do not change them to sub-paths. - -9. **Deploy CNAME Preservation**: Deployment scripts that reset the `gh-pages` branch will wipe out the repository's `CNAME` setting, returning a 404 on the custom domain. The Pages deploy workflow must explicitly rewrite `qa.projectbluefin.io` to a `CNAME` file inside the deployment root on every run: - ```yaml - - name: Deploy Compiled Dashboard to gh-pages - run: | - cd old-gh-pages - find . -maxdepth 1 ! -name '.' ! -name '..' ! -name '.git' -exec rm -rf {} + - cp -r ../dashboard/dist/* . - touch .nojekyll - echo "qa.projectbluefin.io" > CNAME # MUST PRESERVE - git add . && git commit -m "Deploy Astro QA dashboard" - git push origin gh-pages - ``` +8. **Site path — served from `https://projectbluefin.github.io/testsuite/`**: The dashboard is deployed to the `gh-pages` branch and served from the repository subpath `https://projectbluefin.github.io/testsuite/`. `astro.config.mjs` MUST keep `base: '/testsuite/'` and `site: 'https://projectbluefin.github.io'` so that absolute asset paths resolve under `/testsuite/`. Do not set `base: '/'` — on a GitHub Pages subpath that drops the `/testsuite/` prefix and 404s all CSS and Pagefind assets. + +9. **Do NOT write a CNAME on deploy**: The dashboard is served from `https://projectbluefin.github.io/testsuite/`, not from a custom domain. The org zone maps `qa.projectbluefin.io` to a redirect Worker (the zone hostname policy 301s it to `https://factory.projectbluefin.io/`), so any `CNAME` written to the `gh-pages` branch claims a name that no longer serves this site and 404s. `publish-to-pages.yml` must NOT write a `CNAME` file. The `base: '/testsuite/'` in `astro.config.mjs` is what makes the subpath work — not a CNAME. 10. **Tailwind v4 via `@tailwindcss/vite` (no Astro integration)**: The dashboard uses Tailwind CSS v4 through the official Vite plugin (`@tailwindcss/vite`), declared in `astro.config.mjs` under `vite.plugins`, plus `@import "tailwindcss";` in `src/styles/global.css` (loaded via a `