Repository navigation
refactor(discord): replace Discord.Net bot login with a Discord webhook #428
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
Changes from all commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
e0feeca
chore(changelog): add placeholder entry for #423
credfeto 2513672
refactor(discord): replace Discord.Net bot login with a Discord webhook
credfeto 5a31f39
test(discord): share logged-text helper across Discord tests
credfeto ca91c2c
fix(discord): only accept http(s) embed URLs
credfeto ce0d31f
test(discord): use a fake clock in webhook rate-limit tests
credfeto ff79dee
test(discord): use CapturingLogger instead of custom LoggedText helper
credfeto c5a13eb
test(github): share PublishedEmbed helper across GitHub publisher tests
credfeto 839bde7
test(discord): extract MockDiscordWebhookClientSendThrows helper
credfeto f4ff73b
test(discord): share title-only embed factory across Discord tests
credfeto 8523b80
refactor(discord): collapse webhook retry loop into a single post/res…
credfeto ef39f7a
fix(publish): pass Discord webhook URL instead of removed bot token s…
credfeto 9f4f73a
refactor(discord): use platform US spelling for colour identifiers
credfeto 89787fe
refactor(github): use platform US spelling for status colour mapping
credfeto 6427b27
refactor(discord): remove inter-message delay from BotService
credfeto 54e50dc
refactor(discord): rename BotService to DiscordMessageSender
credfeto 26d831f
docs(changelog): describe Discord webhook replacement for #423
credfeto f61d9c2
refactor(discord): drop unused Global from RateLimitResponse
credfeto b006eee
refactor(discord): remove unreachable webhook not-configured path
credfeto ec102c9
docs(changelog): correct Discord startup/health entry for #423
credfeto 96ac6f5
refactor(cloudformation): build ARN and status fields once in GetFields
credfeto 422d706
refactor(discord): handle webhook 429s in the HttpClient Polly policy
credfeto fd897bc
docs(readme): move Discord webhook setting into the Configuration table
credfeto df00774
refactor(discord): run DiscordMessageSender as a BackgroundService
credfeto cfaf779
refactor(discord): drop non-http(s) embed URLs once in EmbedMapper
credfeto c14fa57
refactor(startup): drop the always-printed Discord webhook startup line
credfeto 2ffa02d
test(discord): drop redundant configuration parameter from CreateBot
credfeto 3747f56
refactor(discord): let DiscordMessageSender own send failure handling
credfeto 3b13b64
refactor(discord): inline no-op Polly onRetryAsync callback
credfeto 2222db0
fix(discord): enforce Discord embed length limits
credfeto 1ddbc55
docs(changelog): note Discord embed limits and first-line commit titles
credfeto ea83991
fix(discord): honour Retry-After within the webhook timeout budget
credfeto 9a86ed4
fix(discord): log Discord's response body when a webhook post is reje…
credfeto 8181b46
fix(discord): replace blank embed field text so Discord accepts the m…
credfeto c6111f7
fix(discord): time out and retry each webhook attempt separately
credfeto d9509f2
fix(discord): log each webhook retry
credfeto b5831b3
fix(discord): retry only transient HTTP status codes
credfeto 28145f8
fix(discord): leave headroom between the webhook timeout and retry bu…
credfeto 21531fa
fix(discord): log only the exception type when a publish finally fails
credfeto daf82ef
chore(coverage): record branch coverage for #423
credfeto File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.