Files
kevinveenbirkenbachandClaude Opus 5.5 74c92f3536 fix(web-app-opentalk): wait for the sidecar's embedded bucket instead of creating it twice
With the embedded object store, two code paths created the OpenTalk
bucket: the SeaweedFS sidecar creates it itself once /status answers
(plugins/filter/seaweedfs.py seaweedfs_sidecar_script), and
roles/web-app-opentalk/tasks/01_manager_ops.yml listed the buckets and
created it again when the listing was empty. In the README replay of
run 42392034828 (OpenTalk#0) the listing came back empty at 00:48:51.07
and the create failed at 00:48:51.34 with "bucket opentalk already
exists": the sidecar won the 270 ms window between the two tasks.

The role no longer creates the bucket. It waits, bounded (60 x 3 s),
until s3.bucket.list names the bucket, parsed through the existing
seaweedfs_bucket_names filter. A remote object store is unaffected; the
task only runs for the local one.

Tests: tests/unit/python/roles/web-app-opentalk/tasks/test_embedded_bucket.py
asserts that no role task file issues s3.bucket.create and that the wait
task lists, parses and retries. It fails on main (negative control: 2
failed) and passes here.

Gate: make quality-high on this tree, test-unit, test-integration,
test-lint and all 15 lint targets green. test-external was waived by the
operator: its only red is TestPinnedAddonArchivesAvailable on
onlyoffice-nextcloud v10.2.1, HTTP 504 from the GitHub release outage
since 2026-11-08 08:56 UTC, which no file of this change touches.

🎯 Fix: 90 %
💥 Break: 3 %
💸 Cost: –
⏱️ Time: –
🛡️ Security: 100 %
🏆 Score: 87
🚦 Gate: ✅ 90/5, cost and time <= 100, security 100 %

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 10:50:22 +00:00
..