You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fork-ci pinned: follow-ups from #305's lenses (cache race, import check spellings, private() vs bootstrap, tests) #314
Two first runs at once: README block checks existence then makedirs without exist_ok; parallel first runs fail with FileExistsError (state lens: 344/1600 in a probe), which adapters report as "no network". Catch FileExistsError, then run the same check; test it.
Import check spellings (pinned.pyneighbour_loads): misses import sys as s; s.path..., getattr(sys,'path'), sys.modules['sys'].path, from sys import path_hooks/*, sys.meta_path, site.addsitedir, __import__('importlib'), builtins.__import__, exec(open(...)), subprocess of a neighbour, chdir + import, data files via __file__. No fork-ci module that passes uses these today. Suggested: copy into a nested private folder (run_dir/<action>/<name>) so .. stays private; and/or refuse bare __file__ and add site.
pinned.private() vs the bootstrap: it follows a symlinked cache and chmods our own 0775 folder to 0700 instead of refusing, so pinned.py --cache C run ... accepts a folder load_pinned refuses. Make it the same rule.
Tests: nothing covers removing S_ISDIR (a regular file at the cache path, refused with no fetch); the '*' case and the pkgutil/imp/zipimport rows; the 0700 assertion only bites under some umasks.
Docs: README line about refused modules should also list test_select.py and trace_check.py; mention the run temp folder risk ($TMPDIR/pr-queue) the PR closed, not only the cache.
Info: only the last path part is checked (parent folders made 0775 under umask 002 could let a group member swap the folder after the check; nothing unchecked runs); Windows junctions pass S_ISDIR.
Activity
fork-ci pinned: follow-ups from #305 (cache race, import check spelli…
fork-ci pinned: follow-ups from #305 (cache race, import check spelli…
fork-ci pinned: follow-ups from #305 (cache race, import check spelli…
fork-ci pinned: follow-ups from #305 (cache race, import check spelli…
fork-ci pinned: follow-ups from #305 (cache race, import check spelli…
fork-ci pinned: follow-ups from #305 (cache race, import check spelli…