Page MenuHomePhorge

Use a temp file to save session
ClosedPublic

Authored by tusooa on Oct 13 2024, 7:29 PM.
Tags
None
Referenced Files
F964332: D189.1746836528.diff
Thu, May 8, 5:22 PM
F956435: D189.1746816677.diff
Thu, May 8, 11:51 AM
F956112: D189.1746815258.diff
Thu, May 8, 11:27 AM
F954398: D189.1746809415.diff
Thu, May 8, 9:50 AM
F951941: D189.1746797099.diff
Thu, May 8, 6:24 AM
F951549: D189.1746794662.diff
Thu, May 8, 5:44 AM
F950986: D189.1746790811.diff
Thu, May 8, 4:40 AM
F950812: D189.1746789395.diff
Thu, May 8, 4:16 AM
Subscribers
None

Details

Summary

To avoid losing data when saving session, we write to a temp file first, and then move it into place.

Type: add

BUG: https://iron.lily-is.land/T143

Test Plan

Verify unit tests pass. Open kazv and verify it can save data properly.

Diff Detail

Repository
rK kazv
Branch
tusooa/stacked
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 299
Build 586: GitLab CI for kazv
Build 585: arc lint + arc unit

Event Timeline

Harbormaster returned this revision to the author for changes because remote builds failed.Oct 13 2024, 7:44 PM
Harbormaster failed remote builds in B297: Diff 496!

Use an unprivileged user to build and test

Harbormaster returned this revision to the author for changes because remote builds failed.Oct 14 2024, 8:51 AM
Harbormaster failed remote builds in B298: Diff 497!

Fix calling build-unprivileged.sh

Harbormaster returned this revision to the author for changes because remote builds failed.Oct 14 2024, 9:16 AM
Harbormaster failed remote builds in B299: Diff 498!

Change to build dir ahead of time

This revision is now accepted and ready to land.Oct 16 2024, 6:13 AM
This revision was automatically updated to reflect the committed changes.