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

DTL (Test > Levelbuilder): 04af819b #46582

Merged
merged 31 commits into from May 30, 2022
Merged

Conversation

deploy-code-org
Copy link
Contributor

No description provided.

Hamms and others added 30 commits May 19, 2022 14:08
We've got some custom JSON-parsing logic in our AWS Secrets Manager interface. Specifically, custom logic which in addition to wrapping parsed JSON Objects in fancy Ruby accessor helpers will nicely handle values which cannot be parsed to JSON by simply returning them directly.

Unfortunately, the current version of the JSON gem we're using does not support parsing scalar values:

```
[development] dashboard > JSON.parse("123")
Traceback (most recent call last):
        1: from (irb):1
JSON::ParserError (784: unexpected token at '123')
[development] dashboard > JSON.parse("1.0")
Traceback (most recent call last):
        1: from (irb):2
JSON::ParserError (784: unexpected token at '1.0')
```

I'm not sure why this is; this behavior is (as far as I can find) undocumented and entirely undesirable. The version of the JSON gem to which we'd like to upgrade as part of the Ruby 2.7 upgrade has the expected behavior:

```
[development] dashboard > JSON.parse("123")
=> 123
[development] dashboard > JSON.parse("1.0")
=> 1.0
[development] dashboard >
```

Which for the most part is a good thing, but does break the behavior here. I'm not entirely sure of the best way to preserve the existing behavior; or, indeed, if we even _want_ to preserve the existing behavior. Open to suggestions!
…eview

Handle deleted user accounts for code review
DTT (Staging > Test) [robo-dtt]
DTT (Staging > Test) [robo-dtt]
…rora-engine

Upgrade non-production Aurora Engine version to latest Patch release
…tion

Configure non-production database clusters to match production cluster.
DTT (Staging > Test) [robo-dtt]
@deploy-code-org deploy-code-org merged commit 1bf7975 into levelbuilder May 30, 2022
@deploy-code-org deploy-code-org deleted the dtl_candidate_04af819b branch May 30, 2022 09:26
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.

None yet

6 participants