[CON-1511] Scan the host-configured port range in self-test - #1
Closed
jjziets wants to merge 363 commits into
Closed
[CON-1511] Scan the host-configured port range in self-test#1jjziets wants to merge 363 commits into
jjziets wants to merge 363 commits into
Conversation
…ng-functionality Integrate job scheduling functionality
fix: pip package detection
Take snapshot 2
auto create volume contract offer on machine list
added volume name arg
Updating the Readme to eliminate the machine tester portion (defunct).
Update README.md
adding --curl to search_templates
…-possible-os-getenv adds VAST_URL as a possible override to the server_url_default
Bumps [setuptools](https://github.com/pypa/setuptools) from 78.1.0 to 78.1.1. - [Release notes](https://github.com/pypa/setuptools/releases) - [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst) - [Commits](pypa/setuptools@v78.1.0...v78.1.1) --- updated-dependencies: - dependency-name: setuptools dependency-version: 78.1.1 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
…-78.1.1 Bump setuptools from 78.1.0 to 78.1.1
Bumps [requests](https://github.com/psf/requests) from 2.32.3 to 2.32.4. - [Release notes](https://github.com/psf/requests/releases) - [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md) - [Commits](psf/requests@v2.32.3...v2.32.4) --- updated-dependencies: - dependency-name: requests dependency-version: 2.32.4 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
….32.4 Bump requests from 2.32.3 to 2.32.4
security audit fix: remove wget install from SKILL.md
* add serverless benchmarking command
Fix request timing for Serverless sessions
* move api docs to docs repo
Update launch instance SDK/API
…-instance Update vast.py
* fix(cli): remove client side post filter that checked rented field. backend doesnt filter by rented at all though. (separate issue we're working on)
…t-ai#400) * tell user which api key used on 401 error, better 2fa failure logging, group `--help` commands
…allback (vast-ai#399) Update self-test logic to select image on both cuda and compute capability
Adds an OS matrix (ubuntu/windows/macos) to unit-and-integration so any new pytest under tests/cli or tests/sdk runs on every OS automatically without per-OS bookkeeping.
…shold ram check included for inet
Agents reading the CLI/SDK skill have no canonical explanation of how the `--bid_price` / `bid_price=` flag interacts with `search offers --type bid` / `search_offers(type='bid')`. Without it, a `create instance` call after a spot search silently provisions on-demand at `dph_total` rather than the `min_bid` the agent quoted, leading to unexpected hourly rates. Adds a short section to both `vastai/SKILL.md` and `vastai_sdk/SKILL.md` that: - Explains the spot pricing model in one sentence. - States that omitting `--bid_price` after `--type bid` rents on-demand. - Notes that outbid instances move to `stopped` (not destroyed) so storage charges continue, and points to the right resume command. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* add start/stop deployment commands
…spot-section docs: add Interruptible (spot) rentals section to SKILL.md
* Handle missing instances during self-test cleanup * Patch legacy missing instance handling --------- Co-authored-by: Hannes Zietsman <hannes.zietsman@hydrahost.com>
…rvability and visibility (vast-ai#401) feat(CLN-3107): Implement price increase accept cli - changes based on new direction Co-authored-by: Abiola Akinnubi <abiola.akinnubi@gmail.com>
Owner
Author
|
Superseded by the upstream draft PR: vast-ai#458 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/var/lib/vastai_kaalia/host_port_range, with instance metadata fallback.Validation
uv run pytest tests/cli/test_port_range.py tests/cli/test_util.py tests/cli/test_machines_commands.py -q— 68 passed.git diff --checkpassed.Live mapping verification
36999265, machine117091,direct_port_count=124.10000-10099; after the instance reachedrunning, the API returned 100/100 mapped ports with distinct public host ports.45097396was destroyed immediately; active-instance audit returned empty.Dogfood blocker
The implementation is ready for review, but the full Vast CLI self-test dogfood run remains blocked until a development machine is available on the account. The live rental above only validated port mapping with a lightweight container and did not run the GPU self-test.