-
Notifications
You must be signed in to change notification settings - Fork 783
MAINT: Refactor converter construction into ConverterClassRegistry #1963
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
rlundeen2
wants to merge
5
commits into
microsoft:main
Choose a base branch
from
rlundeen2:rlundeen2/converter-registry-refactor
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
cf76325
Refactor converter construction into ConverterClassRegistry
rlundeen2 2dbbef0
Fix ty: fall back to creation_time for in-progress updated_at
rlundeen2 b49d2a8
Merge branch 'main' into rlundeen2/converter-registry-refactor
rlundeen2 2e6f5ec
MAINT: Unify converter registry into buildable ContainerRegistry
rlundeen2 2336b49
MAINT: Address PR review nits on converter registry
rlundeen2 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this something we want to eventually offer in the gui? also right now it seems like this is hard-coded here and in the tests. If this is a set we expect to expand or change (probably not really the case), there could be an attribute like
gui_visiblein the metadata.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rich's response (copilot generated): Good idea, but we're deliberately keeping visibility out of the registry metadata. The registry/catalog intentionally surfaces every constructible converter so agents and attack strategies can build anything (e.g.
SelectiveTextConverteris hidden from the picker but must stay discoverable/buildable). Which entries to show is a presentation concern owned by the frontend, so the hide-list stays here inConverterPanel.tsx— and there's a test (test_metadata_has_no_catalog_visible_field) that enforces metadata staying presentation-free. If this list grows or needs to vary per surface, we'd add a presentation-layer config rather than agui_visiblefield on the converter class metadata.