USE AGENT MODE:
- When asking Copilot to do a multi-step task, be sure to tell it to record its progress in a file such as
worklog.md
, so that you can watch it being updated in real time as Copilot goes about its work.
Added: Fri, Jul-25-2025
// cue snippet | |
// when "dagger do notifyEndRelease" is run, notifyStartRelease is not run, but shouldn't it be ?? | |
#SlackPost: { | |
input: *_baseImage.output | docker.#Image | |
token: dagger.#Secret | |
channel: string | |
message: string | |
broadcast: *false | bool | |
always: *false | bool |
diff --git a/Dockerfile.build b/Dockerfile.build | |
index acfcdd9..28cb8b3 100644 | |
--- a/Dockerfile.build | |
+++ b/Dockerfile.build | |
@@ -13,6 +13,6 @@ RUN \ | |
libpq-dev \ | |
# Poetry deps | |
libffi-dev \ | |
- && \ | |
+ && \ |
ARG PYTHON_EXACT_VERSION | |
FROM public.ecr.aws/docker/library/python:${PYTHON_EXACT_VERSION}-slim-bullseye | |
RUN \ | |
apt-get update && \ | |
# install apt packages | |
apt-get install --no-install-recommends -y \ | |
build-essential \ | |
# pillow/pil deps | |
libtiff-dev libjpeg62-turbo-dev zlib1g-dev libfreetype6-dev liblcms2-dev libwebp-dev \ |
package rentalsapi | |
import ( | |
"dagger.io/dagger" | |
"dagger.io/dagger/core" | |
"universe.dagger.io/docker" | |
"universe.dagger.io/docker/cli" | |
) | |
client: filesystem: ".": read: contents: dagger.#FS |
The problem is doing either FT.SEARCH or FT.AGGREGATE command on an index that contains 15999 documents and asking for an offset beyond 10000.
redis-cli output...
127.0.0.1:6380> FT.AGGREGATE rentals:default:idx:rentallisting:default @type:{_invalid|condo|apartment|bachelor|basement|studio|duplex|loft|house|town_house|multi_unit|cabin|cottage|room|private_room|shared_room} LOAD 1 @__key APPLY "@highlight_status_value * 100" AS rank SORTBY 4 @rank DESC @modified DESC LIMIT 9999 1
1) (integer) 15599
2) 1) "__key"
2) "rentals:default:doc:rentallisting:item:cmVudGFsbGlzdGluZzo1NjExNDY="
3) "highlight_status_value"
127.0.0.1:6380> FT.AGGREGATE rentals:default:idx:rentallisting:default @type:{_invalid|condo|apartment|bachelor|basement|studio|duplex|loft|house|town_house|multi_unit|cabin|cottage|room|private_room|shared_room} LOAD 1 @__key APPLY "@highlight_status_value * 100" AS rank SORTBY 4 @rank DESC @modified DESC LIMIT 9999 1 | |
1) (integer) 15599 | |
2) 1) "__key" | |
2) "rentals:default:doc:rentallisting:item:cmVudGFsbGlzdGluZzo1NjExNDY=" | |
3) "highlight_status_value" | |
4) "0" | |
5) "rank" | |
6) "0" | |
7) "modified" |
The following tutorial explains how to setup Quart and Strawberry-GraphQL with a simple application.
Requirements: Python 3.9 or higher
References:
File "/rentals/api/src/Rentals-API/./rentalsapi/web/middleware.py", line 65, in load | |
check, engine = await self.app_factory() | |
File "/rentals/api/src/Rentals-API/./rentalsapi/web/__init__.py", line 25, in init_app | |
quart_app = cast(types.Application, quartapp.init_app(engine).asgi_app) | |
File "/rentals/api/src/Rentals-API/./rentalsapi/web/quartapp.py", line 27, in init_app | |
schema = strawberry.Schema(query=engine.query_class, extensions=[ApolloTracingExtension]) | |
File "/rentals/api/.venv/lib/python3.9/site-packages/strawberry/schema/schema.py", line 85, in __init__ | |
self._schema = GraphQLSchema( | |
File "/rentals/api/.venv/lib/python3.9/site-packages/graphql/type/schema.py", line 208, in __init__ | |
collect_referenced_types(query) |