fix(sling): add --no-daemon flag to mol bond command
When using gt sling with --quality=shiny, the mol bond command was failing with "mol bond requires direct database access" error. This was because bd daemon can be slow to start or unavailable, and mol bond requires direct database access. Fix: Added --no-daemon flag to the bd mol bond invocation in sling.go at line 407. This bypasses the daemon and uses direct database access for molecule bonding operations. Fixes gt--4hz 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -403,7 +403,8 @@ func runSling(cmd *cobra.Command, args []string) error {
|
||||
fmt.Printf("%s Formula wisp created: %s\n", style.Bold.Render("✓"), wispRootID)
|
||||
|
||||
// Step 3: Bond wisp to original bead (creates compound)
|
||||
bondArgs := []string{"mol", "bond", wispRootID, beadID, "--json"}
|
||||
// Use --no-daemon for mol bond (requires direct database access)
|
||||
bondArgs := []string{"--no-daemon", "mol", "bond", wispRootID, beadID, "--json"}
|
||||
bondCmd := exec.Command("bd", bondArgs...)
|
||||
bondCmd.Stderr = os.Stderr
|
||||
bondOut, err := bondCmd.Output()
|
||||
|
||||
Reference in New Issue
Block a user