You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My suspicion is that some stale types for the wrong version of @floating-ui/react-dom package was being used in caches.
Sounds right, we had problems with that dependency during the whole 6.3 release cycle. #46845 fixes it but I'm not sure if it would be safe to include in the 6.3 branch.
@tellthemachines, do you remember why you had to re-try the npm publishing job for the 6.3 release branch? Maybe, that was an issue with CI, not building TypeScript types.
@gziolo I started the workflow for the 6.2 branch before 6.3 had finished, and then noticed the 6.3 job had stopped. So when 6.2 was finished, I restarted 6.3. I still don't know if the problem was with trying to run more than one job at a time or if something else went wrong.
I think in any case we should make the job fail if the packages aren't published.
Technically speaking if there were no changes in the branch then there is nothing to publish so when re-trying Lerna was correct. However, the challenge would be figuring out if we could instead of failing, add something that would be able to verify whether the versions of packages on GitHub match what’s on npm. Maybe it would be enough to run npx lerna publish from-package --dist-tag wp-6.3 to potentially resume publishing as it’s what I did locally on Tuesday.
Activity
sirreal commentedon Apr 9, 2024
Did this happen on CI or locally?
I was able to reproduce the issue, but as I debugged it resolved itself 😅 Clearing typescript caches may be sufficient to fix it.
My suspicion is that some stale types for the wrong version of
@floating-ui/react-dompackage was being used in caches.tellthemachines commentedon Apr 10, 2024
Sounds right, we had problems with that dependency during the whole 6.3 release cycle. #46845 fixes it but I'm not sure if it would be safe to include in the 6.3 branch.
gziolo commentedon Apr 11, 2024
@tellthemachines, do you remember why you had to re-try the npm publishing job for the 6.3 release branch? Maybe, that was an issue with CI, not building TypeScript types.
tellthemachines commentedon Apr 12, 2024
@gziolo I started the workflow for the 6.2 branch before 6.3 had finished, and then noticed the 6.3 job had stopped. So when 6.2 was finished, I restarted 6.3. I still don't know if the problem was with trying to run more than one job at a time or if something else went wrong.
I think in any case we should make the job fail if the packages aren't published.
gziolo commentedon Apr 14, 2024
Technically speaking if there were no changes in the branch then there is nothing to publish so when re-trying Lerna was correct. However, the challenge would be figuring out if we could instead of failing, add something that would be able to verify whether the versions of packages on GitHub match what’s on npm. Maybe it would be enough to run
npx lerna publish from-package --dist-tag wp-6.3to potentially resume publishing as it’s what I did locally on Tuesday.gziolo commentedon Jun 13, 2024
It doesn't seem to be an issue anymore when I try to build packages locally with the fresh repository.