mirror of
https://github.com/Kaelio/ktx.git
synced 2026-06-07 07:55:13 +02:00
* fix(ci): publish the pre-built tarball instead of re-packing
The release workflow built the tarball twice — once via pnpm pack in
artifacts:check (leaving it at dist/artifacts/npm/) and again inside
@semantic-release/npm's prepare step, which then tried to fs-extra
move npm pack's output into the same directory and crashed with
"dest already exists". On top of being a publish blocker, that meant
the published tarball was different from the one smoke-tested in
artifacts:check.
Drop @semantic-release/npm and publish the exact tarball that
artifacts:check verified via an exec publishCmd:
npm publish dist/artifacts/npm/kaelio-ktx-<v>.tgz \
--tag <next|latest> --access public --provenance
Auth uses OIDC trusted publishing — the workflow already grants
id-token: write and setup-node configures the registry, and
release-workflow.test.mjs asserts NODE_AUTH_TOKEN is not set.
* fix(ci): allow @kaelio/ktx tarball name in semantic-release config
The new publishCmd added in the previous commit hardcodes the
dist/artifacts/npm/kaelio-ktx-<v>.tgz path, which trips the boundary
check that forbids the literal product name outside release-machinery
files. The release config is exactly such a release-machinery file —
its job is to bridge the generic ktx project to the @kaelio/ktx npm
package — so add it to identifierAllowPatterns alongside the existing
build-public-npm-package and public-npm-release-metadata entries.
|
||
|---|---|---|
| .. | ||
| acquire-public-benchmark-fixtures.mjs | ||
| acquire-public-benchmark-fixtures.test.mjs | ||
| adventureworks-oltp-source.json | ||
| adventureworks-oltp-source.test.mjs | ||
| anti-fixture-conditional.test.mjs | ||
| build-adventureworks-oltp-fixture.mjs | ||
| build-benchmark-snapshot.mjs | ||
| build-benchmark-snapshot.test.mjs | ||
| build-evidence-fusion-adversarial-fixtures.mjs | ||
| build-public-npm-package.mjs | ||
| build-public-npm-package.test.mjs | ||
| build-python-runtime-wheel.mjs | ||
| build-python-runtime-wheel.test.mjs | ||
| check-boundaries.mjs | ||
| check-boundaries.test.mjs | ||
| ci-artifact-upload.test.mjs | ||
| conductor-run.sh | ||
| conductor-scripts.test.mjs | ||
| conductor-setup.sh | ||
| examples-docs.test.mjs | ||
| installed-live-database-smoke.mjs | ||
| installed-live-database-smoke.test.mjs | ||
| link-dev-cli.mjs | ||
| link-dev-cli.test.mjs | ||
| local-embeddings-runtime-smoke.mjs | ||
| local-embeddings-runtime-smoke.test.mjs | ||
| normalize-lcov-paths.mjs | ||
| normalize-lcov-paths.test.mjs | ||
| package-artifacts.mjs | ||
| package-artifacts.test.mjs | ||
| prepare-cli-bin.mjs | ||
| public-benchmark-manifest.json | ||
| public-npm-release-metadata.mjs | ||
| public-npm-release-metadata.test.mjs | ||
| published-package-smoke-config.mjs | ||
| published-package-smoke.mjs | ||
| published-package-smoke.test.mjs | ||
| relationship-orbit-verification.mjs | ||
| relationship-orbit-verification.test.mjs | ||
| release-readiness.mjs | ||
| release-readiness.test.mjs | ||
| release-workflow.test.mjs | ||
| run-ktx.mjs | ||
| run-ktx.test.mjs | ||
| semantic-release-config.cjs | ||
| semantic-release-config.test.mjs | ||
| setup-dev.mjs | ||
| setup-dev.test.mjs | ||
| standalone-ci-workflow.test.mjs | ||
| test-tiering.test.mjs | ||
| update-public-release-version.mjs | ||
| update-public-release-version.test.mjs | ||
| validate-llm-debug-jsonl.mjs | ||
| validate-llm-debug-jsonl.test.mjs | ||