Skip to content

sfe/test: Configure SFE to use a zendesk-test-srv #8354

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Aug 15, 2025

Conversation

beautifulentropy
Copy link
Member

@beautifulentropy beautifulentropy commented Aug 14, 2025

test/zendeskfake:
Address some optional comments from #8320.

sfe/zendesk:
Address some optional comments from #8320.

ratelimits/overriderequests:

  • Remove unused constants that are not yet necessary.
  • Remove Fundraising from tickets, we'll handle this value at submission time.
  • Comment the various Create*OverrideTicket functions.
  • Pass the correct rate limit for the ticket being created.

test/zendesk-test-srv:
Testing the user experience of the entire submission flow will require a non-nil zendeskClient in the SFE. Add a new test-only Zendesk server implementation that allows us to configure and use the Zendesk client in the SFE.

sfe/templates:
In a future PR, new Content Security Policy headers necessary to secure our override request forms will disallow inline CSS. To keep that PR focused (and the CSS diff easier to parse), this change moves the existing CSS to a static file and references it in the existing HTML template.

sfe/sfe:
Configure and assign the zendeskClient in config-next.

cmd/sfe/main.go:
Change AccountID configuration field to match AccountURI present in the form.

@beautifulentropy beautifulentropy force-pushed the zendesk-test-srv branch 3 times, most recently from 1e294fe to 867b23f Compare August 14, 2025 19:30
@beautifulentropy beautifulentropy marked this pull request as ready for review August 14, 2025 19:54
@beautifulentropy beautifulentropy requested a review from a team as a code owner August 14, 2025 19:54
Copy link
Contributor

@beautifulentropy, this PR appears to contain configuration and/or SQL schema changes. Please ensure that a corresponding deployment ticket has been filed with the new values.

1 similar comment
Copy link
Contributor

@beautifulentropy, this PR appears to contain configuration and/or SQL schema changes. Please ensure that a corresponding deployment ticket has been filed with the new values.

@aarongable aarongable requested review from a team and jsha and removed request for a team August 14, 2025 22:01
@beautifulentropy beautifulentropy merged commit 2cf8f87 into main Aug 15, 2025
14 checks passed
@beautifulentropy beautifulentropy deleted the zendesk-test-srv branch August 15, 2025 21:56
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.

3 participants