GeezerVison is showing github.com — fix(contracts): keep admin tenant timestamps as wire strings (#865) by Storypapst · Pull Request #869 · OpenResilienceInitiative/ORISO-UserService
Conversation
Storypapst
commented
Jul 28, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Summary
- keep the TenantAdminService confirmation timestamps as plain wire strings because the provider emits offset-free local timestamps, not RFC 3339 date-times
- prove the administrative client deserializes the provider-shaped response without global generator type remapping
- ratchet only the administrative schema so
format: date-time cannot return
Why
Aggregate-only PreDev traces exposed successful TenantService responses failing inside the UserService client after transport. Parallel incident PR #874 owns the public-client/HttpTenantFilter outage path.
This PR owns the remaining administrative twin. The same two fields exist in tenantadminservice.yaml and receive the same offset-free provider values. Declaring them as RFC 3339 date-time would generate an incompatible temporal type even though UserService does not consume these timestamps as dates.
Ownership reconciliation with #874
Red-green proof
- before the revision, the administrative behavioral test received
LocalDateTime instead of the contract-honest wire String
- the CI contract failed for both administrative confirmation fields while
format: date-time remained
- after the revision, both tests pass and the original offset-free values are preserved as strings
- the later ownership regression produced a real merge conflict with fix(tenant): stop 403-ing every request on a local-date-time privacy stamp (#872) #874; the revised exact head removes the duplicate public files and the conflict
Verification on exact head
- clean unit suite: 3,374 tests, 0 failures/errors, 4 skips
- clean integration suite: 840 tests, 0 failures/errors, 3 environment-dependent skips
- Python CI contracts: 14 tests, green
- package build, Spotless and diff checks: green
- focused administrative Java and Python contract tests: green
- all 12 GitHub checks on the exact head are terminal green, including both
full integration jobs, branch and PR builds, Docker validation, Redis, both
MariaDB jobs, OpenAPI contracts and Required PreDev CI
No database reset was needed; integration tests used isolated test schemas.
Runtime acceptance after deployment
After #874 and this PR reach PreDev, an aggregate-only query must report zero confirmation-timestamp deserialization failures on both public and administrative tenant calls.
This PR is open against pre-dev; it makes no merge or deployment claim. It does not change the Matrix-only target: Rocket.Chat and Jitsi remain removal targets, with the ORISO-owned frontend, controlled Element Call/MatrixRTC fork and LiveKit as the intended communication stack.
Related #872
Closes #865
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
coderabbitai
Bot
commented
Jul 28, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Important
Review skipped
Auto reviews are disabled on base/target branches other than the default branch.
Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro Plus
Run ID: d3fc3ed6-38e9-451c-ac7e-c336322ea974
You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.
Use the checkbox below for a quick retry:
✨ Finishing Touches
✨ Simplify code
- Create PR with simplified code
- Commit simplified code in branch
fix/tenant-localdatetime-contract-865
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
❤️ Share
Comment @coderabbitai help to get the list of available commands.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Jul 28, 2026
Storypapst
changed the title
fix(contracts): align TenantService local timestamps (#865)
fix(contracts): keep admin tenant timestamps as wire strings (#865)
Jul 28, 2026
This was referenced Jul 28, 2026
|
Ownership correction published at exact head fd178e2cec333b48ee2fdb2ef7cf2876979ac1d4. The accidental public TenantService overlap from the intermediate head is removed: #869 is Admin-only again, services/tenantservice.yaml matches origin/pre-dev, and an exact synthetic merge with #874 head dea5c01c6d097669b3dc09d44164a5b0de7dd3be is conflict-free. Local proof is green: full unit/build/CI-contract pipeline plus 840 required integration tests (0 failures/errors, 3 skips). No database reset was needed. New GitHub checks are running; this is not a merge or deployment claim.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Terminal verification update: all 12 GitHub checks on exact head fd178e2cec333b48ee2fdb2ef7cf2876979ac1d4 are green. PR remains open and draft with no human review, merge or deployment claim.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Independent exact-diff CodeRabbit CLI review against origin/pre-dev: 3 changed files reviewed, 0 findings. This supplements the successful draft-skip status but is not human approval.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
All checks on current head fd178e2 are green, including OpenAPI provider/consumer contracts, required integration tests, MariaDB schema contracts, Redis contracts, Docker validation, and required PreDev CI. The coordinated UserService canary also participated in the passing Matrix/Element Call PreDev gate documented in OpenResilienceInitiative/ORISO-Helm#167.
@Hassan9215 @Shirloin please review the current head and its rollout compatibility.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Bugbot is not enabled for your account, so this pull request was not reviewed.
Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
…e-series-id-167
fix(chat): restore V2 invite-link assignment contract
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Sep 29, 2026
Uh oh!
There was an error while loading. Please reload this page.
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|