Page MenuHomePhorge

Use a temp file to save session
ClosedPublic

Authored by tusooa on Oct 13 2024, 7:29 PM.
Tags
None
Referenced Files
F112280: D189.1732288083.diff
Thu, Nov 21, 7:08 AM
F112251: D189.1732285170.diff
Thu, Nov 21, 6:19 AM
F112232: D189.1732283711.diff
Thu, Nov 21, 5:55 AM
F112231: D189.1732283617.diff
Thu, Nov 21, 5:53 AM
F112157: D189.1732272275.diff
Thu, Nov 21, 2:44 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.