Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
fe49649
seeweb-commit-review-11
massaindustries Sep 8, 2025
685b521
seeweb-commit-review-12
massaindustries Sep 8, 2025
4268d66
Merge branch 'master' of https://github.com/Seeweb/skypilot into seew…
massaindustries Sep 9, 2025
475c4d5
seeweb-commit-review-13
massaindustries Sep 9, 2025
79b16a1
Merge branch 'master' of https://github.com/Seeweb/skypilot into seew…
massaindustries Sep 10, 2025
0644c05
seeweb-commit-review-14
massaindustries Sep 10, 2025
458ede8
Merge branch 'master' of https://github.com/Seeweb/skypilot into seew…
massaindustries Sep 11, 2025
628d348
Merge branch 'master' of https://github.com/Seeweb/skypilot into seew…
massaindustries Sep 11, 2025
7fea5d8
Merge branch 'master' of https://github.com/Seeweb/skypilot into seew…
massaindustries Sep 11, 2025
ae20dfb
Revert pytest.yml
m4oc Sep 12, 2025
363b0ea
Revert smoke-tests-trigger.yaml
m4oc Sep 12, 2025
5503d3b
Merge branch 'skypilot-org:master' into seeweb-cloud-01
m4oc Sep 12, 2025
7b91555
Revert and fix test
m4oc Sep 12, 2025
82c5151
Update seeweb accelerator test
m4oc Sep 12, 2025
b9f752f
Update test_sky_serve
m4oc Sep 12, 2025
9727c5a
Update test_sky_serve.py
m4oc Sep 12, 2025
3c0b36d
seeweb-commit-review-15
massaindustries Sep 12, 2025
eafef15
Merge branch 'master' of https://github.com/Seeweb/skypilot into seew…
massaindustries Sep 12, 2025
9dbefd4
Merge branch 'seeweb-cloud-01' of https://github.com/Seeweb/skypilot …
massaindustries Sep 12, 2025
84cc049
Merge branch 'master' of https://github.com/Seeweb/skypilot into seew…
massaindustries Sep 15, 2025
d571bbe
seeweb-commit-docs-01
massaindustries Sep 15, 2025
ac72e06
seeweb-commit-docs-02
massaindustries Sep 15, 2025
64b8a77
Merge branch 'master' of https://github.com/Seeweb/skypilot into seew…
massaindustries Sep 16, 2025
4d140ff
seeweb-commit-snapshotfix-01
massaindustries Sep 16, 2025
6db497b
seeweb-commit-downfix-01
massaindustries Sep 16, 2025
a9b5001
seeweb-commit-docs-02
massaindustries Sep 18, 2025
4dfa10c
Merge branch 'master' of https://github.com/Seeweb/skypilot into seew…
massaindustries Sep 18, 2025
91785fb
seeweb-commit-libraryupd-01
massaindustries Oct 6, 2025
4a98ef9
Merge branch 'master' of https://github.com/Seeweb/skypilot into seew…
massaindustries Oct 6, 2025
dbbf004
seeweb-commit-update_library-02
massaindustries Oct 7, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion sky/adaptors/seeweb.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,18 @@ def check_compute_credentials() -> bool:
# Test connection by fetching servers list to validate the key
try:
seeweb_client = ecsapi.Api(token=api_key)
seeweb_client.fetch_servers()
try:
seeweb_client.fetch_servers()
except pydantic.ValidationError:
# Fallback: fetch raw JSON to validate authentication
# pylint: disable=protected-access
base_url = seeweb_client._Api__generate_base_url() # type: ignore
headers = seeweb_client._Api__generate_authentication_headers(
) # type: ignore
url = f'{base_url}/servers'
resp = requests.get(url, headers=headers, timeout=15)
resp.raise_for_status()
# If we get here, authentication worked even if schema mismatches
Comment on lines -69 to +80
Copy link
Collaborator

Choose a reason for hiding this comment

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

Do we still need this with the version pinned?

except Exception as e: # pylint: disable=broad-except
raise SeewebAuthenticationError(
f'Unable to authenticate with Seeweb API: {e}') from e
Expand Down
2 changes: 1 addition & 1 deletion sky/setup_files/dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@
PROTOBUF,
] + aws_dependencies,
'hyperbolic': [], # No dependencies needed for hyperbolic
'seeweb': ['ecsapi>=0.2.0'],
'seeweb': ['ecsapi==0.4.0'],
'server': server_dependencies,
}

Expand Down