Skip to content

WebGPU bikeshed error: LINE ~6751: No 'dfn' refs found for 'serializable objects' that are marked for export. #3752

Closed

Description

@dneto0

The bulid-validate-publish flow is failing.
E.g. https://github.com/gpuweb/gpuweb/actions/runs/3943724824/jobs/6748888303

make: *** Waiting for unfinished jobs....
LINE ~6751: No 'dfn' refs found for 'serializable objects' that are marked for export.
[=serializable objects=]
✘ Did not generate, due to fatal errors
make[1]: *** [Makefile:10: index.pre.html] Error 2

I think the problem is in spec/index.bs:

$ grep -n "serializable ob" index.bs
6751:{{GPUPipelineError}} objects are [=serializable objects=].

Activity

  1. kainino0x commented on Jan 18, 2023

    @kainino0x
    Contributor

    Not sure what's going on here. Unlike the TR flow, this one uses a pinned version of Bikeshed, so there must have been a change in the bikeshed crossref database. Oddly, when I run this locally with that pinned version 3.7.0 I actually get a different error, but basically the same:

    LINE ~3012: No 'dfn' refs found for 'getter steps' that are marked for export.
    

    With latest (3.11.1), I get the error in the original report. Also it's still broken, so updating Bikeshed doesn't fix it.

    LINE ~6751: No 'dfn' refs found for 'serializable objects' that are marked for export.
    

    Also this seems to be the correct way to refer to this:
    https://github.com/whatwg/webidl/blob/872888179a985d88a9c6a26da07e1635a17fed08/index.bs#L14608
    So I'm still guessing this is a bikeshed database bug.

  2. kainino0x commented on Jan 18, 2023

    @kainino0x
    Contributor

    BTW to update the bikeshed database locally, bikeshed update. I'll try to remember to run this again tomorrow and see if it's fixed itself I guess.

  3. tidoust commented on Jan 18, 2023

    @tidoust
    Contributor

    Bikeshed switched from Shepherd to Webref for its cross-references database last week, see announcement on spec-prod mailing-list.

    I don't see any reason why this would make [=getter steps=] fail and cannot reproduce that locally.

    For [=serializable objects=], right now, that's by design: the HTML spec does not explicitly export the term. I suppose Shepherd used to consider that terms defined in headings were to be exported. Webref does not have that rule (and this had not been raised as an issue so far). I'll look into it: headings themselves can be cross-referenced, so it seems reasonable to export terms they define as well.

  4. kainino0x commented on Jan 18, 2023

    @kainino0x
    Contributor

    Thanks François!
    [=getter steps=] is probably not a problem, I only saw it with the older Bikeshed, and we can upgrade our pinned version.

    We can always link to the heading as a workaround. I considered this, but then looked and saw the WebIDL spec did it the same way, so didn't try.

  5. self-assigned this
    on Jan 18, 2023
  6. kainino0x commented on Jan 18, 2023

    @kainino0x
    Contributor

    Working on this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions