Track instance state in SharePath #17

Closed
opened 2025-09-29 23:23:51 +09:00 by ophestra · 0 comments
Owner

For $XDG_RUNTIME_DIR, according to the spec:

Applications should use this directory for communication and synchronization purposes and should not place larger files in it, since it might reside in runtime memory and cannot necessarily be swapped out to disk.

An assumption was made early in the project that this could be used for a limited amount of runtime state, due to the then upstream of this project doing it, as well as other major projects like systemd doing it as well.

Since there is nothing preventing the use of SharePath, and it has generally a more stable path format, it should be used here instead.

For $XDG_RUNTIME_DIR, according to the spec: > Applications should use this directory for communication and synchronization purposes and should not place larger files in it, since it might reside in runtime memory and cannot necessarily be swapped out to disk. An assumption was made early in the project that this could be used for a limited amount of runtime state, due to the then upstream of this project doing it, as well as other major projects like systemd doing it as well. Since there is nothing preventing the use of `SharePath`, and it has generally a more stable path format, it should be used here instead.
ophestra added this to the v0.3.0 milestone 2025-09-29 23:24:05 +09:00
cat closed this issue 2025-11-03 02:07:14 +09:00
ophestra added the
Compat
Breaking
Kind
Enhancement
Priority
High
Reviewed
Confirmed
labels 2025-11-10 01:26:58 +09:00
Sign in to join this conversation.
No description provided.