Skip to content

chore: create script to lead one down the right benchmark path#32

Merged
MYanello merged 4 commits intomainfrom
tmadhyastha/caios-benchmark-gen-script
Feb 2, 2026
Merged

chore: create script to lead one down the right benchmark path#32
MYanello merged 4 commits intomainfrom
tmadhyastha/caios-benchmark-gen-script

Conversation

@tmadhyastha-cw
Copy link
Copy Markdown
Contributor

No description provided.

narenandu
narenandu previously approved these changes Feb 2, 2026
Copy link
Copy Markdown
Contributor

@narenandu narenandu left a comment

Choose a reason for hiding this comment

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

LGTM ! I am going to trust that this was tested already

Comment thread storage/warp-benchmark/warp-benchmark Outdated
API_BASE="https://api.coreweave.com"

# Check if credentials are already set as environment variables
if [[ -n "${ACCESS_KEY_ID:-}" && -n "${SECRET_KEY:-}" ]]; then
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I know it's just semantics, but I am used to seeing ACCESS_KEY_ID and ACCESS_KEY_SECRET from AWS land

Suggested change
if [[ -n "${ACCESS_KEY_ID:-}" && -n "${SECRET_KEY:-}" ]]; then
if [[ -n "${ACCESS_KEY_ID:-}" && -n "${ACCESS_KEY_SECRET-}" ]]; then

Comment thread storage/warp-benchmark/warp-benchmark Outdated
Comment on lines +92 to +96
# Create a temporary AI Object Storage access key
print_info "Creating AI Object Storage access key..."

# Create JSON payload
JSON_PAYLOAD='{"durationSeconds": 0}'
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Duration 0 but you say it's temporary?
I'd think either that's a permanent key, or it expires immediately.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

It's a permanent key but strangely a temporary one didn't seem to work here

Comment thread storage/warp-benchmark/warp-benchmark Outdated
# Get the API token from kubeconfig
echo "Extracting API token from kubeconfig..."
API_ACCESS_TOKEN=$(kubectl config view --raw -o jsonpath='{.users[0].user.token}')
API_TOKEN="${API_ACCESS_TOKEN}"
Copy link
Copy Markdown
Contributor

@MYanello MYanello Feb 2, 2026

Choose a reason for hiding this comment

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

Why do we do reassign this?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

because AI. Fixed.

@MYanello MYanello merged commit 08ab869 into main Feb 2, 2026
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.

3 participants