-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Repo: Failure on main: Run Unit Tests with Experimental TSServer (eslint-plugin) #8131
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
Comments
I don't have much time today (it's Christmas!), but taking a brief look between activities... The first one,
The other two are from |
@JoshuaKGoldberg if map isn't defined then perhaps the lib isn't defined? |
I reverted this removal of the early return, and now all failed tests pass on my machine: https://github.com/typescript-eslint/typescript-eslint/pull/7752/files#diff-b089b5bc90fd2a532136946c025806e6daa02b7deda1f704829d736dfdb4b3c8L18-L19 Ref: #7752 (review) |
Oy vey: #8136. Proposal: to stop failures on
IMO having |
Setting up GitHub Actions to put failures to Discord is pretty easy, I do it like this: # To enable CI failure notifications over Discord:
# - Right click on a channel in Discord and select "Edit Channel".
# - Click on "Integrations" on the left menu.
# - Click on the "Create Webhook" button.
# - Click on the box for the new webhook that was created.
# - Change the name to "GitHub".
# - Change the image to: https://github.com/IsaacScript/isaacscript/raw/main/misc/github.png
# - Click on the "Save Changes" button at the bottom.
# - Click on the "Copy Webhook URL" button.
# - Go to the main page for your repository on GitHub.
# - Click on the "Settings" tab near the top.
# - Click on "Secrets and variables" in the left menu.
# - Click on "Actions" from the dropdown list.
# - Click on the "New repository secret" button in the top right.
# - For the "Name" box, use "DISCORD_WEBHOOK" (without the quotes).
# - For the "Secret" box, paste in the URL that was copied in the "Copy Webhook URL" step. (The
# pasted URL should not have a "/github" suffix.)
# - Click on the "Add secret" button.
discord:
name: Discord Failure Notification
needs: [foo1, foo2, foo3, foo4, foo5]
if: always() # This is needed to always run this job, even if the other jobs fail.
runs-on: ubuntu-latest
steps:
- uses: technote-space/workflow-conclusion-action@v3
- if: env.WORKFLOW_CONCLUSION != 'success' && env.WORKFLOW_CONCLUSION != 'cancelled'
uses: sarisia/actions-status-discord@v1
with:
webhook: ${{ secrets.DISCORD_WEBHOOK }}
status: ${{ env.WORKFLOW_CONCLUSION }}
title: "" |
Uh oh!
There was an error while loading. Please reload this page.
Suggestion
It started after merging #7752. https://github.com/typescript-eslint/typescript-eslint/actions/runs/7317242945/job/19932592486:
I honestly thought this was some kind of weird merge conflict. Seemed odd to me that the change would cause it. Sigh.
The text was updated successfully, but these errors were encountered: