Skip to content

Add leaf node updates check#44

Open
keks wants to merge 5 commits intomainfrom
keks/add-leaf-node-updates-check
Open

Add leaf node updates check#44
keks wants to merge 5 commits intomainfrom
keks/add-leaf-node-updates-check

Conversation

@keks
Copy link
Collaborator

@keks keks commented Feb 3, 2026

Add a check for making sure that leaf nodes we add in update proposals and update paths also support all extensions that are currently in the group context (not just the requried capabilities), so we can track that check in the code.

Note that the check is not explicit in the RFC, so we use the new feature from #43 that allows us to reference other source documents. Maybe the easiest way is to just review the two commits of this PR and merge them together.

@keks keks requested a review from wysiwys February 3, 2026 10:02
@keks keks changed the title Keks/add leaf node updates check Add leaf node updates check Feb 3, 2026
@keks keks force-pushed the keks/add-leaf-node-updates-check branch from c873c8b to 1657ba1 Compare February 3, 2026 10:39
Copy link
Collaborator

@wysiwys wysiwys left a comment

Choose a reason for hiding this comment

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

Looks good to me overall. I requested one change around how fragments are added to the URLs

in Prelude.List.map
Text
Url
(\(fragment : Text) -> "${baseUrl}#${fragment}")
Copy link
Collaborator

@wysiwys wysiwys Feb 3, 2026

Choose a reason for hiding this comment

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

For Document.Other, this step includes an extra # after the https:// for Document.Other - should this step only be performed conditionally on the Document type?

( types.DocumentRef/single
''
To that end, it requires that we check that the LeafNodes in KeyPackages
that are added support all extensions in the group context[^1]. However, it
Copy link
Collaborator

Choose a reason for hiding this comment

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

It looks like the formatting and links aren't added for the footnote references

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

Comments