Skip to content
This repository was archived by the owner on Nov 3, 2026. It is now read-only.

feat: add validation that ratings didn't change - #196

Merged
crisbeto merged 3 commits into
angular:mainfrom
crisbeto:rating-hash
Dec 4, 2025
Merged

crisbeto merged 3 commits into
angular:mainfrom
crisbeto:rating-hash

Conversation

@crisbeto

@crisbeto crisbeto commented Dec 4, 2025 •

Copy link
Copy Markdown
Member

Adds a ratingHash on the environment that is generated from the current set of ratings. In addition, includes an expectedRatingHash field on the environment config which can be used to verify that an environment has a specific hash before it is executed. This is useful to ensure that the ratings stay stable between runs and web-codegen-scorer releases.

@crisbeto crisbeto changed the title feat: add hash for configured ratings feat: add validation that ratings didn't change Dec 4, 2025

@devversion devversion left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thank you

Comment thread runner/configuration/environment.ts Resolved
Adds a `ratingHash` on the environment that is generated from the current set of ratings. In addition, includes an `expectedRatingHash` field on the environment config which can be used to verify that an environment has a specific hash before it is executed. This is useful to ensure that the ratings stay stable between runs and `web-codegen-scorer` releases.
Formats the release scripts to match the rest of the repo. Also sets `stable` as the first selection in the release script.
@crisbeto
crisbeto merged commit 46287b4 into angular:main Dec 4, 2025
3 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants