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

🐛 Bug Report: Event based GitHub Discovery is not working in latest version of backstage #24734

Open
2 tasks done
jiyo86 opened this issue May 13, 2024 · 2 comments
Open
2 tasks done
Labels
area:events Related to the Events Project Area bug Something isn't working

Comments

@jiyo86
Copy link

jiyo86 commented May 13, 2024

📜 Description

In backstage backend new approach & legacy this.events.publish() is not updating or creating entity in Backstage catalog. Currently github provider is only updating the info in database and that create the rate limit error. As per the documentation we can enable GITHUB Webhooks and backstage events based on events-backend-module-github we can achieve the catalog entity creation & updation but in V 26.0 it is not working as expected

👍 Expected behavior

New entity should be created in catalog listing using github webhooks using events-backend-module-github, by this endpoint /api/events/http/github

👎 Actual Behavior with Screenshots

NA

👟 Reproduction steps

configure /api/events/http/github in github wekhooks for push event and configure events-backend-module-github, and other dependency using https://backstage.io/docs/integrations/github/discovery/ create new push to main branch in githuib to trigger the webhooks.

📃 Provide the context for the Bug.

No response

🖥️ Your Environment

No response

👀 Have you spent some time to check if this bug has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

Are you willing to submit PR?

None

@jiyo86 jiyo86 added the bug Something isn't working label May 13, 2024
@vinzscam
Copy link
Member

have you also specified

events:
  http:
    topics:
      - github

in your app-config? 🤔
BTW there are a bunch of related fixes coming out tomorrow with 1.27, could you also try with 1.27 once is out?

@jiyo86
Copy link
Author

jiyo86 commented May 13, 2024

I have added below code in my app-config. I will upgrade the version tomorrow and check again
events:
http:
topics:
- github

@pjungermann pjungermann added the area:events Related to the Events Project Area label May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:events Related to the Events Project Area bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants