Repository navigation
Comparing changes
Open a pull request
base repository: DiamondLightSource/blueapi
base: 1.16.0
head repository: DiamondLightSource/blueapi
compare: 1.17.0
- 10 commits
- 27 files changed
- 3 contributors
Commits on Jun 24, 2026
-
refactor: Rewrite server middleware with websocket support (#1473)
The builtin fastapi support for middleware only supports http/rest requests. To enable the same middleware for websockets, a new implementation of the starlette middleware is required and it makes sense to use the same implementation for both protocols. For rest requests, there should not be any change in behaviour from this change.
Configuration menu - View commit details
-
Copy full SHA for 50fd3dd - Browse repository at this point
Copy the full SHA 50fd3ddView commit details
Commits on Jun 25, 2026
-
Configuration menu - View commit details
-
Copy full SHA for bd58313 - Browse repository at this point
Copy the full SHA bd58313View commit details -
feat: run unit tests in parallel (#1566)
As we have a 4 core GitHub action run we can utilise it more efficiently by running all our unit test in parallel. Currently it take the following amount of time to run unit test - python3.11: 2m vs now 59s - python3.12: 2m 1s vs now 1m 28s - python3.13: 1m 44s vs now 1m 12s It is consistently less in the future it will be a nice addition to run system test in parallel as well. It will require some more work so will do it in another PR.
Configuration menu - View commit details
-
Copy full SHA for a7c7d93 - Browse repository at this point
Copy the full SHA a7c7d93View commit details -
fix: add missing values ApplicationConfig equality check (#1565)
Currently the following configs are not checked for equality
Configuration menu - View commit details
-
Copy full SHA for 8404420 - Browse repository at this point
Copy the full SHA 8404420View commit details -
chore: Add just task to launch repl with blueapi client (#1568)
$ just repl will now launch a repl (using ptpython) with an initialized BlueapiClient named `bc` using the config from the system tests (the same used by `just serve` to run the server).
Configuration menu - View commit details
-
Copy full SHA for 0d507d1 - Browse repository at this point
Copy the full SHA 0d507d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8d585a9 - Browse repository at this point
Copy the full SHA 8d585a9View commit details
Commits on Jun 26, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 54b179b - Browse repository at this point
Copy the full SHA 54b179bView commit details -
fix: Remove dodal from default application config (#1573)
The default application still included dodal plans as a default. With the change to remove this dependency from the default application this would cause the server to error when trying to fetch plans. This replaces those defaults with an empty list.
Configuration menu - View commit details
-
Copy full SHA for 7622ee0 - Browse repository at this point
Copy the full SHA 7622ee0View commit details -
fix: Ignore NameError when introspecting plan functions (#1575)
fix: Ignore NameError when introspecting plan functions When getting type hints to determine if a function is a plan, a `NameError` can be raised (specifically when checking `pydantic.Field` in this case) and the context loading crashes. Ignoring the error in the same way that we ignore `TypeError` allows us to ignore broken types. As we are only interested in specific return types (`Generator`) this shouldn't affect which functions are treated as plans. Specific symptoms/causes: In pydantic `Field` has an argument with a type hint of (via an alias or two) `JsonValue`. This is defined as a recursive alias JsonValue: TypeAlias = Union[int, float, str, bool, None, list['JsonValue'], 'JsonDict'] JsonDict: TypeAlias = dict[str, JsonValue] when `get_type_hints` is called on `Field` a `NameError` is raised. This can be seen in a python repl without any blueapi related code >>> from typing import get_type_hints >>> from pydantic import Field >>> get_type_hints(Field) Traceback (most recent call last): ... NameError: name 'JsonValue' is not defined In blueapi, this is a problem if any module included via a PlanSource has `Field` as a top level object.Configuration menu - View commit details
-
Copy full SHA for 315665f - Browse repository at this point
Copy the full SHA 315665fView commit details -
fix: remove
--no-depsflag in scratch install (#1572)After removing dodal as dependency in #1534. It becomes difficult for village blueapi to install their plans etc because scratch does install with no dependencies. To make the release usable again we are removing the flag, while we figure out a long term solution for this problem.
Configuration menu - View commit details
-
Copy full SHA for f6eebe6 - Browse repository at this point
Copy the full SHA f6eebe6View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 1.16.0...1.17.0