Skip to content

Add tests for getDeclarationsFromPackage across multiple rounds - #3183

Merged
jaschdoc merged 2 commits into
mainfrom
multi-round-klibs
Sep 4, 2026
Merged

Add tests for getDeclarationsFromPackage across multiple rounds#3183
jaschdoc merged 2 commits into
mainfrom
multi-round-klibs

Conversation

@jaschdoc

@jaschdoc jaschdoc commented Sep 4, 2026

Copy link
Copy Markdown
Collaborator

KSP drops its AA caches across rounds to ensure new files are correct indexed. Issue #2396 was recently closed, but these tests assert that declarations in packages in klibs are still accessible across rounds, i.e., the cache drops do not affect the Resolver.getDeclarationsFromPackage function.

Related to #2396

…rounds

This test ensures the getDeclarationsFromPackage function returns
the same result across rounds.
This commit updates the inegration test to call getDeclarationsFromPackage
across rounds to ensure that the klibs are still accessible after
dumping caches between rounds.
@jaschdoc
jaschdoc marked this pull request as ready for review September 4, 2026 10:16
@jaschdoc
jaschdoc enabled auto-merge September 4, 2026 11:49
@jaschdoc
jaschdoc added this pull request to the merge queue Sep 4, 2026
Merged via the queue into main with commit 0bde986 Sep 4, 2026
28 checks passed
@jaschdoc
jaschdoc deleted the multi-round-klibs branch September 4, 2026 13:44
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.

2 participants