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
audit.py --issue path never prints the no-remote hub-name warning #1810
spec/audit.py falls back to the checkout directory name for HUB_NAME when no git remote exists, and prints a warning saying the hub-identity checks are unreliable in that run. On the --issue path, main() renders and returns before reaching that warning, so an issue body produced from a checkout with no remote carries the same unreliable hub scoping with no warning on stdout or stderr.
Found by the local strict review on the copied-version audit check PR, as a pre-existing defect outside that change.
Done looks like: the warning is emitted before any output path returns, so both the report and the --issue paths print it.
Two more defects in the same hub-identity resolution, found by the same review:
hub_name() reads only remote.origin.url. A checkout whose only remote has another name gets "no git remote" although a remote exists, and adding a remote under a different name does not help.
Its docstring says reading origin guards against a fork, but an origin pointing at a fork under a different repository name sets HUB_NAME_FROM_REMOTE true with the fork's name, so every hub-identity check runs against the wrong name with no warning.
Done looks like: the hub's identity resolves from the registry or an explicit argument rather than from whichever remote happens to be named origin, and every path warns when it cannot be resolved.
Closed under the maintainer's decision (ptr727, 2026-10-23) on #3391: the backlog keeps real bugs with a stated failure, features the maintainer wants, and open decisions. A finding the review loop filed on code or text a change did not touch, a refactor or consolidation chore, a tracker, a wording item, or a guard shape no session has produced is closed rather than worked. Reopen with the input and the wrong result if this issue states one.
Activity
ptr727 commentedon Sep 25, 2026
Two more defects in the same hub-identity resolution, found by the same review:
hub_name()reads onlyremote.origin.url. A checkout whose only remote has another name gets "no git remote" although a remote exists, and adding a remote under a different name does not help.HUB_NAME_FROM_REMOTEtrue with the fork's name, so every hub-identity check runs against the wrong name with no warning.Done looks like: the hub's identity resolves from the registry or an explicit argument rather than from whichever remote happens to be named origin, and every path warns when it cannot be resolved.
ptr727 commentedon Oct 23, 2026
Closed under the maintainer's decision (ptr727, 2026-10-23) on #3391: the backlog keeps real bugs with a stated failure, features the maintainer wants, and open decisions. A finding the review loop filed on code or text a change did not touch, a refactor or consolidation chore, a tracker, a wording item, or a guard shape no session has produced is closed rather than worked. Reopen with the input and the wrong result if this issue states one.