Repository navigation
docs: say that pjdfstest runs on demand only, and why (#352) - #397
Merged
Merged
Conversation
The script works. Verified rather than assumed: a real `mount` subcommand,
prerequisite checks for both pjdfstest and the binary, an EXIT/INT/TERM trap that
unmounts and removes the temp dir, and ${PIPESTATUS[0]} carried past the `tee` so
a failing suite is a failing exit code. What it does not have is anything that
runs it.
That is a statement about infrastructure, not about the script. It needs
/dev/fuse, real AWS credentials and a real bucket, so a GitHub-hosted runner
cannot execute it — and this repository has no scheduled real-AWS job at all; the
only cron: in the tree belongs to the security scan. Wiring it in means adding
one, with a bucket and a role, which is a decision with a cost attached and not
one a script comment can make. So #352's option 1 is blocked on infrastructure
that does not exist, and this is option 2.
Written into the script header and beside `make test-posix`, because the failure
mode of an unrun conformance suite is that it reads as a passing one — the same
reason internal/fuse/kernel_options_live_test.go documents its own unrunnability
instead of skipping into a false pass, and `make test-fuse-mount` already says so
beside its target. Both notes name what does run, internal/difftest, and why it
is the weaker claim: a differential oracle over an operation sequence this
repository chose, versus a suite nobody here wrote and cannot have tuned to what
already works.
Not deleted. It is the only third-party POSIX conformance suite this project has,
and both notes point at README.md's supported-operations table for reading the
results: ObjectFS is not a POSIX-compliant filesystem, so a clean run is not the
goal — knowing which cases fail, and that the set has not grown, is.
No code path changes. `make -n test-posix` still resolves and `bash -n` is clean;
shellcheck reports only the two known false positives, SC2329 on `cleanup`
(invoked via trap) and SC2034 on the deliberate retry counter `i`.
Closes #352
scttfrdmn
force-pushed
the
docs/352-pjdfstest-on-demand
branch
from
August 9, 2026 01:19
ac11a5d to
f0dfdf5
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #352 by taking option 2, because option 1 is blocked on infrastructure that does not exist.
The script is not broken
Checked before deciding what to do with it:
mountsubcommand invocation, not a placeholderpjdfstestin$PATHand theobjectfsbinary, each with an actionable errortrap cleanup EXIT INT TERM, withfusermount -u→umountfallback andrmdirof the temp mount dir${PIPESTATUS[0]}captured past thetee, so a failing suite is a failing exit code rather thantee's successWhy option 1 is blocked
It needs
/dev/fuse, real AWS credentials, and a real bucket. A GitHub-hosted runner cannot supply those, and this repository has no scheduled real-AWS job at all — the onlycron:in the tree belongs to the security scan. So "wire it into CI" is really "add the first scheduled real-AWS job, with a bucket and a role, and own its cost." That is a decision with a price tag, not something a script comment can make on the project's behalf.What this PR does instead
States it plainly in both places a reader arrives from:
scripts/pjdfstest.shheader — anON DEMAND ONLYnote saying what it needs, why CI cannot supply it, and what would have to change.make test-posix— same, matching the wording stylemake test-fuse-mountalready uses two targets above (Needs /dev/fuse, so it is not part of make test).The reason for saying it at all: the failure mode of an unrun conformance suite is that it reads as a passing one. A suite in the tree with a Makefile target looks like coverage.
internal/fuse/kernel_options_live_test.gois the precedent — it documents its own unrunnability rather than skipping into a false pass.Both notes also name what does run, and why it is the weaker claim:
internal/difftestis a differential oracle over an operation sequence this repository chose, where pjdfstest is a suite nobody here wrote and therefore cannot have tuned to what already works.Not deleted
It is the only third-party POSIX conformance suite this project has. Both notes point at
README.md's supported-operations table for reading the output, because ObjectFS is explicitly not a POSIX-compliant filesystem: a clean run is not the goal, and the useful question is whether the set of failing cases grew.Verification
No code path changes.
make -n test-posix— resolvesbash -n scripts/pjdfstest.sh— cleanshellcheck scripts/pjdfstest.sh— only the two known false positives:SC2329oncleanup(invoked viatrap) andSC2034on the deliberate retry counterinpx [email protected] CHANGELOG.md— no new findings