Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 1.8k
ci: fix yaml (again)#7107
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
Uh oh!
There was an error while loading. Please reload this page.
ci: fix yaml (again) #7107
Changes from all commits
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| name: Clear all GHA caches | ||
| on: | ||
| workflow_dispatch: | ||
| jobs: | ||
| clear-caches: | ||
| name: Delete all caches | ||
| runs-on: ubuntu-20.04 | ||
| steps: | ||
| - name: Clear caches | ||
| uses: easimon/wipe-cache@v2 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| { | ||
| "private": true, | ||
| "scripts": { | ||
| "build": "node ./scripts/verify-packages-versions.js && lerna run build:types,build:transpile,build:bundle", | ||
| "build": "node ./scripts/verify-packages-versions.js && run-s build:typesbuild:transpilebuild:bundle", | ||
MemberAuthor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. cc @JamesHenry I reverted this here, as it seems that we sometimes ended up with an inconsistent state because of this (??) TBH we are not quite sure what is going on, but in multiple tests in weird ways, e.g. https://github.com/getsentry/sentry-javascript/actions/runs/4132316633/jobs/7140902414 I am not really sure that this is the actual problem, but it's my best guess so far that some internal race condition or whatever leads to something being overwritten or not properly build... Will investigate some more! Contributor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sorry about that @mydea - I'll take a look. FYI I invited you on Slack Connect, sent to your sentry email, so you can also reach me there Contributor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @mydea At a quick glance it looks like tests depend on builds having run already, at the very least We can naturally extend our existing task pipelines to let the lerna task runner handle coordinating this for us. I'll put up a PR
| ||
| "build:bundle": "lerna run build:bundle", | ||
| "build:dev": "lerna run build:types,build:transpile", | ||
| "build:dev:filter": "lerna run build:dev --include-filtered-dependencies --include-filtered-dependents --scope", | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -21,7 +21,7 @@ | ||
| "clean": "yarn rimraf sentry-ember-*.tgz dist tmp build .node_modules.ember-try package.json.ember-try", | ||
| "lint": "run-p lint:js lint:hbs lint:ts", | ||
| "lint:hbs": "ember-template-lint .", | ||
| "lint:js": "eslint . --cache --cache-location '../../eslintcache/'", | ||
Contributor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is this intentional? MemberAuthor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, we removed all of these in a previous PR, just forgot about this. (Stuff I find when trying to debug stuff locally) | ||
| "lint:js": "eslint .", | ||
| "lint:ts": "tsc", | ||
| "start": "ember serve", | ||
| "test": "ember test", | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually I don't think we need this, when we hit the cache this step will be more or less instantenous anyhow. May help here or there with an inconsistency.