Skip to content

[Bug]: Api extractor output does not match ci #28084

Closed
@sopranopillow

Description

@sopranopillow

Library

React Components / v9 (@fluentui/react-components)

System Info

System:
    OS: Linux 5.15 Ubuntu 20.04 LTS (Focal Fossa)
    CPU: (20) x64 Intel(R) Core(TM) i9-10900K CPU @ 3.70GHz
    Memory: 51.01 GB / 62.66 GB
    Container: Yes
    Shell: 5.8 - /usr/bin/zsh
  Browsers:
    Chrome: 113.0.5672.126
    Firefox: 104.0

Are you reporting Accessibility issue?

no

Reproduction

Cloning the repo and running yarn buildci gives a bunch of api changes.

Bug Description

Actual Behavior

Getting many api changes:
image

After talking to @TristanWatanabe, he mentioned this is due to a recent PR #27936 that bumps api-extractor. This bump included this change:

image

therefore our current way of dealing with path aliases is not working correctly:

image

From this, we get a removal of the following due to the api extractor not giving the same output as ci (also the local output is wrong)

image

Expected Behavior

CI and local api extractor should provide the same output.

Logs

No response

Requested priority

High

Products/sites affected

No response

Are you willing to submit a PR to fix?

yes

Validations

  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • The provided reproduction is a minimal reproducible example of the bug.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions