Skip to content

Conversation

@BowTiedRadone
Copy link
Contributor

@BowTiedRadone BowTiedRadone commented Oct 28, 2025

This PR fixes a bug in the trait implementation detection logic that prevented Rendezvous from correctly identifying contracts implementing a trait defined with (define-trait <trait_name> (<trait_definition>)). This issue caused runs to fail, partly due to #157 (Rendezvous does not handle missing trait implementations gracefully and crashes mid-run).

Resolves #157 (part of #191).

@BowTiedRadone BowTiedRadone self-assigned this Oct 28, 2025
@BowTiedRadone BowTiedRadone requested a review from a team as a code owner October 28, 2025 11:39
@BowTiedRadone
Copy link
Contributor Author

BowTiedRadone commented Oct 28, 2025

Note for reviewers: Because this issue occurred in a real-world project, this PR is also a good opportunity to address #157. This part is still in progress, so the PR is not ready for full review yet.

@hugo-stacks
Copy link
Collaborator

hey @BowTiedRadone - is a review expected now or not?
If not, can it be converted into a draft?

@BowTiedRadone
Copy link
Contributor Author

@hugo-stacks The PR can now be reviewed, what's left is adding some tests for the newly added error handling.

hugo-stacks
hugo-stacks previously approved these changes Oct 28, 2025
Copy link
Collaborator

@hugo-stacks hugo-stacks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code looks good to me. Although, this is hard to review given my medium/low knowledge of the repo.
Left a suggestion comment

@BowTiedRadone BowTiedRadone changed the title Fix trait detection for defined traits Fix trait detection for defined traits and improve handling Oct 28, 2025
@BowTiedRadone BowTiedRadone merged commit ff8dfc2 into master Oct 30, 2025
17 checks passed
@BowTiedRadone BowTiedRadone deleted the fix/defined-traits branch October 30, 2025 15:19
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.

Handle missing trait implementations gracefully instead of crashing

3 participants