-
Notifications
You must be signed in to change notification settings - Fork 1
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
Better syntax error handling #332
Merged
Merged
Conversation
This file contains 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
~ Add build tasks for debug and full debug builds. ~ Add launch scripts for local debugging.
Bumps Discord.Net to 3.15.3
Support logging GatewayReconnectException, WebSocketException, WebSocketClosedException, and TaskCanceledException in debug builds
Implement logging of scripts to a Discord channel, helps with future debugging of issues that arrise. Has duplication detection via hash checking of script contents.
~ Log scripts just before preprocessing. ~ Add detection of grid-server level syntax errors. ~ Add detection of invalid json return data. ~ Add detection of invalid ASCII return data.
#!components: grid-bot,grid-bot-recovery ~ Add script logger to dependency injection container.
jf-06
added
kind: feature
This issue integrates a single feature (or multiple disguised as one)
kind: enhancement
This issue integrates a modification to an existing product or system.
priority: key deliverable
The issue is high priority and normally has a very close target quarter.
platform: linux
This issue relates to Linux.
opsec: love-all-environments
SEC-04-LAE
opsec: love-all-platforms
SEC-04-LAP
opsec: public-ops
SEC-02-PUBOPS
opsec: discord-gateway
SEC-25-GATEWAY
opsec: we-love-clean-code
SEC-10-WLCC
area: discord
Issue relates to discord
area: code-ops
Issue relates to the issue of Code Ops
area: dependencies
Pull requests that update a dependency file
labels
Aug 30, 2024
Signed-off-by: Nikita Petko <petko@vmminfra.net>
Signed-off-by: Nikita Petko <petko@vmminfra.net>
~ Do not persist script hashes immediately, as this could cause a major influx of Vault writes.
Signed-off-by: Nikita Petko <petko@vmminfra.net>
Signed-off-by: Nikita Petko <petko@vmminfra.net>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area: code-ops
Issue relates to the issue of Code Ops
area: dependencies
Pull requests that update a dependency file
area: discord
Issue relates to discord
kind: enhancement
This issue integrates a modification to an existing product or system.
kind: feature
This issue integrates a single feature (or multiple disguised as one)
opsec: discord-gateway
SEC-25-GATEWAY
opsec: love-all-environments
SEC-04-LAE
opsec: love-all-platforms
SEC-04-LAP
opsec: public-ops
SEC-02-PUBOPS
opsec: we-love-clean-code
SEC-10-WLCC
platform: linux
This issue relates to Linux.
priority: key deliverable
The issue is high priority and normally has a very close target quarter.
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.
Fixes #331
Also implements script logging.