GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — test: add some `@ts-ignore`s to make tests run again by gr2m · Pull Request #1855 · probot/probot

Conversation

@gr2m

@gr2m gr2m commented Sep 18, 2023

Copy link
Copy Markdown
Contributor

trying to make tests work again

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@gr2m
test: add some @ts-ignores to make tests run again
a2b71f1
@gr2m

gr2m commented Sep 18, 2023

Copy link
Copy Markdown
Contributor Author

something is not working correctly with test/helpers/capture-log-output.ts, capturing logs no longer seems to be working. I f there is no easy fix, I'd probably disable the tests for now to get the rest working, and then get back to it later. There is probably a better way to capturing logs today

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@AaronDewes

AaronDewes commented Sep 19, 2023

Copy link
Copy Markdown
Member

something is not working correctly with test/helpers/capture-log-output.ts, capturing logs no longer seems to be working. I f there is no easy fix, I'd probably disable the tests for now to get the rest working, and then get back to it later. There is probably a better way to capturing logs today

I have a fix of this (I'm working on a modernized Probot with latest deps in a separate repo for testing purposes), I'll create a PR for this later.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@gr2m

gr2m commented Sep 19, 2023

Copy link
Copy Markdown
Contributor Author

thanks a lot @AaronDewes, much appreciated!!!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@gr2m

gr2m commented Sep 19, 2023

Copy link
Copy Markdown
Contributor Author

fyi @AaronDewes we can expect some new activity in @probot :) Several Hubbers expressed interest to help revive the project 🎉 I can't help much with code myself right now unfortunately, but I'll do the best I can to help facilitate contributions

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@AaronDewes

AaronDewes commented Sep 19, 2023 •
edited by unfurl-links Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

fyi @AaronDewes we can expect some new activity in @probot :) Several Hubbers expressed interest to help revive the project 🎉 I can't help much with code myself right now unfortunately, but I'll do the best I can to help facilitate contributions

Great! I've been experimenting with updating various parts at https://github.com/probot-ng/probot-ng and will try to gradually port commits here. Tests aren't passing yet because of issues with Nock, but it's making progress and I hope to have a first preview of that fork soon, and then will try to get these changes merged here. My fork is not intended to replace Probot, but rather as a playground for myself to experiment with new ideas for Probot.

It would be exciting to see Probot getting more attention again

GitHub
GitHub - Probot-NG/probot-ng: A next-gen Probot fork.
A next-gen Probot fork. Contribute to Probot-NG/probot-ng development by creating an account on GitHub.
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@gr2m

gr2m commented Sep 19, 2023

Copy link
Copy Markdown
Contributor Author

Tests aren't passing yet because of issues with Nock

This is most likely due to nock/nock#2397 (comment). A quick workaround is to set the --no-experiemental-fetch flag: nock/nock#2397 (comment)

I'd suggest we do that first to get the tests passing. But in future, as we can rely on the native fetch to be present I suggest we use undici's mocking recommendations as documented here: actions/create-github-app-token#32, you can see how we used it here: actions/create-github-app-token#33

AaronDewes reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@gr2m gr2m mentioned this pull request Sep 29, 2023
make probot work with latest octokit deps #1864
Merged
@gr2m

gr2m commented Sep 29, 2023

Copy link
Copy Markdown
Contributor Author

@AaronDewes there is yet another pull request by @Uzlopak working on making tests pass again, we should all join forces 😁 #1864

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Uzlopak

Uzlopak commented Sep 29, 2023

Copy link
Copy Markdown
Collaborator

I think my PR is now mature enough. The tests are green now. Needed to disable 1-2 tests.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@gr2m

gr2m commented Oct 2, 2023

Copy link
Copy Markdown
Contributor Author

It would be great if we could get the tests passing first, before introducing breaking changes. But if that's too much work I'm okay with moving forward with your pr

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions

github-actions Bot commented Oct 29, 2023

Copy link
Copy Markdown

🎉 This issue has been resolved in version 13.0.0-beta.1 🎉

The release is available on:

  • GitHub release
  • npm package (@beta dist-tag)

Your semantic-release bot 📦🚀

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions github-actions Bot added the released on @beta label Oct 29, 2023
@wolfy1339 wolfy1339 mentioned this pull request Nov 16, 2023
test: fix failing tests #1917
Merged
@Uzlopak

Uzlopak commented Jan 25, 2024

Copy link
Copy Markdown
Collaborator

:)

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Uzlopak Uzlopak closed this Jan 25, 2024
@Uzlopak
Uzlopak deleted the make-tests-work-again branch January 25, 2024 21:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

released on @beta

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@gr2m @AaronDewes @Uzlopak
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.