apple / apple/pkl

ClassCastException when declared remote dependency is resolved as local during `pkl package resolve`

Open
#414 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
11.5k
Forks
402
Avg merge
1d 15h
Merged PRs (30d)
20

Description

Repro steps:

Check out this commit: https://github.com/rnapier/pkl-pantry/commit/ce6b87c0568636290bb86b624bcd137d367de511

Then bump version on `pkl.experimental.uri`, then run `pkl project resolve packages/*/`

Contributor guide

Open the contributing guide

Research direction

Reproduce the failure from commit ce6b87c0568636290bb86b624bcd137d367de511 by bumping pkl.experimental.uri and running `pkl project resolve packages/*/`. Trace the package-resolution entry point for how a declared remote dependency becomes local, then verify that the command completes without a ClassCastException while resolving the dependency correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
cli, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.