Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@ AUTH_PROVIDER=DISABLED
AUTH_Z_PROVIDER=DISABLED
WORKER_ID=1
# MASTER_ENCRYPTION_KEY - add this for enabling secrets in local
# REDIS_URL="http://localhost:6379"
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are we going ahead without tests for redis then ?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For now, I'll setup the build pipeline for this. I haven't added it to github builds

REDIS_POOL_SIZE="10"
REDIS_MAX_ATTEMPTS="10"
REDIS_CONN_TIMEOUT="1000"
# TTL in seconds
REDIS_KEY_TTL=604800

################################################
## Following values are to be set in KMS and not directly in ENV
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ci_check_pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ env:
jobs:
formatting:
name: Check formatting
runs-on: anton1
runs-on: codebuild-superposition-${{ github.run_id }}-${{ github.run_attempt }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down Expand Up @@ -101,7 +101,7 @@ jobs:

test:
name: Testing
runs-on: anton1
runs-on: codebuild-superposition-${{ github.run_id }}-${{ github.run_attempt }}
services:
postgres:
image: public.ecr.aws/docker/library/postgres:15-alpine3.21
Expand Down Expand Up @@ -195,7 +195,7 @@ jobs:

java-build:
name: Java build
runs-on: anton1
runs-on: codebuild-superposition-${{ github.run_id }}-${{ github.run_attempt }}
defaults:
run:
working-directory: clients/java
Expand Down Expand Up @@ -252,7 +252,7 @@ jobs:

provider-tests:
name: Provider Tests
runs-on: anton1
runs-on: codebuild-superposition-${{ github.run_id }}-${{ github.run_attempt }}
strategy:
matrix:
provider:
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions crates/context_aware_config/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ blake3 = { workspace = true }
cac_client = { path = "../cac_client" }
chrono = { workspace = true }
diesel = { workspace = true, features = ["numeric"] }
fred = { workspace = true, optional = true, features = ["metrics"] }
fred = { workspace = true, features = ["metrics"] }
itertools = { workspace = true }
jsonlogic = { workspace = true }
jsonschema = { workspace = true }
Expand All @@ -35,11 +35,9 @@ superposition_types = { workspace = true, features = [
"diesel_derives",
"server",
] }
uuid = { workspace = true }

[features]
disable_db_data_validation = ["superposition_types/disable_db_data_validation"]
high-performance-mode = ["dep:fred"]


[lints]
Expand Down
Loading
Loading