Skip to content
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

Split up [github] testers #2560

Merged
merged 3 commits into from
Dec 19, 2018
Merged

Split up [github] testers #2560

merged 3 commits into from
Dec 19, 2018

Conversation

paulmelnikow
Copy link
Member

@paulmelnikow paulmelnikow commented Dec 19, 2018

  • Update github contributors badge for create-service-tester.

Conflicts nominally with #2470. Let's merge that ASAP and this right afterward so as to unblock the rest of #2320.

@paulmelnikow paulmelnikow added service-badge New or updated service badge blocker PRs and epics which block other work labels Dec 19, 2018
@shields-ci
Copy link

shields-ci commented Dec 19, 2018

Messages
📖 ✨ Thanks for your contribution to Shields, @paulmelnikow!

Generated by 🚫 dangerJS against 535eb64

@paulmelnikow paulmelnikow temporarily deployed to shields-staging-pr-2560 December 19, 2018 18:33 Inactive
@@ -42,7 +42,6 @@ module.exports = class GithubContributors extends LegacyService {
message: '397',
color: 'blue',
},
keywords: ['GitHub', 'contributor'],
Copy link
Member

@calebcartwright calebcartwright Dec 19, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

More of a question as I'm not familiar with search, but does it do partial word matches? I.e. will contributor still be matched in search since the title contains contributors?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yea. I think it matches on leading substrings:

screen shot 2018-12-19 at 4 51 45 pm

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

const t = (module.exports = require('../create-service-tester')())

t.create('hit counter')
.get('/torvalds/linux/goto.json')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't related to the refactored tests in this PR but the GH Search hit counter badge isn't rendering for me in the staging deploy env. You mentioned in #1358 (comment) that perhaps it is just that particular repo that is slow, so would it be worth using a different repo for this test?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yea, I think it would. Perhaps we should also update the example, which is what renders in the staging deploy.

One of the open issues PRs also tends to time out. I think it's the undefined label test. We could try it on a smaller repo or give it a longer timeout.

I try to avoid changing things while they're being moved because it's hard to compare what's changed, so let's handle this in a follow-on.

Copy link
Member

@calebcartwright calebcartwright left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome! the tests are a lot easier to find now

@paulmelnikow paulmelnikow merged commit 4e5e3c8 into master Dec 19, 2018
@shields-deployment
Copy link

This pull request was merged to master branch. This change is now waiting for deployment, which will usually happen within a few days. Stay tuned by joining our #ops channel on Discord!

After deployment, changes are copied to gh-pages branch:

@paulmelnikow paulmelnikow deleted the github-tester branch December 19, 2018 22:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocker PRs and epics which block other work service-badge New or updated service badge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants