Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Excel Add Row to Worksheet has a race condition #1931

Open
cloudnautique opened this issue Mar 6, 2025 · 0 comments
Open

Excel Add Row to Worksheet has a race condition #1931

cloudnautique opened this issue Mar 6, 2025 · 0 comments
Labels
bug Something isn't working needed-by-bill

Comments

@cloudnautique
Copy link
Contributor

If you request multiple records be inserted as rows into a worksheet there is the possibility each call will get the same row id if data is slow to be written and the tool is called in parallel.

https://github.com/obot-platform/tools/blob/main/excel/pkg/graph/worksheet.go#L212

The way the row number is determined multiple tool calls in parallel will get the same row id before anything is written.

I am having trouble coming up with a set of test data, will keep an eye out.

@cloudnautique cloudnautique added bug Something isn't working needed-by-bill labels Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needed-by-bill
Projects
None yet
Development

No branches or pull requests

1 participant