Page MenuHomePhorge

Use a temp file to save session
ClosedPublic

Authored by tusooa on Sun, Oct 13, 7:29 PM.
Tags
None
Referenced Files
F48076: D189.1729309078.diff
Thu, Oct 17, 8:37 PM
F47223: D189.1729261436.diff
Thu, Oct 17, 7:23 AM
F46985: D189.1729239894.diff
Thu, Oct 17, 1:24 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 301
Build 590: GitLab CI for kazv
Build 589: arc lint + arc unit

Event Timeline

Harbormaster returned this revision to the author for changes because remote builds failed.Sun, Oct 13, 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.Mon, Oct 14, 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.Mon, Oct 14, 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.Wed, Oct 16, 6:13 AM
This revision was automatically updated to reflect the committed changes.