bug: apply-to-profile does not establish default_resume_id link — profile→library sync broken after apply #128
Labels
No labels
a11y
backlog
beta-feedback
bug
enhancement
feature-request
frontend
needs-triage
question
vue
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Circuit-Forge/peregrine#128
Loading…
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?
Summary
When a user clicks "⇩ Apply to profile" in the Resume Library, the
POST /api/resumes/{id}/apply-to-profileendpoint syncs that library entry intoplain_text_resume.yamlbut does not setdefault_resume_idinuser.yaml. As a result, future saves in Settings → Resume Profile do not sync back to the library (thePUT /api/settings/resumeendpoint readsdefault_resume_idto find the linked entry).Fix
After a successful apply-to-profile, call
set_default_resume(db, resume_id)and writedefault_resume_id = resume_idintouser.yaml, establishing the bidirectional link.Impact
Users who use "Apply to profile" expect their subsequent profile edits to stay in sync with the library, but they silently diverge.