Skip to content

Meta: Update Yet Phrase Checking with ESMeta v0.7.3 - #3739

Merged
ljharb merged 1 commit into
tc39:mainfrom
jhnaldo:esmeta-yetcheck
Jan 22, 2026
Merged

Meta: Update Yet Phrase Checking with ESMeta v0.7.3#3739
ljharb merged 1 commit into
tc39:mainfrom
jhnaldo:esmeta-yetcheck

Conversation

@jhnaldo

@jhnaldo jhnaldo commented Jan 5, 2026

Copy link
Copy Markdown
Contributor

This PR updates the version of ESMeta to v0.7.3 and supports a more precise yet-phrase checking to resolve the problem mentioned in #3733.

Now, the yet-phrase checker detects diff pairs of removed and added lines in the spec.html file and filters out pairs whose removed lines already contain yet-phrases or yet-types. Then, it shows alert messages only for the yet-phrases or yet-types in the added lines of the remaining pairs.

For example, among 147 commits from dd4300d to 8febdac, the following 13 commits have at least one yet-phrase or yet-type alert:

# Commit Link Summary # of Yet-Phrase # of Yet-Type
1 de62e8d link link 3 0
2 ca045a0 link link 1 0
3 427ef8a link link 1 0
4 60c4df0 link link 0 1
5 9b6a4a4 link link 1 0
6 1439803 link link 5 0
7 0411357 link link 18 0
8 9815f3a link link 6 0
9 f6017b2 link link 3 0
10 858b1df link link 0 1
11 3dfa316 link link 11 1
12 ab6f2d5 link link 1 0
13 a51b9e9 link link 2 0

However, since only maximum 10 alerts are allowed to be shown in the Files changed tab, we also show a summary of the detected yet-phrases and yet-types in the Actions log ($GITHUB_STEP_SUMMARY).

For example, the commit 3dfa316 has 11 yet-phrase alerts and 10 yet-type alerts, but only 10 alerts are shown in the Files changed tab (see here). The full list of alerts is available in the summary of the Actions log (see here).

@michaelficarra michaelficarra 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.

This is really nice! Thank you!

@bakkot bakkot added the ready to merge Editors believe this PR needs no further reviews, and is ready to land. label Jan 12, 2026
@ljharb ljharb added the request preview ask the bot to trigger a PR preview label Jan 22, 2026
@github-actions github-actions Bot removed the request preview ask the bot to trigger a PR preview label Jan 22, 2026
@github-actions

Copy link
Copy Markdown

The rendered spec for this PR is available at https://tc39.es/ecma262/pr/3739.

@ljharb
ljharb merged commit f2d39e9 into tc39:main Jan 22, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

meta ready to merge Editors believe this PR needs no further reviews, and is ready to land.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants