Skip to content

fix(artifact-signer): resolve #shared in the worker typecheck - #340

Merged
harlan-zw merged 1 commit into
mainfrom
fix/artifact-signer-shared-alias
Sep 30, 2026
Merged

harlan-zw merged 1 commit into
mainfrom
fix/artifact-signer-shared-alias

Conversation

@harlan-zw

@harlan-zw harlan-zw commented Sep 30, 2026 •

Copy link
Copy Markdown
Collaborator

❓ Type of change

  • 🐞 Bug fix

📚 Description

The artifact-signer typecheck fails on main since #309, which added a #shared/skill-path import to github-source.ts. The worker reaches that file through a type import in checks.ts, and its tsconfig had no #shared mapping:

../../layers/artifact-delivery/server/utils/github-source.ts(4,37): error TS2307: Cannot find module '#shared/skill-path'

It fails on a clean main checkout too. CI missed it, most likely because of the task cache: the worker's cache inputs don't seem to cover the layer files it imports, so #309 restored an old green result. #335 changed the lockfile, which busted the cache and surfaced the error. I didn't confirm the cache key, so that part is a guess.

This adds the path mapping. shared/skill-path.ts has no imports, so nothing else comes along.

🤖 AI disclosure: Harlan Agent Kit modified this description. My AI open-source policy.

#309 imported #shared/skill-path into github-source.ts. The artifact-signer worker typechecks that file through a type import in checks.ts, and its tsconfig had no #shared mapping. CI skips the worker unless the lockfile changes, so main stayed red where nobody saw it.
@harlan-github-agent harlan-github-agent Bot added harlan-agent-running An Agent holds a Task on this issue or pull request right now. harlan-agent-review-required Pull request triage requires an adversarial Review for this head commit. labels Sep 30, 2026
@harlan-github-agent

harlan-github-agent Bot commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

🤖 MERGED

Harlan Agent Kit posted this automated review. It is not Harlan's personal review or approval. AI open source policy. Last updated: 2026-09-30 16:22 UTC.

GitHub merged this pull request.

No material findings were recorded.

Review completed. No finding above 80/100.

@harlan-zw
harlan-zw merged commit 20735d0 into main Sep 30, 2026
6 checks passed
@harlan-github-agent harlan-github-agent Bot removed harlan-agent-running An Agent holds a Task on this issue or pull request right now. harlan-agent-review-required Pull request triage requires an adversarial Review for this head commit. labels Sep 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant