Skip to content

docs(activesync): note SPL-based exception classification as 6.1 follow-up - #114

Merged
TDannhauer merged 1 commit into
FRAMEWORK_6_0from
docs/todo-spl-exception-classification
Nov 3, 2026
Merged

TDannhauer merged 1 commit into
FRAMEWORK_6_0from
docs/todo-spl-exception-classification

Conversation

@TDannhauer

Copy link
Copy Markdown
Contributor

Summary

  • Adds one item to doc/todo.md (FRAMEWORK_6_1 → Driver and backend shape): base the src/ app exceptions on the SPL hierarchy (HordeUnexpectedValueException for constraint violations) while keeping the InvalidDataThrowable marker for the retry-policy contract, and let the src/ driver classify on both.

Motivation

Follow-up to the review discussion on horde/Exception#6: the marker interface exists only because the legacy <App>_Exception classes extend Horde_Exception_Wrapped and cannot also extend an SPL type. This records the target state so it is not forgotten when the exceptions move to src/, and notes why the lib/ _importFailure() check must stay narrow on FRAMEWORK_6_0.

Changes

  • doc/todo.md — one bullet, documentation only.

Test plan

  • Documentation change, no code.

…ow-up

Record why Status 6 is currently signalled through the
Horde\Exception\InvalidDataThrowable marker (legacy <App>_Exception
classes cannot extend an SPL type) and the target for the src/ stack:
SPL bases such as HordeUnexpectedValueException plus the marker, with the
driver classifying on both. Keeps the FRAMEWORK_6_0 lib/ check narrow.
Follows the review note on horde/Exception#6.
@TDannhauer
TDannhauer requested a review from ralflang November 3, 2026 08:17
@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown

🔍 CI Results

Overall: ❌ 12/12 lanes failed

TL;DR: ❌ Quality issues: PHP-CS-Fixer: 49 files.

Summary by PHP Version

PHP dev stable
8.1 ❌ ❌
8.2 ❌ ❌
8.3 ❌ ❌
8.4 ❌ ❌
8.5 ❌ ❌
8.6 ❌ ❌

Quality Metrics

  • PHPUnit: did not run (12 lanes exited non-zero with no test output) ❌
  • PHPStan: No errors found ✅ — 8 advisories at level 2
  • PHP-CS-Fixer: 49 unique files with issues (of 238 checked) ⚠️
❌ Failed Lanes

php8.1-dev

  • PHPUnit: 0 failures, 0 errors

php8.1-stable

  • PHPUnit: 0 failures, 0 errors

php8.2-dev

  • PHPUnit: 0 failures, 0 errors

php8.2-stable

  • PHPUnit: 0 failures, 0 errors

php8.3-dev

  • PHPUnit: 0 failures, 0 errors

php8.3-stable

  • PHPUnit: 0 failures, 0 errors

php8.4-dev

  • PHPUnit: 0 failures, 0 errors
  • PHP-CS-Fixer: 49 files with issues

php8.4-stable

  • PHPUnit: 0 failures, 0 errors

php8.5-dev

  • PHPUnit: 0 failures, 0 errors

php8.5-stable

  • PHPUnit: 0 failures, 0 errors

php8.6-dev

  • PHPUnit: 0 failures, 0 errors

php8.6-stable

  • PHPUnit: 0 failures, 0 errors

CI powered by horde-components • View full results

@TDannhauer
TDannhauer merged commit f0a2d00 into FRAMEWORK_6_0 Nov 3, 2026
1 check failed
ralflang added a commit that referenced this pull request Nov 13, 2026
Release version 3.3.0

fix(activesync): log failed state saves through the ActiveSync logger
fix(activesync): keep sync state of two devices apart after a device change
Merge pull request #114 from horde/docs/todo-spl-exception-classification
docs(activesync): note SPL-based exception classification as 6.1 follow-up
feat(activesync): let backends set the per-item status of a failed change
fix(activesync): read meeting requests with the Horde\Icalendar reader
fix(activesync): hold no DB transaction across backend calls in State_Sql
Merge pull request #107 from horde/feat/ops-health-evaluator
Merge pull request #106 from horde/fix/activesync-ghost-fsr-and-backlog-health
docs(activesync): plan the typed collection object
chore(activesync): require PHP 8.1
fix(ops): type collection snapshots and match constructor arity
Merge pull request #108 from horde/docs/ops-monitor
feat(ops): add ActiveSync health evaluation
docs(ops): document ActiveSync operations monitor
fix(activesync): heal ghost collections instead of FolderSync loops
fix(search): finish Gmail Search documents before the client gives up
feat(search): stream mailbox Search to survive Gmail's 30s timeout
feat(activesync): force Sync TruncationSize override
Merge pull request #98 from horde/fix/bogus-binary-size-and-clients
feat(sync): recover undrained MOREAVAILABLE backlogs via PING
fix(ping): send Status 1 instead of an empty body on stale-cache exit
fix(activesync): address review on BINARY.SIZE size handling
docs(activesync): record Gmail/Nine/iOS body truncation behaviour
fix(activesync): ignore bogus BINARY.SIZE in body part size
fix(sync): sweep pre-existing \Deleted messages once per folder
fix(sync): ignore read state in draft no-op comparison
fix(sync): skip no-op draft rewrites and treat \Deleted as removed
fix(sync): apply all InstanceId removes for a recurring series
fix(sync): export draft changes under the client's ServerId
docs(activesync): document FRAMEWORK_6_1 src-first refactor approach
chore(activesync): enable Sync streaming by default and close #83
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant