Integrate uppy io#6330
Conversation
|
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
Warning Review the following alerts detected in dependencies. According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.
|
|
@copilot why are github actions (e.g. ci tests) not being run? |
Looking at the CI workflow configuration and the PR's changed files: The paths-ignore:
- '**.md'
- '.github/**'
- '!.github/workflows/ci.yml'This PR changes 484 files. Of those, the vast majority are either:
The That said, the PR also changes several files that are not covered by In short, based on the workflow configuration the CI should be triggering. This appears to be a GitHub Actions processing issue, likely related to the unusually large diff size (484 files, 50k+ additions including many static assets). You may want to try pushing an empty commit to re-trigger the On a related note: the PR description already has a TODO to "Review each workflow to ensure env secrets and permissions are set for the monorepo" — once CI does trigger, the new |
There was a problem hiding this comment.
I would like to test this locally but for some reason I can't check this branch out locally on my machine it keeps erroring out, but apart from couple of my review comments. I would like to stress on the point which you already made in the PR description which is to move static files out of the repo , I think we should do this before merging this PR to main because once this PR gets merged into main those static files would become part of the git history and every clone would pull those static files.
| - name: Build website | ||
| run: corepack yarn workspace uppy-io build |
There was a problem hiding this comment.
"Build website" step was added to the unit_tests job ? every CI run will now run a full docusaurus build which deploy-web.yml does already ?
There was a problem hiding this comment.
I thought to add it to CI to make sure that it successfully builds, to catch any obvious errors like syntax errors or broken imports (e.g. in PRs because the deploy job does not run in PRs)
| on: | ||
| workflow_dispatch: | ||
| push: | ||
| branches: | ||
| - main | ||
| # Review gh actions docs if you want to further define triggers, paths, etc | ||
| # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on | ||
|
|
||
| env: | ||
| NODE_VERSION: lts/* | ||
|
|
||
| permissions: | ||
| contents: read | ||
| id-token: write | ||
| pages: write | ||
|
|
||
| concurrency: | ||
| group: github-pages | ||
| cancel-in-progress: false | ||
|
|
||
| jobs: |
There was a problem hiding this comment.
shouldn't we have a path filter here ? so that it only runs with changes to packages/uppy.io/** and not on every push to main ?
There was a problem hiding this comment.
I thought about it, but uppy.io depends on @uppy/react, which again depends on
"@uppy/core": "workspace:^",
"@uppy/dashboard": "workspace:^",
"@uppy/screen-capture": "workspace:^",
"@uppy/status-bar": "workspace:^",
"@uppy/webcam": "workspace:^",
and at this point, maybe we should just build it all the time?
/packages/uppy.ioused to live in its own git repository but I am here moving it into the uppy monorepo workspace.NOTE: This is best reviewed commit by commit.
TODO (future?)