发布

  • fix(ci): copy Vite dist into ldr-test and fix stale strategy assertion (#3327)

    frostbyte_neo 发布于 2026-03-30 16:51:06 +00:00

    • fix(docker): copy Vite dist into ldr-test so a11y tests get layout CSS

    The ldr-test stage inherits from builder-base, which never runs
    npm run build. Without the dist/ directory the Vite manifest is
    missing, so vite_asset() returns an empty fallback and styles.css
    (imported only through app.js) is never loaded. Nav links render
    as unstyled inline elements at ~17 px tall, failing WCAG 2.5.8
    target-size checks.

    Copy the built dist/ from the builder stage before pdm install so
    the assets are bundled into the installed package.

    • fix(test): replace iterative-refinement with default strategy in news test

    iterative-refinement is an advanced strategy not included in the
    default list (show_all=false). Test anonymous news page which always
    gets default strategies only.

    下载附件