-
Notifications
You must be signed in to change notification settings - Fork 60
Parameterize offline-storage deletes and harden kill-switch response handling #1467
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
Merged
bmehta001
merged 27 commits into
microsoft:main
from
bmehta001:bhamehta/offline-storage-parameterized-deletes
Jun 17, 2026
Merged
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
b95dd41
Use parameterized queries for offline storage DeleteRecords
bmehta001 e251cb6
Harden kill-switch response-header parsing against malformed values
bmehta001 1be1001
Reword kill-switch comments to plain input-validation language
bmehta001 048709c
Address review feedback on offline-storage delete hardening
bmehta001 7838af5
Fail closed on unrecognized DeleteRecords filter column
bmehta001 c781903
Reject trailing garbage when parsing kill-switch header seconds
bmehta001 13aaeeb
Add missing <vector> and <list> includes to KillSwitchManager.hpp
bmehta001 8e97535
Relax kill-token validation to keep opaque tokens killable
bmehta001 4149075
Merge branch 'main' into bhamehta/offline-storage-parameterized-deletes
bmehta001 1bdb878
Merge branch 'main' into bhamehta/offline-storage-parameterized-deletes
bmehta001 986c9b4
killswitch: restrict tryParseSeconds trailing whitespace to HTTP OWS
bmehta001 b7abaee
killswitch: enforce RFC 7231 1*DIGIT in tryParseSeconds
bmehta001 e2bf622
killswitch/sqlite: clamp parsed seconds and guard null delete statement
bmehta001 d5c7706
sqlite: include sqlite3_errmsg in DeleteRecords prepare-failure log
bmehta001 be88816
killswitch: correct isValidTenantToken rationale comments
bmehta001 729b0ab
killswitch: document why tryParseSeconds ignores the RFC 7231 HTTP-da…
bmehta001 89907b0
Merge remote-tracking branch 'msft/main' into bhamehta/offline-storag…
bmehta001 5327490
killswitch/offline-storage: add review-requested tests + run KillSwit…
bmehta001 c5547c6
killswitch/offline-storage: cover remaining untested branches
bmehta001 2b35a2b
killswitch: drop unconfirmed 256-byte tenant-token cap + simplify erase
bmehta001 9578f53
Merge branch 'main' into bhamehta/offline-storage-parameterized-deletes
bmehta001 0b50215
killswitch: address Copilot round-2 — drop misleading std::move
bmehta001 f986d21
Merge remote-tracking branch 'fork/bhamehta/offline-storage-parameter…
bmehta001 f498d7d
killswitch: address Copilot round-3 — relax stoll comment + empty-tok…
bmehta001 4d5b0c4
killswitch: re-add 256-byte tenant-token length cap (now that size is…
bmehta001 3c664fb
killswitch tests: call the injected value a tenant_token, not a kill-…
bmehta001 a37bae7
Merge branch 'main' into bhamehta/offline-storage-parameterized-deletes
bmehta001 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.