app icon indicating copy to clipboard operation
app copied to clipboard

DCO Expected — Waiting for status to be reported

Open vasukulkarni opened this issue 3 years ago • 28 comments

Is there an issue with DCO bot? It seems to be stuck forever in our PR checks?

vasukulkarni avatar Jul 19 '21 17:07 vasukulkarni

Example PR: https://github.com/red-hat-storage/ocs-ci/pull/4578

vasukulkarni avatar Jul 19 '21 17:07 vasukulkarni

We were experiencing similar issues in the fluxcd organisation, e.g. https://github.com/fluxcd/website/pull/580 - we just had to disable the check.

dholbach avatar Oct 12 '21 08:10 dholbach

Same issue for the keptn organization (e.g. keptn/keptn#5612)

mowies avatar Oct 12 '21 10:10 mowies

Same issue for the cortexproject/cortex (e.g. https://github.com/cortexproject/cortex/pull/4525). Does anyone know how to fix it (we would like to keep it enabled)?

pracucci avatar Oct 12 '21 11:10 pracucci

Pinging @hiimbex @gr2m @lptr as top contributors in this repo... do you know who can help us?

dholbach avatar Oct 12 '21 11:10 dholbach

We are also encountering this problem at kumahq/kuma

bartsmykla avatar Oct 12 '21 12:10 bartsmykla

We are encountering the same problems with https://github.com/com-pas/compas-cim-mapping/

Flurb avatar Oct 12 '21 13:10 Flurb

I'm afraid nobody is maintaining DCO for a while now. I've been asking for someone else to step up and take on ownership/maintainership. It looks like GitHub is shutting off servers for probot apps now.

I'd recommend you deploy your own instances until a new maintainer is found.

gr2m avatar Oct 12 '21 16:10 gr2m

I think servers got turned back on, but only for another grace period of 4 weeks.

If nobody steps up and offers to take on ownership this app and repository will be shut down for good then.

gr2m avatar Oct 12 '21 16:10 gr2m

@gr2m Do we need to rerun the existing pipelines or this will pick all the pending jobs?

rajat-dlt avatar Oct 12 '21 16:10 rajat-dlt

@gr2m are you able to clarify, are servers being shut off for probot apps in general, or just for apps that don't currently have maintainers?

brianwarner avatar Oct 12 '21 16:10 brianwarner

@gr2m, What is the process to take over the ownership? My company, i am working at, can do this, if its okay? We use the DCO too in our OSS projects.

dirien avatar Oct 12 '21 17:10 dirien

@gr2m are you able to clarify, are servers being shut off for probot apps in general, or just for apps that don't currently have maintainers?

In general.

The only app in the @probot org that has a maintainer is the settings app. We will move https://github.com/probot/settings/ out of the @probot org and deploy it to servers not owned by GitHub.

@gr2m, What is the process to take over the ownership? My company, i am working at, can do this, if its okay? We use the DCO too in our OSS projects.

I don't think there is a process, so we can make it up as we go. I'll try to have someone from GitHub reach out, thank you for offering!

gr2m avatar Oct 12 '21 17:10 gr2m

Ok @gr2m, please let me know. You can reach out via Github or Twitter to me. Or we can quickly make a zoom/slack/teams call if you want.

dirien avatar Oct 12 '21 17:10 dirien

Hi, @gr2m , I work for The Linux Foundation and we would be very interested in helping with ownership/maintenance

ryjones avatar Oct 12 '21 17:10 ryjones

Because several people asked me, here is what I would suggest we do for the transition:

  1. Create an announcement discussion or pinned issue to announce the transition of ownership of the app
  2. Link to the discussion/issue from the top of the app repository's README
  3. Add a new permission to the app, any permission will do. This will trigger a notification to all installations. Requesting a new permission can include a short message in which I'd link to above issue/discussion

If you want to (or have to) enforce that someone reads and accepts the change of ownership, we could add a check to the app that makes sure that only installations that have the new permission continue to work.

Maybe there is a better process, I'd be curious if there is some kind of precedent. But that's what I'd do given what is possible today.

gr2m avatar Oct 12 '21 20:10 gr2m

@karasowles will get a call set up with @ryjones and @rginn to figure this out and then we can document the plan in this repo.

martinwoodward avatar Oct 12 '21 21:10 martinwoodward

I am very disheartened to see GitHub abandon running these apps, especially so suddenly and without any warning. I think that was a horribly unfair move @github. I don't have interest in continuing to maintain this project longterm, but I will step in to help if needed to transfer app/repo ownership.

@gr2m proposal is a great one (transferring the app to a new owner). One alternative I'll throw out there would be to just start fresh with a new app. By that I mean have the Linux Foundation move this repo somewhere they own, and create and host a new app. This would mean the following

  1. Someone would need to create a new App (new App ID, private key, etc.) - it would need to be named slightly differently
  2. Host it somewhere
  3. Everyone currently using would need to install the app again
  4. Everyone uninstalls the old app

This way there is no code change/check required to ensure folks are consenting to the new owners, and that way the folks running the app can directly manage it and utilize things like error logs to make improvements. Maybe re-installing the app everywhere is too much work, but considering org level installs, it's possible it might be simpler.

For everyone's reference if creating a new App is something you all might consider, here's the current config for the app:

Screen Shot 2021-10-12 at 5 37 06 PM Screen Shot 2021-10-12 at 5 36 53 PM Screen Shot 2021-10-12 at 5 36 46 PM Screen Shot 2021-10-12 at 5 36 40 PM

Maybe re-installing the app everywhere is too much work, but considering org level installs, it's possible it might be simpler.

hiimbex avatar Oct 13 '21 00:10 hiimbex

We are also facing this issue for our project.

shailesh-vaidya avatar Oct 13 '21 11:10 shailesh-vaidya

Hi, audiences in this thread,

I'm facing this issue yesterday and write an "action" with the inspiration of this project. You can check it out:

I hope with GitHub hosted runner we don't meet this maintenance issue any longer.

Of course, you can deploy your own DCO App instance. Here is just one more alternative. I search on the marketplace but no existing actions work as well as DCO App, either too complex or depending on other things.

tisonkun avatar Oct 14 '21 04:10 tisonkun

Under the Keptn github organization I also created a DCO check pipeline that can be directly used through this GH feature

Link to the pipeline: https://github.com/keptn/gh-automation/blob/main/.github/workflows/dco.yml

An example usage of this pipeline:

name: DCO
on:
  pull_request:
  push:
    branches:
      - "master"
jobs:
  check:
    uses: keptn/gh-automation/.github/workflows/dco.yml@v1
GitHub
This repo is the single source of truth for pipelines that are shared across Keptn repos - gh-automation/dco.yml at main · keptn/gh-automation

mowies avatar Oct 14 '21 11:10 mowies

@mowies I found dco-check also and it's great to solve the problem. I just notice that it write thousands lines of code with multiple config options which probot/dco impl doesn't have and thus I write my own in about 100 lines.

There is more than one way to do it :)

tisonkun avatar Oct 14 '21 13:10 tisonkun

@karasowles will get a call set up with @ryjones and @rginn to figure this out and then we can document the plan in this repo.

Hi @martinwoodward @ryjones just checking in. Did you guys meet? Do you have any updates? LMK if I can help.

mynameistechno avatar Oct 26 '21 15:10 mynameistechno

Hi @mynameistechno - we had a very productive chat last week, and are confident about where we're headed, but we need to work a few more details out before we have an actual update. Sorry about the delay here, we want to get it right this time around. The app is back online and we're sorting out what happened on our side for it to go offline.

karasowles avatar Oct 26 '21 16:10 karasowles

@mynameistechno I had a talk last week with @ashleywolf - things are moving

ryjones avatar Oct 26 '21 16:10 ryjones

At OpenSTEF we experienced the same problem, disabled the DCO check (for now).

FrankKr avatar Nov 19 '21 07:11 FrankKr

can you share the exact pull request where the problem occurred? I was not able to reproduce a problem in my test repository: https://github.com/gr2m/sandbox/pull/218

gr2m avatar Nov 19 '21 17:11 gr2m

Hi, it appears that this issue has re-appeared for checks on May 6th between the hours of 10:00 -16:00 GMT. Multiple repos and orgs have stalled checks in their PRs during this time, but new PRs made after this time period successfully run.

amzn-changml avatar May 06 '22 17:05 amzn-changml