mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-26 01:26:00 +03:00
[PR #1731] [MERGED] Persona system and CHROME_USER_DATA_DIR #4497
Labels
No labels
expected: maybe someday
expected: next release
expected: release after next
expected: unlikely unless contributed
good first ticket
help wanted
pull-request
scope: all users
scope: windows users
size: easy
size: hard
size: medium
size: medium
status: backlog
status: blocked
status: done
status: idea-phase
status: needs followup
status: wip
status: wontfix
touches: API/CLI/Spec
touches: configuration
touches: data/schema/architecture
touches: dependencies/packaging
touches: docs
touches: js
touches: views/replayers/html/css
why: correctness
why: functionality
why: performance
why: security
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ArchiveBox#4497
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ArchiveBox/ArchiveBox/pull/1731
Author: @pirate
Created: 12/31/2025
Status: ✅ Merged
Merged: 12/31/2025
Merged by: @pirate
Base:
dev← Head:claude/review-chrome-plugin-userdata-vJUYW📝 Commits (7)
877b5f9Derive CHROME_USER_DATA_DIR from ACTIVE_PERSONA in config system1a86789Move Chrome default args to config.json CHROME_ARGS503a2f7Add Persona class with cleanup_chrome() methodb1e31c3Simplify Persona class: remove convenience functions, fix get_active()b8a66c4Convert Persona to Django ModelWithConfig, add to get_config()f7b186dApply suggestion from @cubic-dev-ai[bot]4285a05Fix getEnvArray to parse JSON when '[' present, CSV otherwise📊 Changes
6 files changed (+378 additions, -95 deletions)
View changed files
📝
archivebox/config/configset.py(+11 -4)📝
archivebox/misc/util.py(+30 -3)📝
archivebox/personas/models.py(+155 -59)📝
archivebox/plugins/chrome/chrome_utils.js(+110 -22)📝
archivebox/plugins/chrome/config.json(+62 -4)📝
archivebox/plugins/chrome/on_Crawl__20_chrome_launch.bg.js(+10 -3)📄 Description
Summary
Related issues
Changes these areas
Summary by cubic
Make Chrome launches persona-aware and more reliable by auto-deriving CHROME_USER_DATA_DIR/CHROME_EXTENSIONS_DIR from ACTIVE_PERSONA and adding a Persona class to manage profile data. Also make Chrome args configurable and clean up stale locks to prevent failed launches.
New Features
Bug Fixes
Written for commit
4285a05d19. Summary will update on new commits.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.