[SKY-6973] [1/3] Browser Profiles - database and s3 storage layer (#3899)

This commit is contained in:
Marc Kelechava
2025-11-04 17:36:41 -08:00
committed by GitHub
parent 16f61af6cf
commit c059f1f1c5
9 changed files with 253 additions and 1 deletions

View File

@@ -39,6 +39,7 @@ CREDENTIAL_AZURE_VAULT_PARAMETER_PREFIX = "azcp"
CREDENTIAL_PARAMETER_PREFIX = "cp"
CREDENTIAL_PREFIX = "cred"
DEBUG_SESSION_PREFIX = "ds"
BROWSER_PROFILE_PREFIX = "bp"
ORGANIZATION_BITWARDEN_COLLECTION_PREFIX = "obc"
TASK_V2_ID = "tsk_v2"
THOUGHT_ID = "ot"
@@ -194,6 +195,11 @@ def generate_persistent_browser_session_id() -> str:
return f"{PERSISTENT_BROWSER_SESSION_ID}_{int_id}"
def generate_browser_profile_id() -> str:
int_id = generate_id()
return f"{BROWSER_PROFILE_PREFIX}_{int_id}"
def generate_task_run_id() -> str:
int_id = generate_id()
return f"{TASK_RUN_PREFIX}_{int_id}"