Skip to content

fix(repos): disable response cache on install-status endpoint#211

Open
luciferlive112116 wants to merge 1 commit into
entrius:testfrom
luciferlive112116:fix/repos-installation-no-cache
Open

fix(repos): disable response cache on install-status endpoint#211
luciferlive112116 wants to merge 1 commit into
entrius:testfrom
luciferlive112116:fix/repos-installation-no-cache

Conversation

@luciferlive112116

Copy link
Copy Markdown

Summary

  • Add @NoCache() to GET /api/v1/repos/:owner/:repo/installation so install status reflects webhook updates immediately instead of serving a stale 60s cached installed: false.

Motivation

Fixes #208. After the GitHub App install webhook sets repos.installation_id, the registration UI can still see installed: false until the global production cache expires. Health and PR file endpoints already opt out via @NoCache().

Test plan

  • npm run build, lint, format:check, test in packages/das
  • Manual: install app on a repo, poll install-status endpoint — should flip to installed: true without waiting 60s

Fixes entrius#208

Co-authored-by: Cursor <cursoragent@cursor.com>
@xiao-xiao-mao xiao-xiao-mao Bot added the bug Something isn't working label Jul 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[bug] GET /repos/:owner/:repo/installation returns stale installed=false for 60s after install webhook

1 participant