refactor(coprocessor): remove tenant notion from sns-worker#1903
Merged
dartdart26 merged 7 commits intopetar/db-keys-refactorfrom Feb 5, 2026
Merged
refactor(coprocessor): remove tenant notion from sns-worker#1903dartdart26 merged 7 commits intopetar/db-keys-refactorfrom
dartdart26 merged 7 commits intopetar/db-keys-refactorfrom
Conversation
…_id to pbs_computations
🧪 CI InsightsHere's what we observed from your CI run for 0d4690a. ❌ Job Failures
|
73a3fb9 to
94453d7
Compare
dartdart26
approved these changes
Feb 5, 2026
Collaborator
dartdart26
left a comment
There was a problem hiding this comment.
Great job! I am merging it to be able to use it.
dartdart26
reviewed
Feb 5, 2026
| info!(tenant_api_key, "Cache hit"); | ||
| return Ok(Some(keys.clone())); | ||
| } | ||
| async fn fetch_latest_key_id(pool: &PgPool) -> Result<Option<(DbKeyId, i64)>, ExecutionError> { |
Collaborator
There was a problem hiding this comment.
Putting a note here to move code in this file to the common crate.
Collaborator
There was a problem hiding this comment.
Will be done in a separate PR.
dartdart26
pushed a commit
that referenced
this pull request
Feb 6, 2026
* db-migration: remove tenant_id from ciphertexts128 and add host_chain_id to pbs_computations * sns-worker: remove tenant API key and refactor keyset loading * tests: align sns-worker and harness with key_id/host_chain_id * docs/compose: update sns-worker usage for tenant-less schema * test-harness: drop keys.chain_id filter after tenant removal * style: cargo fmt * Clarify keyset invariant and rotation TODO
dartdart26
pushed a commit
that referenced
this pull request
Feb 6, 2026
* db-migration: remove tenant_id from ciphertexts128 and add host_chain_id to pbs_computations * sns-worker: remove tenant API key and refactor keyset loading * tests: align sns-worker and harness with key_id/host_chain_id * docs/compose: update sns-worker usage for tenant-less schema * test-harness: drop keys.chain_id filter after tenant removal * style: cargo fmt * Clarify keyset invariant and rotation TODO
dartdart26
pushed a commit
that referenced
this pull request
Feb 9, 2026
* db-migration: remove tenant_id from ciphertexts128 and add host_chain_id to pbs_computations * sns-worker: remove tenant API key and refactor keyset loading * tests: align sns-worker and harness with key_id/host_chain_id * docs/compose: update sns-worker usage for tenant-less schema * test-harness: drop keys.chain_id filter after tenant removal * style: cargo fmt * Clarify keyset invariant and rotation TODO
dartdart26
pushed a commit
that referenced
this pull request
Feb 10, 2026
* db-migration: remove tenant_id from ciphertexts128 and add host_chain_id to pbs_computations * sns-worker: remove tenant API key and refactor keyset loading * tests: align sns-worker and harness with key_id/host_chain_id * docs/compose: update sns-worker usage for tenant-less schema * test-harness: drop keys.chain_id filter after tenant removal * style: cargo fmt * Clarify keyset invariant and rotation TODO
dartdart26
pushed a commit
that referenced
this pull request
Feb 11, 2026
* db-migration: remove tenant_id from ciphertexts128 and add host_chain_id to pbs_computations * sns-worker: remove tenant API key and refactor keyset loading * tests: align sns-worker and harness with key_id/host_chain_id * docs/compose: update sns-worker usage for tenant-less schema * test-harness: drop keys.chain_id filter after tenant removal * style: cargo fmt * Clarify keyset invariant and rotation TODO
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary