The GitHub Actions job "Tests (AMD)" on 
airflow.git/feature/ts-sdk/typescript-api-docs has failed.
Run started by GitHub user jason810496 (triggered by jason810496).

Head commit for run:
8578ec0781a42b331812bfb061f3b1214ec21969 / Jason Liu <[email protected]>
Fix @msgpack/msgpack still unresolved in a genuinely clean docs install

The previous fix added @msgpack/msgpack to ts-sdk/docs/package.json, but that
alone can't work: Node's module resolution walks node_modules ancestors of
the *importing file* (ts-sdk/src/coordinator/frames.ts), and ts-sdk/docs/ is
a sibling of ts-sdk/src/, never an ancestor. The fix only appeared to succeed
locally because ts-sdk/node_modules already existed from an unrelated pnpm
install and was picked up by that ancestor walk — a genuinely fresh checkout
(matching CI, and reported here) has no such directory.

Redirect the bare specifier with a `paths` entry instead, pointing at where
npm actually installs the package for this toolchain. A path substitution to
the package's directory doesn't trigger its package.json main/types
resolution under node16/nodenext module resolution (verified with
--traceResolution), so the path names the concrete declaration file the
package's own `types` field already points to.

Report URL: https://github.com/apache/airflow/actions/runs/31377234665

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to