Skip to content

[Regression fix] Fix enum sequencing issue#2243

Merged
tjchadaga merged 1 commit into
opencomputeproject:masterfrom
tjchadaga:meta_enum_fix_master
Jan 15, 2026
Merged

[Regression fix] Fix enum sequencing issue#2243
tjchadaga merged 1 commit into
opencomputeproject:masterfrom
tjchadaga:meta_enum_fix_master

Conversation

@tjchadaga

Copy link
Copy Markdown
Collaborator

The below PRs introduced changes in saimetadatatypes.h which broke backward compatibility

This PR is to change the newly introduced enum values, so the existing enum values are not changed

Signed-off-by: Tejaswini Chadaga <tchadaga@microsoft.com>
@tjchadaga
tjchadaga force-pushed the meta_enum_fix_master branch from 33adb5d to 23783c7 Compare January 14, 2026 21:07
@tjchadaga

Copy link
Copy Markdown
Collaborator Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@tjchadaga
tjchadaga requested a review from rlhui January 14, 2026 22:46
@tjchadaga

Copy link
Copy Markdown
Collaborator Author

@JaiOCP JaiOCP left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

How did the commit check passed. Usually they complain.
Is there a tooling issue that need to addressed?

@kcudnik

kcudnik commented Jan 15, 2026

Copy link
Copy Markdown
Collaborator

Metadata headers are excluded from enum compatibility check since some headers are auto generated and metadatatypes could contain vales for experimental values which can potentially disappear, saimetadatatypes.h could be added explicitly for validation chęć but since backward compatibility was broken already then broken commits would need to be explicitly handled in validator to not break compatibility or star compatibility from this commit

Here:

my @headers = GetHeaderFiles("temp/commit-$commit/inc");
only inc directory is checked

@tjchadaga
tjchadaga merged commit c72635e into opencomputeproject:master Jan 15, 2026
3 checks passed
@tjchadaga
tjchadaga deleted the meta_enum_fix_master branch January 15, 2026 17:36
tjchadaga added a commit that referenced this pull request Jan 15, 2026
Signed-off-by: Tejaswini Chadaga <tchadaga@microsoft.com>
wni0812 pushed a commit to wni0812/SAI that referenced this pull request Jul 21, 2026
Signed-off-by: Tejaswini Chadaga <tchadaga@microsoft.com>
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.

4 participants