Skip to content

Commit ae053ce

Browse files
committed
feat: Expose queue positions for runs in both the launchpad and the CLI
1 parent f69392f commit ae053ce

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+3184
-170
lines changed

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ codegen:
158158
mkdir -p codegen/in/archive
159159
# curl -s https://platform.aignostics.com/api/v1/openapi.json | jq . > codegen/in/openapi.json
160160
#curl -s https://platform-dev.aignostics.ai/api/v1/openapi.json | jq . > codegen/in/openapi.json
161+
# Do we want staging or production now?
161162
curl -s https://platform-staging.aignostics.com/api/v1/openapi.json | jq . > codegen/in/openapi.json
162163
version=$$(jq -r .info.version codegen/in/openapi.json); \
163164
echo "Detected version $$version"; \
@@ -176,7 +177,8 @@ codegen:
176177
find codegen/out/aignx/codegen/models/ -name "[a-z]*.py" -type f | sed 's|.*/\(.*\)\.py|\1|' | xargs -I{} echo "from .{} import *" > codegen/out/aignx/codegen/models/__init__.py
177178
# fix resource patch
178179
# in codegen/out/public_api.py replace all occurrences of resource_path='/v1 with resource_path='/api/v1
179-
sed -i '' "s|resource_path='/v1|resource_path='/api/v1|g" codegen/out/aignx/codegen/api/public_api.py
180+
# Use portable sed syntax: -i'' works on both macOS and Linux
181+
sed -i"" "s|resource_path='/v1|resource_path='/api/v1|g" codegen/out/aignx/codegen/api/public_api.py
180182

181183
# Special rule to catch any arguments (like patch, minor, major, pdf, Python versions, or x.y.z)
182184
# This prevents "No rule to make target" errors when passing arguments to make commands

0 commit comments

Comments
 (0)