Skip to content

Handle missing CompUnit::Repository::Staging Failure#620

Merged
ugexe merged 1 commit into
mainfrom
ugexe/fix-staging-class-failure-warning
May 24, 2026
Merged

Handle missing CompUnit::Repository::Staging Failure#620
ugexe merged 1 commit into
mainfrom
ugexe/fix-staging-class-failure-warning

Conversation

@ugexe

@ugexe ugexe commented May 24, 2026

Copy link
Copy Markdown
Owner

The !~~ Failure check in #617 distinguishes loaded vs missing symbol, but smartmatch doesn't mark the Failure handled, so DESTROY warns about the unhandled missing-symbol Failure on every install when the class isn't loaded (i.e. every install today).

Restructure as do given with a when Failure arm so the Failure is dispatched on as a topic and marked handled inside the load-by-path fallback.

The `!~~ Failure` check in #617 distinguishes loaded vs missing
symbol, but smartmatch doesn't mark the Failure handled, so DESTROY
warns about the unhandled missing-symbol Failure on every install
when the class isn't loaded (i.e. every install today).

Restructure as `do given` with a `when Failure` arm so the Failure
is dispatched on as a topic and marked handled inside the load-by-path
fallback.
@ugexe ugexe merged commit b125827 into main May 24, 2026
6 checks passed
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