Skip to content

fix: remove keychain from credential type picker grid#4452

Merged
midigofrank merged 3 commits intomainfrom
fix/keychain-credential-type-crash
Feb 25, 2026
Merged

fix: remove keychain from credential type picker grid#4452
midigofrank merged 3 commits intomainfrom
fix/keychain-credential-type-crash

Conversation

@elias-ba
Copy link
Copy Markdown
Contributor

@elias-ba elias-ba commented Feb 23, 2026

Description

Removes the Keychain option from get_type_options so it no longer appears in the credential type picker grid. To keep it available in the workflow canvas advanced picker, it's conditionally added back to type_options when from_collab_editor is true.

Closes #4453

Validation steps

  1. Go to the user credentials page → click "Add credential" → confirm "Keychain" does not appear in the type picker
  2. Go to project settings → credentials → click "Add credential" → confirm "Keychain" does not appear in the type picker
  3. Go to the workflow canvas → open a job's credential picker → click "Advanced" → confirm "Keychain" does appear and works correctly

Additional notes for the reviewer

AI Usage

  • I have used Claude Code
  • I have used another model
  • I have not used AI

Pre-submission checklist

  • I have performed an AI review of my code (we recommend using /review
    with Claude Code)
  • I have implemented and tested all related authorization policies.
    (e.g., :owner, :admin, :editor, :viewer)
  • I have updated the changelog.
  • I have ticked a box in "AI usage" in this PR

@github-project-automation github-project-automation Bot moved this to New Issues in Core Feb 23, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented Feb 24, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.42%. Comparing base (1ee2480) to head (90954f9).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4452      +/-   ##
==========================================
- Coverage   89.45%   89.42%   -0.03%     
==========================================
  Files         425      425              
  Lines       20210    20212       +2     
==========================================
- Hits        18078    18074       -4     
- Misses       2132     2138       +6     

☔ 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.

@elias-ba elias-ba force-pushed the fix/keychain-credential-type-crash branch 2 times, most recently from 9b57c38 to 33481c1 Compare February 24, 2026 10:19
@elias-ba elias-ba changed the title fix: hide keychain credential type outside workflow canvas fix: remove keychain from credential type picker grid Feb 24, 2026
@elias-ba
Copy link
Copy Markdown
Contributor Author

Don't merge yet. Let me add a regression test.

@elias-ba
Copy link
Copy Markdown
Contributor Author

Can be merged now. Test is added. Thanks @taylordowns2000 for the review

Keychain credentials are only relevant in the workflow canvas context.
Selecting the keychain type from the project or user credentials pages
caused a crash because no keychain.json schema file exists.

Move the keychain option out of get_type_options (shown on all credential
picker pages) and conditionally include it only when from_collab_editor
is true, so it remains available in the canvas advanced picker.
@elias-ba elias-ba force-pushed the fix/keychain-credential-type-crash branch from 8d0b54a to 90954f9 Compare February 24, 2026 22:22
@midigofrank midigofrank merged commit 6f74fa7 into main Feb 25, 2026
6 of 7 checks passed
@midigofrank midigofrank deleted the fix/keychain-credential-type-crash branch February 25, 2026 10:27
@github-project-automation github-project-automation Bot moved this from New Issues to Done in Core Feb 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Keychain incorrectly appears in credential type picker grid

4 participants