Skip to content

Fix org lookup panic#6652

Merged
6543 merged 5 commits into
woodpecker-ci:mainfrom
qwerty287:fix-panic
May 27, 2026
Merged

Fix org lookup panic#6652
6543 merged 5 commits into
woodpecker-ci:mainfrom
qwerty287:fix-panic

Conversation

@qwerty287

Copy link
Copy Markdown
Contributor

Add a new org lookup func that returns an error if there's more than one org.

@qwerty287 qwerty287 requested a review from a team May 27, 2026 06:13
@qwerty287 qwerty287 added bug Something isn't working server labels May 27, 2026
@woodpecker-bot

woodpecker-bot commented May 27, 2026

Copy link
Copy Markdown
Contributor

Surge PR preview deployment was removed

@6543 6543 enabled auto-merge (squash) May 27, 2026 11:06
@6543 6543 merged commit 1fbacac into woodpecker-ci:main May 27, 2026
7 checks passed
@codecov

codecov Bot commented May 27, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 30 lines in your changes missing coverage. Please review.
✅ Project coverage is 42.17%. Comparing base (0fe5bc1) to head (241581b).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
server/api/org.go 0.00% 16 Missing ⚠️
server/store/datastore/org.go 0.00% 14 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6652      +/-   ##
==========================================
+ Coverage   42.15%   42.17%   +0.02%     
==========================================
  Files         433      433              
  Lines       28896    28920      +24     
==========================================
+ Hits        12182    12198      +16     
- Misses      15610    15621      +11     
+ Partials     1104     1101       -3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@woodpecker-bot woodpecker-bot mentioned this pull request May 26, 2026
1 task
@qwerty287 qwerty287 deleted the fix-panic branch May 27, 2026 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working server

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants