Skip to content

Conversation

@saurabhjain1592
Copy link
Member

Summary

  • Add portal_url config and loginToPortal/logoutFromPortal methods
  • Add field_validator for null array handling in ListPRsResponse and ExportResponse
  • Add export_code_governance_data_csv method for CSV exports
  • Change Code Governance methods to use _portal_request instead of _request
  • Add _portal_request and _portal_request_text helpers for session-based auth

Test plan

  • All Code Governance examples pass with docker-compose
  • GitHub token validation shows Valid: true
  • Null array handling works when API returns null for empty lists

…nance

- Add portal_url config and loginToPortal/logoutFromPortal methods
- Add field_validator for null array handling in ListPRsResponse and ExportResponse
- Add export_code_governance_data_csv method for CSV exports
- Change Code Governance methods to use _portal_request instead of _request
- Add _portal_request and _portal_request_text helpers for session-based auth
- Fix test_get_portal_url_* to access _get_portal_url() directly on client
- Add tenant_id to mock response for test_get_code_governance_metrics
@saurabhjain1592 saurabhjain1592 merged commit f56c8c1 into main Jan 4, 2026
13 checks passed
@saurabhjain1592 saurabhjain1592 deleted the fix/endpoint-bugs-849 branch January 11, 2026 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants