Commit Graph
8 Commits
Author SHA1 Message Date
Haozhe Wu 97f093b8d9 ci: stop waiting on npm's 503-ing audit endpoint during npm ci
The frontend job on be623c1b spent 357 of its 407 seconds inside `npm ci`; the
build it exists to run (tsc + vite) took 13. The install itself was never the
problem — the audit request npm makes after installing was:

    npm warn audit 503 Service Unavailable -
      POST https://registry.npmjs.org/-/npm/v1/security/advisories/bulk
    npm notice This endpoint is being retired. Use the bulk advisory endpoint instead.

npm retries that call before printing "added 380 packages in 6m". Measured
locally against the same lock file with the same warm cache:

    npm ci                                                 61s
    npm ci --no-audit --no-fund                             4s
    NPM_CONFIG_AUDIT=false NPM_CONFIG_FUND=false npm ci      4s

This is the same slowdown that timed out `test / Python 3.11` on 8555a05a, so
splitting the frontend into its own job treated the symptom; this is the cause.

Turning the audit off costs no coverage:

- `npm ci` exits 0 no matter what the audit reports — verified by running it
  against this tree, not assumed from the docs. It never gated anything.
- The endpoint currently returns no advisories at all, so the call is buying
  zero information even when it does answer.
- Dependabot watches the same dependency tree and is the channel that actually
  reports: the 7 open alerts on this repo (fast-uri, @xmldom/xmldom,
  browserslist, postcss-selector-parser) all come from it, none from here.

Set as workflow-level env rather than flags on four separate `npm ci` lines, so
any npm invocation added later inherits it. It applies to CI only — a
developer's own `npm ci` still audits once npmjs.com recovers.
2026-09-04 14:35:35 +08:00
Haozhe Wu 8a0e90b840 fix(desktop): preserve Windows process exit evidence
Signed-off-by: Haozhe Wu <haozhe_wu@connect.hku.hk>
2026-08-15 04:52:36 +08:00
Haozhe Wu bc846ebaef fix(desktop): stabilize Windows packaging inputs
Signed-off-by: Haozhe Wu <haozhe_wu@connect.hku.hk>
2026-08-15 04:42:05 +08:00
QCYTSN d8723223e9 feat(desktop): add dormant update safety boundary
Signed-off-by: QCYTSN <2558348385@qq.com>
2026-08-14 22:45:18 +08:00
QCYTSN c3544dda5e fix(desktop): satisfy packaging CI gates
Signed-off-by: QCYTSN <2558348385@qq.com>
2026-08-08 19:55:12 +08:00
QCYTSN 32d312566c fix(desktop): validate packaged Windows lifecycle
Signed-off-by: QCYTSN <2558348385@qq.com>
2026-08-08 19:55:12 +08:00
QCYTSN 13b8e5993a fix(desktop): enforce packaging security gates
Signed-off-by: QCYTSN <2558348385@qq.com>
2026-08-08 19:55:12 +08:00
QCYTSN f5cb88cf49 feat(desktop): add Windows runtime and NSIS packaging
Signed-off-by: QCYTSN <2558348385@qq.com>
2026-08-08 19:55:12 +08:00