Skip to content

Generate ripoff queries asynchronously to help plugin performance#27

Merged
mortenson merged 7 commits intomainfrom
plugin-scale
Mar 21, 2026
Merged

Generate ripoff queries asynchronously to help plugin performance#27
mortenson merged 7 commits intomainfrom
plugin-scale

Conversation

@mortenson
Copy link
Copy Markdown
Owner

No description provided.

Comment on lines -62 to -65
if r.Type == "exit" {
os.Exit(0)
return
}
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This didn't really do anything useful, IMO. Mostly I added it before I had process group IDs working

Comment thread cmd/ripoff/ripoff.go
return slog.Any("error", err)
}

func confirmPluginsSafe(plugins map[string]ripoff.RipoffPlugin) {
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is slightly weird but better than code execution? I would consider this prompt for any ripoff file as well

Comment thread db.go
rowId string
query string
dependencies []string
err error
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I considered errgroup for this but couldn't get it working

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(or, at least, better than the semaphore)

@mortenson mortenson merged commit 16d82f3 into main Mar 21, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant