fix: reject multiple @remote functions on the same queue-based resour…#234
fix: reject multiple @remote functions on the same queue-based resour…#234
Conversation
9937a9d to
afd7754
Compare
QA ReportStatus: WARN ScopeFull Run (escalated) — PR modifies Quality Gate
Test Results
All 12 failures are pre-existing (known P4 issues on main):
Coverage: 73.11-73.21% (threshold: 65%) — PASS Flaky Test CheckNew test file Coverage ImpactNo meaningful coverage regression. PR Diff Analysis
Design observations:
Test Quality (PR adds tests)4 tests in
Missing coverage (non-blocking):
Style notes:
Known Issue Check
RecommendationBLOCK — The implementation approach (per-object attribute instead of module-level dict) is sound and avoids the test isolation concerns mentioned in the PR description. The test coverage is adequate for the feature, with minor gaps noted above. |
Two
@remotefunctions on the same queue-based resource config silently routes the second to the first function's handler_queue_resource_ownersdict tracking which queue-based resource config (byid()) has already been claimed by a@remotefunction@remotetries to use the same config, raises ValueError with a clear message naming both functions and suggesting a separate resource config