style: apply cargo fmt across src and tests #170

Closed
David wants to merge 0 commits from david/fix/pms-226-cargo-fmt into main AGit
Owner

The check.yml CI job failed on cargo fmt --check (run #813), printing formatting diffs across src/ and tests/ files: import reordering (uuid::Uuid vs crate::modules::auth::TenantId) and call-site line-wrapping introduced by the PMS-139 TenantId sweep. Run cargo fmt --all to bring the tree back to canonical rustfmt output. No functional changes.

#PMS-226

The check.yml CI job failed on cargo fmt --check (run #813), printing formatting diffs across src/ and tests/ files: import reordering (uuid::Uuid vs crate::modules::auth::TenantId) and call-site line-wrapping introduced by the PMS-139 TenantId sweep. Run cargo fmt --all to bring the tree back to canonical rustfmt output. No functional changes. #PMS-226
style: apply cargo fmt across src and tests
Some checks failed
E2E (staging) / Playwright against staging (pull_request) Failing after 28s
Check / fmt + clippy + compile + tests (pull_request) Successful in 2m25s
Create release / Create release from merged PR (pull_request) Has been skipped
728bb1f441
The check.yml CI job failed on cargo fmt --check (run #813), printing formatting diffs across src/ and tests/ files: import reordering (uuid::Uuid vs crate::modules::auth::TenantId) and call-site line-wrapping introduced by the PMS-139 TenantId sweep. Run cargo fmt --all to bring the tree back to canonical rustfmt output. No functional changes.

#PMS-226
Author
Owner

Closing as redundant and stale. This PR's only commit was a cargo fmt fixup (PMS-226). Two things have since happened in main:

The formatting intent is already served: PR #173 (chore: cargo fmt --all after the PMS-139 TenantId sweep, c441b1c) and PR #183 (chore(fmt): apply cargo fmt --all after PMS-244..PMS-249 sweep) reformatted the whole workspace.

The specific lines this PR reflows are obsolete. It wraps TenantId::from_trusted(tenant_id) at the tickets notify/dispatch call sites, a transitional form. The tickets hub was fully migrated to TenantId in PR #171 (sweep batch 8), so main now passes the already-typed tenant_id directly. That divergence is the source of the merge conflict (in src/modules/tickets/automation.rs and src/modules/tickets/service.rs); resolving toward main loses nothing this PR intended, since it intended only formatting.

It is an AGit PR with no server branch (head exists only at refs/pull/170/head), so "Update Branch" was never available. Nothing left to merge.

Closing as redundant and stale. This PR's only commit was a `cargo fmt` fixup (PMS-226). Two things have since happened in `main`: The formatting intent is already served: PR #173 (`chore: cargo fmt --all after the PMS-139 TenantId sweep`, `c441b1c`) and PR #183 (`chore(fmt): apply cargo fmt --all after PMS-244..PMS-249 sweep`) reformatted the whole workspace. The specific lines this PR reflows are obsolete. It wraps `TenantId::from_trusted(tenant_id)` at the tickets notify/dispatch call sites, a transitional form. The tickets hub was fully migrated to `TenantId` in PR #171 (sweep batch 8), so `main` now passes the already-typed `tenant_id` directly. That divergence is the source of the merge conflict (in `src/modules/tickets/automation.rs` and `src/modules/tickets/service.rs`); resolving toward `main` loses nothing this PR intended, since it intended only formatting. It is an AGit PR with no server branch (head exists only at `refs/pull/170/head`), so "Update Branch" was never available. Nothing left to merge.
David closed this pull request 2026-06-13 12:41:32 +02:00
Some checks are pending
E2E (staging) / Playwright against staging (pull_request) Failing after 28s
Check / fmt + clippy + compile + tests (pull_request) Successful in 2m25s
Required
Details
Create release / Create release from merged PR (pull_request) Has been skipped
E2E / * (pull_request)
Required

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
psa-systems/mokosh-server!170
No description provided.