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

http test dist #39

Draft
wants to merge 71 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
71 commits
Select commit Hold shift + click to select a range
66c813f
collect runs_on
sam-mellor Feb 17, 2025
51a9c79
HeterogenousLoadScheduling wip
sam-mellor Feb 17, 2025
4de348c
asyncio_default_fixture_loop_scope=function
sam-mellor Feb 18, 2025
4271dd6
collect tests on controller to determine affinity
sam-mellor Feb 18, 2025
01f6735
group nodeids
sam-mellor Feb 18, 2025
2f908c1
schedling wip
sam-mellor Feb 18, 2025
b1b22cf
configure node
sam-mellor Feb 18, 2025
ffb5eba
fix distribution to local
sam-mellor Feb 18, 2025
9d9f020
collect tests on workers
sam-mellor Feb 18, 2025
d36128e
less noise
sam-mellor Feb 18, 2025
91d7911
fix double collection
sam-mellor Feb 18, 2025
c394ea7
rename
sam-mellor Feb 18, 2025
dbaea86
check_schedule
sam-mellor Feb 18, 2025
19d3236
fix test collection hook sequencing
sam-mellor Feb 19, 2025
8fd18db
iter_markers
sam-mellor Feb 19, 2025
0146a6a
ray (wip)
sam-mellor Feb 24, 2025
284c894
remote test exec
sam-mellor Feb 25, 2025
d88fab0
process all tests
sam-mellor Feb 25, 2025
e43a0fe
fix runtime env
sam-mellor Feb 25, 2025
83b4558
conditional source for ray
sam-mellor Feb 25, 2025
3f1a1ae
structured events
sam-mellor Feb 25, 2025
e72d9bd
better item lookup
sam-mellor Feb 25, 2025
d2ef0e9
Add basic server deps
mawildoer Feb 25, 2025
906cb40
Merge branch 'feature/test_distribution' into feature/http-test-dist
sam-mellor Feb 25, 2025
9fad65a
Add cspell
mawildoer Feb 25, 2025
a6ffd06
Init server
mawildoer Feb 25, 2025
8288551
Add cloudpickle and multipart files
mawildoer Feb 25, 2025
ae6e2af
Split models and application server
mawildoer Feb 25, 2025
b8d5fa8
ray -> http (wip)
sam-mellor Feb 25, 2025
1901fb9
init api client
sam-mellor Feb 25, 2025
8511786
fastapi[standard]
sam-mellor Feb 25, 2025
521c0e4
Remove ray dependency
mawildoer Feb 25, 2025
75103bb
binary data handling
sam-mellor Feb 25, 2025
39d8073
attrs -> dataclasses
sam-mellor Feb 25, 2025
7c45ba8
init client
sam-mellor Feb 26, 2025
15a8808
more client
sam-mellor Feb 26, 2025
8308e2d
Add empty tests for testing testing
mawildoer Feb 25, 2025
2d1f029
WIP: mostly working worker
mawildoer Feb 26, 2025
712716c
WIP: dist plugin disting
mawildoer Feb 26, 2025
9443ddd
Cloudpickle test report
mawildoer Feb 26, 2025
1b9705c
WIP; dist worker appears to be working
mawildoer Feb 26, 2025
70fb513
No node_ids in URL
mawildoer Feb 26, 2025
c30ee94
Split API classes
mawildoer Feb 26, 2025
bef144f
Fix session_id for worker API
mawildoer Feb 26, 2025
76c61c3
fix api usage
sam-mellor Feb 26, 2025
a316b7f
fix adding new test report
sam-mellor Feb 26, 2025
8477c3d
decode testreport
sam-mellor Feb 26, 2025
ea5da7a
Overly log
mawildoer Feb 26, 2025
2f8b59a
Ensure we run both tests
mawildoer Feb 26, 2025
0291c00
per-phase test reports
sam-mellor Feb 26, 2025
d8986ef
quiet
sam-mellor Feb 26, 2025
2614673
TestPhase enum
sam-mellor Feb 26, 2025
b700303
more enums
sam-mellor Feb 26, 2025
15b76ea
rm duplicate model
sam-mellor Feb 26, 2025
0497202
API design updates
sam-mellor Feb 26, 2025
c1591ab
artifacts (wip)
sam-mellor Feb 26, 2025
7b8d304
artifacts
sam-mellor Feb 26, 2025
dbf5ed2
Add supabase dependency
mawildoer Feb 26, 2025
3ae8422
Zipping and uploading env works
mawildoer Feb 26, 2025
6691877
Add comments on speedup of zipping
mawildoer Feb 26, 2025
edc1b5c
Add message for largest files
mawildoer Feb 26, 2025
f30dae8
Persist worker information
mawildoer Feb 26, 2025
623ce65
Synchronous worker API
mawildoer Feb 26, 2025
1b7b2b2
Use worker_id field, rather than column ID, and add heartbeat
mawildoer Feb 26, 2025
e47f8fd
init supervisor
sam-mellor Feb 26, 2025
458fc01
Register workers on session query
mawildoer Feb 26, 2025
14f74f4
supervised test execution
sam-mellor Feb 27, 2025
e2623c7
fix
sam-mellor Feb 27, 2025
26e0ee8
api url from env
sam-mellor Feb 27, 2025
9b1bf17
tag by capability
sam-mellor Feb 27, 2025
bcdc995
Move worker seen into sequence of worker//session instead of specific…
mawildoer Feb 27, 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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -210,3 +210,4 @@ cython_debug/

*.code-workspace
artifacts/
.envs/
1 change: 1 addition & 0 deletions .hilignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
elec/
123 changes: 123 additions & 0 deletions cspell.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
{
"version": "0.2",
"language": "en",
"words": [
"activ",
"addinivalue",
"aiosmbus",
"aiter",
"altair",
"anext",
"apwr",
"asyncio",
"atopile",
"axolotl",
"backplane",
"baudrate",
"caplog",
"capybara",
"cellsim",
"changzhou",
"coms",
"configdict",
"conftest",
"coro",
"datasheet",
"dbvr",
"derpy",
"disch",
"dtparam",
"dtypes",
"eeprom",
"elec",
"esda",
"faebryk",
"funcs",
"gethostname",
"getnode",
"hanrun",
"hctl",
"hilignore",
"hirose",
"hookimpl",
"hookwrapper",
"hotplug",
"ichg",
"idrlr",
"ilim",
"infcd",
"initialconftest",
"khertz",
"kicad",
"kohm",
"lcsc",
"levelname",
"lmin",
"lookback",
"lowpass",
"makereport",
"moduleinterface",
"mosfet",
"mosi",
"napowderly",
"narwhal",
"nodeid",
"opamp",
"ovuv",
"partno",
"pdrvr",
"pinmap",
"polars",
"preinit",
"pullup",
"pytest",
"quokka",
"rdwr",
"rohs",
"rootdir",
"rter",
"runtest",
"sclk",
"setp",
"setpoint",
"shottkey",
"shou",
"smbus",
"snooty",
"squiggly",
"srss",
"stemma",
"stusb",
"subclassing",
"swpa",
"timedelta",
"toplevel",
"truecolor",
"uart",
"usbpd",
"usbs",
"vbus",
"vdiv",
"venv",
"vout",
"vreg",
"vsink",
"vsys",
"wacky",
"wiggly",
"xlvddcr",
"youtai",
"zesty",
"zhongshan",
"zippy"
],
"ignorePaths": [
"node_modules/**",
"venv/**",
".git/**",
"*.pyc",
"__pycache__/**",
".venv/**",
"build/**"
]
}
11 changes: 11 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,30 @@ readme = "README.md"
requires-python = ">=3.13"
dependencies = [
"altair>=5.5.0",
"cloudpickle>=3.1.1",
"numpy>=2.2.2",
"pathvalidate>=3.2.3",
"polars>=1.22.0",
"pydantic>=2.10.6",
"pytest>=8.3.4",
"pytest-asyncio>=0.25.3",
"pytest-benchmark>=5.1.0",
"pytest-html>=4.1.1",
"pytest-timeout>=2.3.1",
"python-multipart>=0.0.20",
"rich>=13.9.4",
"smbus2>=0.5.0",
"typer>=0.15.1",
"uvicorn>=0.34.0",
"httpx>=0.28.1",
"fastapi[standard]>=0.115.8",
"supabase>=2.13.0",
"pathspec>=0.12.1",
]

[project.entry-points."pytest11"]
hil-plugin = "hil.pytest_plugin"
dist-plugin = "hil.dist_plugin"

[dependency-groups]
dev = [
Expand All @@ -40,6 +50,7 @@ packages = ["software/hil"]

[tool.pytest.ini_options]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
testpaths = ["tests"]
python_files = ["test_*.py"]
addopts = [
Expand Down
Loading