Skip to content

Remove external callers of combineMetadata and internalize #121495

@teresajohnson

Description

@teresajohnson

The combineMetadata facility which was originally written for instruction CSE has been generalized and expanded in use, but this is causing issues with dropped metadata. See discussion in #121359.

The 2 external callers should be removed:

Once that is done, combineMetadata should be inlined into combineMetadataForCSE, or at least made internal and have the knownIds parameter removed (the switch statement already drops any metadata not explicitly handled there).

To avoid new metadata being inadvertently dropped in the future, it might be better to change this handling to require metadata to be explicitly listed in the switch statement, and assert otherwise.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions