Details
Diff Detail
- Repository
- rDFUSE FUSE virtual file system
- Branch
- feature/update-status-on-read
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 18031 Build 27854: Phabricator diff pipeline on jenkins Jenkins console · Jenkins Build 27853: arc lint + arc unit
Event Timeline
Build is green
Patch application report for D4763 (id=16860)
Rebasing onto a6cef6bad5...
Current branch diff-target is up to date.
Changes applied before test
commit f006ab1255f7b048dd6c0db3a96d0061dd60e2e1 Author: Thibault Allançon <haltode@gmail.com> Date: Fri Dec 18 09:52:24 2020 +0100 fs: history/by-date: update .status count on read
See https://jenkins.softwareheritage.org/job/DFUSE/job/tests-on-diff/241/ for more details.
LGTM in general, I've just nitpicked about a couple of things.
Also: would it be feasible to have a test for this? It would be nice to have, because it is a tricky behavior that I can easily see going wrong in the future if we do other changes. (But yes, testing stateful things could be annoying…)
swh/fuse/fs/artifact.py | ||
---|---|---|
275 | I don't like that you are setting file_info_attrs, potentially overwriting everything that was in there. | |
283 | will this ever be shown? | |
swh/fuse/fs/entry.py | ||
52 | As per previous comment: do not set the dict, just override what you need. |
Build is green
Patch application report for D4763 (id=16861)
Rebasing onto a6cef6bad5...
Current branch diff-target is up to date.
Changes applied before test
commit d5cd9667c7f8a95a4cb45f565ec900079850af52 Author: Thibault Allançon <haltode@gmail.com> Date: Fri Dec 18 09:52:24 2020 +0100 fs: history/by-date: update .status count on read
See https://jenkins.softwareheritage.org/job/DFUSE/job/tests-on-diff/242/ for more details.
Build is green
Patch application report for D4763 (id=16877)
Rebasing onto a6cef6bad5...
Current branch diff-target is up to date.
Changes applied before test
commit 87e1e1868e5a84ac064dfb418f0e37ca0b0c46cd Author: Thibault Allançon <haltode@gmail.com> Date: Fri Dec 18 15:47:12 2020 +0100 fs: history/by-date: invalidate .status inode when done commit d5cd9667c7f8a95a4cb45f565ec900079850af52 Author: Thibault Allançon <haltode@gmail.com> Date: Fri Dec 18 09:52:24 2020 +0100 fs: history/by-date: update .status count on read
See https://jenkins.softwareheritage.org/job/DFUSE/job/tests-on-diff/243/ for more details.
Build is green
Patch application report for D4763 (id=16878)
Rebasing onto a6cef6bad5...
Current branch diff-target is up to date.
Changes applied before test
commit 87e1e1868e5a84ac064dfb418f0e37ca0b0c46cd Author: Thibault Allançon <haltode@gmail.com> Date: Fri Dec 18 15:47:12 2020 +0100 fs: history/by-date: invalidate .status inode when done commit d5cd9667c7f8a95a4cb45f565ec900079850af52 Author: Thibault Allançon <haltode@gmail.com> Date: Fri Dec 18 09:52:24 2020 +0100 fs: history/by-date: update .status count on read
See https://jenkins.softwareheritage.org/job/DFUSE/job/tests-on-diff/244/ for more details.
Build is green
Patch application report for D4763 (id=16879)
Rebasing onto a6cef6bad5...
Current branch diff-target is up to date.
Changes applied before test
commit 87e1e1868e5a84ac064dfb418f0e37ca0b0c46cd Author: Thibault Allançon <haltode@gmail.com> Date: Fri Dec 18 15:47:12 2020 +0100 fs: history/by-date: invalidate .status inode when done commit d5cd9667c7f8a95a4cb45f565ec900079850af52 Author: Thibault Allançon <haltode@gmail.com> Date: Fri Dec 18 09:52:24 2020 +0100 fs: history/by-date: update .status count on read
See https://jenkins.softwareheritage.org/job/DFUSE/job/tests-on-diff/245/ for more details.