--examples is not fully offline: root Before hook still bootstraps the client #611
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
thwap/thwap-pagesd#611
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
examples.Applyshort-circuits--examplesinside the command's Action, but the root command'sBeforehook (config load,newClient→ keychain token resolve, TLS config) runs first. Sotpagectl site create --examplesstill requires a successful bootstrap: a malformed config, a genuine keychain error (propagated byresolveToken), or a broken--ca-certpath makes--examplesfail instead of printing — contradicting the "works offline" claim.Short-circuit earlier (e.g. skip client construction in the root
Beforewhen--examplesis set, or handle--examplesin a command-levelBefore).See #610
Fixed in #634:
--examplesoutput is generated without config/client bootstrap (covered by the newofflineCommand), so it works with a broken config or no server.