8000 (via norrietaylor): Add validation for BULK_ACTIVATE_TIMEOUT_SECS in bulk-upload-e2e.sh by macroscopeapp[bot] · Pull Request #888 · gominimal/minimal · GitHub
[go: up one dir, main page]

Skip to content

(via norrietaylor): Add validation for BULK_ACTIVATE_TIMEOUT_SECS in bulk-upload-e2e.sh - #888

Merged
macroscopeapp[bot] merged 1 commit into
test/bulk-upload-canary-869from
macroscope/test/bulk-upload-canary-869
Jul 22, 2026
Merged

macroscopeapp[bot] merged 1 commit into
test/bulk-upload-canary-869from
macroscope/test/bulk-upload-canary-869

Conversation

@macroscopeapp
@macroscopeapp macroscopeapp Bot commented Jul 22, 2026 •
Copy link
Copy Markdown

Summary

Adds input validation for BULK_ACTIVATE_TIMEOUT_SECS in the bulk upload end-to-end test script.

Changes

  • Added validation after DEADLINE_SECS assignment (line 86) to ensure BULK_ACTIVATE_TIMEOUT_SECS is a positive integer
  • Uses a case statement to detect non-numeric values and exits with status 2 if invalid
  • Verifies the value is >= 1 before proceeding
  • Follows the existing validation pattern used for ITER

Why

This ensures the script fails early with a clear error if BULK_ACTIVATE_TIMEOUT_SECS is misconfigured, rather than encountering cryptic failures later in execution.

Note

Macroscope: Fix It For Me

  • This PR originated from this comment in test(scripts): canary the bulk host-to-guest upload path #887.
  • Since auto-merge is on, Macroscope will merge this PR after waiting for checks to pass.
  • If you'd rather not wait, you can always merge this yourself but no further action from you is currently needed.
  • You can also @mention Macroscope in this PR to request further changes.

Activity

Currently: Auto-merged a943399

Previously

Note

Add input validation for BULK_ACTIVATE_TIMEOUT_SECS in bulk-upload-e2e.sh

The script now validates BULK_ACTIVATE_TIMEOUT_SECS before proceeding: it rejects empty, non-integer, or sub-1 values by printing an error to stderr and exiting with status 2.

Macroscope summarized fa871b8.

@coderabbitai
coderabbitai Bot commented Jul 22, 2026
Copy link
Copy Markdown
Contributor

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Free

Run ID: 4d00ab75-1791-414f-88d2-a1135afa7c8e

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Comment @coderabbitai help to get the list of available commands.

@macroscopeapp
macroscopeapp Bot merged commit a943399 into test/bulk-upload-canary-869 Jul 22, 2026
1 check passed
@macroscopeapp
macroscopeapp Bot deleted the macroscope/test/bulk-upload-canary-869 branch July 22, 2026 03:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
< 5E65 rails-partial data-partial-name="pullRequestsConversationsRoute.Sidebar" class="d-contents__KzrRnz">

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

0