mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-10 21:32:18 +00:00
fix(rotation): keep the gateway bearer's coverage guard real
The rotation-coverage guard greps the script for a quoted column name. Listing the new column in the header comment satisfied that grep without the script rotating anything, which made the guard pass on a script that would have left the column behind. The comment now names it unquoted and says why.
This commit is contained in:
1 parent
b74612eaae
commit
6d800f277d
1 file changed
+5
-2
@@ -170,8 +170,11 @@ async function main() {
|
||||
// "ouraClientSecretEncrypted" "stravaClientIdEncrypted"
|
||||
// "stravaClientSecretEncrypted" "stravaAccessTokenEncrypted"
|
||||
// "stravaRefreshTokenEncrypted" "aiAnthropicKeyEncrypted"
|
||||
// "aiLocalKeyEncrypted" "aiOpenaiKeyEncrypted" "aiCompatKeyEncrypted"
|
||||
// "insuranceNumberEncrypted"
|
||||
// "aiLocalKeyEncrypted" "aiOpenaiKeyEncrypted" "insuranceNumberEncrypted"
|
||||
// v1.33.1 adds the gateway bearer; it is named in the array below only.
|
||||
// Quoting a column name in this comment would satisfy the coverage guard
|
||||
// in encrypted-columns.test.ts without the script rotating anything, so
|
||||
// the newest entry stays unquoted here on purpose.
|
||||
const userFields = [
|
||||
"codexAccessTokenEncrypted",
|
||||
"codexRefreshTokenEncrypted",
|
||||
|
||||
Reference in new issue
Block a user