Skip to content
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 13 commits into from
Aug 30, 2024

Conversation

jf-06
Copy link
Contributor

@jf-06 jf-06 commented Aug 30, 2024

Fixes #331
Also implements script logging.

jf-06 added 7 commits August 30, 2024 03:18
~ 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.
Suit changes made to parsing system
~ 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 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
@jf-06 jf-06 added this to the SEC-10-WLCC milestone Aug 30, 2024
@jf-06 jf-06 self-assigned this Aug 30, 2024
@jf-06 jf-06 linked an issue Aug 30, 2024 that may be closed by this pull request
jf-06 added 2 commits August 30, 2024 03:28
Signed-off-by: Nikita Petko <petko@vmminfra.net>
Signed-off-by: Nikita Petko <petko@vmminfra.net>
jf-06 added 3 commits August 30, 2024 03:41
~ 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>
@jf-06 jf-06 merged commit 037e618 into master Aug 30, 2024
6 checks passed
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.
Projects
Status: Complete
Development

Successfully merging this pull request may close these issues.

Better syntax error handling
2 participants