Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
e0e2fe7
Restored the PostgreSQL store.
moetemp Oct 18, 2026
c8fd2ef
Pinned sdk-streams so3 with the postgres feature.
moetemp Oct 18, 2026
ba89f5a
Kept the PostgreSQL silent producer silent under the notify default.
moetemp Oct 18, 2026
ee294c0
Merged po1-log-driver-archive into po2-postgres.
moetemp Oct 18, 2026
df68504
Said in the tests README that the lane runs the PostgreSQL cases.
moetemp Oct 18, 2026
13e4257
Merged po1-log-driver-archive into po2-postgres.
moetemp Oct 18, 2026
8ff6258
Merge commit 'f7aee2c4d1b496db05fee018f0637021bb75a12b' into HEAD
moetemp Oct 18, 2026
0d8474f
Merged po1 into po2.
moetemp Oct 18, 2026
ecdd254
Merged po1 into po2.
moetemp Oct 18, 2026
ed20742
Moved sdk-streams to the new so3.
moetemp Oct 18, 2026
db99962
Merged po1 into po2.
moetemp Oct 18, 2026
8e705a9
Merged po1 into po2.
moetemp Oct 18, 2026
aacc6e5
Merged po1 into po2.
moetemp Oct 18, 2026
97e2969
Used the new stream call names in the po2 code.
moetemp Oct 18, 2026
6d30b55
Merged po1 into po2.
moetemp Oct 18, 2026
a9d56f3
Merged po1 into po2.
moetemp Oct 18, 2026
8421879
Moved sdk-streams to the so3 head that withdraws failed task calls.
moetemp Oct 18, 2026
636135b
Merged po1 into po2.
moetemp Oct 18, 2026
7b6bb82
Merged po1 into po2.
moetemp Oct 18, 2026
d946b80
Merged po1 into po2.
moetemp Oct 18, 2026
1093a07
Moved sdk-streams to the so3 head with the notifier close comment.
moetemp Oct 18, 2026
0ed823a
Merged po1 into po2.
moetemp Oct 18, 2026
be0c4f4
Merged po1 into po2.
moetemp Oct 19, 2026
94d6eae
Moved sdk-streams to the so3 head that merges the Brook links.
moetemp Oct 19, 2026
7628d8d
Merged po1 into po2.
moetemp Oct 19, 2026
6a29271
Merged po1 into po2.
moetemp Oct 19, 2026
f81dbef
Merged po1 into po2.
moetemp Oct 19, 2026
5ae5902
Pinned sdk-streams so3 with the stale LINK fix.
moetemp Oct 19, 2026
9630cd5
Merged po1 into po2.
moetemp Oct 19, 2026
ea06638
Pinned sdk-streams so3 with the withdrawn segment rule.
moetemp Oct 19, 2026
153e436
Merged po1 into po2.
moetemp Oct 19, 2026
e3ca4bc
Pinned sdk-streams so3 with the resume rule.
moetemp Oct 19, 2026
8171abc
Merged po1 into po2.
moetemp Oct 19, 2026
1a1daee
Pinned sdk-streams so3 with the resume gap tests.
moetemp Oct 19, 2026
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
21 changes: 20 additions & 1 deletion scripts/streams_live_lane.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
# STREAMS_ARCHIVE_S3_URL an `s3://bucket/prefix` the archive cases write to, with the `AWS_*`
# settings the stream runtime reads. Without it, the script starts MinIO in
# Docker on a free port and removes the container at the end.
# STREAMS_POSTGRES_URL a PostgreSQL 14 or later database the Postgres cases use. Each case makes
# a schema of its own. Without it, the script starts PostgreSQL 17 in Docker
# on a free port and removes the container at the end.
# WORK_DIR where to build and keep logs (default: a new temporary directory)
# PYTEST_TARGETS the tests to run (default: the stream and Nexus tests). A narrower run fails
# the gate, since the gated ids outside it don't run.
Expand Down Expand Up @@ -241,6 +244,22 @@ if [[ -z "${STREAMS_ARCHIVE_S3_URL:-}" ]]; then
"import boto3; boto3.client('s3').create_bucket(Bucket='streams-archive')")
fi

if [[ -z "${STREAMS_POSTGRES_URL:-}" ]]; then
pg_port=$(python3 -c 'import socket; s = socket.socket(); s.bind(("127.0.0.1", 0)); print(s.getsockname()[1])')
pg=streams-lane-pg-$$
# Many cases connect at once, each with a pool and a listener.
docker run -d --rm --name "$pg" -p "127.0.0.1:$pg_port:5432" \
-e POSTGRES_USER=streams -e POSTGRES_PASSWORD=streams -e POSTGRES_DB=streams \
postgres:17 -c max_connections=1000 >/dev/null
containers+=("$pg")
for _ in $(seq 60); do
docker exec "$pg" pg_isready -q -U streams -d streams -h 127.0.0.1 && break
sleep 1
done
export STREAMS_POSTGRES_URL="postgres://streams:streams@127.0.0.1:$pg_port/streams"
STREAMS_POSTGRES_URL+="?sslmode=disable"
fi

cd "$SDK_DIR"
export PYTHONPATH="$SDK_DIR${PYTHONPATH:+:$PYTHONPATH}"

Expand Down Expand Up @@ -302,7 +321,7 @@ uv run --no-sync pytest ${PYTEST_TARGETS:-${default_targets[*]}} \

# A live test that skips here proves nothing, so a skip for a missing notifier, missing Nexus
# progress or a missing store fails the lane.
gated='no stream notifier|refused Nexus progress|STREAMS_REDIS_URL|STREAMS_REDIS_CLUSTER_URL|no NexusHandler callbacks|STREAMS_ARCHIVE_S3_URL'
gated='no stream notifier|refused Nexus progress|STREAMS_REDIS_URL|STREAMS_REDIS_CLUSTER_URL|no NexusHandler callbacks|STREAMS_ARCHIVE_S3_URL|STREAMS_POSTGRES_URL'
if grep -oE "<skipped [^>]*message=\"[^\"]*($gated)[^\"]*\"" "$WORK_DIR/junit.xml"; then
echo "live lane: live tests skipped, see above" >&2
status=1
Expand Down
Loading
Loading