Skip to content

[plugins/renovate-backend]: Component Detail Tab Empty Despite Successful Renovate Execution & PR Creation #930

Description

@chaehyun-lee-otsk

Environment
Plugin:
"@secustor/backstage-plugin-renovate-backend": "^0.17.0",
"@secustor/backstage-plugin-renovate-backend-module-queue-local": "^0.4.7",
"@secustor/backstage-plugin-renovate-backend-module-runtime-direct": "^2.2.0",

Backstage Core: Based on @backstage/backend-defaults and createBackend() (New Backend System)

backend.add(import('@secustor/backstage-plugin-renovate-backend-module-queue-local'));
backend.add(import('@secustor/backstage-plugin-renovate-backend-module-runtime-direct'));
backend.add(import('@secustor/backstage-plugin-renovate-backend'));

OS/Deployment: Kubernetes

Database: PostgreSQL

Renovate configuration in app-config

# Renovate Configuration
renovate:
  enabled: true

  schedules:
    renovation:
      enabled: true
      frequency: 
        hours: 24
      timeout: 
        hours: 1
  queue:
    type: local-fastq
  runtime:
    type: direct
  github:
    host: github.com
    token: ${GITHUB_PAT_SUB}
  config:
    hostRules:
      - hostType: npm
        matchHost: npm.pkg.github.com
        token: ${NPM_TOKEN} 

Symptom
When running Renovate manually (Scan this entity) or via the scheduler, the Renovate job successfully runs, creates Pull Requests (PRs) on GitHub for new updates (e.g., Docker image updates), and updates the Dependency Dashboard Issue.

However, the Component Detail Renovate tab (/catalog/default/component/xxx/renovate) perpetually shows "No records to display". The backend service seems to skip the database persistence step entirely.

Image Image Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions