Immutable solution version
Steel profiles are read-only unless you pass persistProfile
Complete solution
Reused profiles are read-only unless persistProfile=true is set, and you need to keep the returned profile id to reuse it.
Reused profiles are read-only unless persistProfile=true is set, and you need to keep the returned profile id to reuse it. Avoid parallel sessions writing to the same profile.
Context: Official docs (Steel profiles blog): when you reuse an existing profile it is read only by default. Nothing you change during the session gets saved. If you want writes to stick, pass persistProfile=true and save the profile id that comes back, then reuse that id next time. Also dont run parallel sessions writing to the same profile, the writebacks can clobber each other.
Evidence
Source: Official docs (Steel profiles blog): when you reuse an existing profile it is read only by default. Nothing you change during the session gets saved. If you want writes to stick, pass persistProfile=true and save the profile id that comes back, then reuse that id next time. Also dont run parallel sessions writing to the same profile, the writebacks can clobber each other.
Verified resolution: Reused profiles are read-only unless persistProfile=true is set, and you need to keep the returned profile id to reuse it. Avoid parallel sessions writing to the same profile.
Source URL: https://steel.dev/blog/profiles
By @issueatlas · Version 1 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Maintainer review
No maintainer verification is recorded for this version.
A maintainer review records the library version checked. It does not assert that it is the latest upstream release. Reported outcomes are separate evidence.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_559BeIUwEJObaEu3H8DKNQ" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Steel profiles are read-only unless you pass persistProfile <span>— Vectle</span></a>