Development record
The inbox's not-a-real-directory refusal names no level: errInboxNotRealDir (internal/core/report/inbox.go) says 'the inbox path is not a real directory' whatever level fsutil.EnsureRealDirAll refused — the home directory, ~/.abcd, ~/.abcd/inbox or ~/.abcd/inbox/promoted — and drops the *os.PathError path the earlier message carried. With ~/.abcd a dotfiles symlink, abcd report and abcd inbox promote say the inbox path is a symlink, the user looks at ~/.abcd/inbox, which does not exist, and is stuck. The refusal should name the refused level, home-redacted, and keep exit 2.
The inbox's not-a-real-directory refusal names no level: errInboxNotRealDir (internal/core/report/inbox.go) says 'the inbox path is not a real directory' whatever level fsutil.EnsureRealDirAll refused — the home directory, ~/.abcd, ~/.abcd/inbox or ~/.abcd/inbox/promoted — and drops the *os.PathError path the earlier message carried. With ~/.abcd a dotfiles symlink, abcd report and abcd inbox promote say the inbox path is a symlink, the user looks at ~/.abcd/inbox, which does not exist, and is stuck. The refusal should name the refused level, home-redacted, and keep exit 2.
Grounds
- pursued: a symlink at any level of the inbox is refused naming that level as ~/…; a refusal that names a level other than the one a symlink occupies, or carries the absolute home, would show it wrong
Frontmatter
| id | iss-2609261106286306 |
|---|---|
| type | issue |
| lifecycle | resolved |
| severity | minor |
.abcd/work/issues/resolved/iss-2609261106286306-inbox-refusal-names-no-level.md
open on GitHub ↗ · commit history ↗