Skip to content
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

Fix API spec build errors #5050

Closed

Conversation

mehmetoguzderin
Copy link
Member

This PR aims to fix the remaining errors in the API spec. The |var| style for arguments causes Bikeshed to complaint, so instead the initial defintions are plain var, and the once used variables are added to ignore at the top rather than going <var> path. If there's any way to make the changes better for long-term maintenance, I'd be glad for your review(s). In case this PR fixes the build issue, it might be good to re-enforce the branch protections to be strict.

@mehmetoguzderin mehmetoguzderin added the copyediting Pure editorial stuff (copyediting, *.bs file syntax, etc.) label Jan 24, 2025
@mehmetoguzderin
Copy link
Member Author

Seems like the changes made this PR's CI run go green w/o issues. Thank you in advance.

Copy link
Contributor

Previews, as seen when this build job started (e65aae5):
WebGPU webgpu.idl | Explainer | Correspondence Reference
WGSL grammar.js | wgsl.lalr.txt

@mehmetoguzderin
Copy link
Member Author

Oops, just noticed that this loses highlight to the original argument itself since resulting HTML does not have the <var>. (just saw the Bikeshed repo issue)

@kainino0x
Copy link
Contributor

kainino0x commented Jan 24, 2025

I disabled requiring the API spec to build, to unblock PRs. However I just had another idea, maybe we should re-enable pinning bikeshed to a particular release for build-validate-publish, then we can still require that to pass even though publish-TR-webgpu won't pass.

EDIT: see #5051

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
copyediting Pure editorial stuff (copyediting, *.bs file syntax, etc.)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants