[graph calendar] Handle non-UTC time zone responses from Graph
Categories
(MailNews Core :: Networking: Exchange, task)
Tracking
(Not tracked)
People
(Reporter: edicharry, Assigned: huntsdabibil, NeedInfo)
References
Details
Attachments
(4 external files)
According to https://learn.microsoft.com/en-us/graph/api/resources/datetimetimezone?view=graph-rest-1.0 , times associated with calendar events can be returned with a specified time zone. From our test account, we have only seen UTC times, but the documentation is unclear on whether the server will always return events in UTC. In addition, clients can use a header to change the time zone reported by the server. See https://learn.microsoft.com/en-us/graph/api/event-get?view=graph-rest-1.0&tabs=http
Represent selected event fields, conditional resource writes, retries
and continuation responses in the existing Graph fake service. Keep
legacy delta fixtures usable until the stable-read dependency lands.
Local validation
Local Windows checks on the assembled current-upstream calendar stack plus
the independent notification patch passed: a native build with zero compiler
warnings; 32 selected component files; Graph appointment coverage (43 cases,
341 assertions); provider coverage (4 cases, 11 assertions); the OAuth provider
file; and four headless browser files (114 expected results, including two
expected todos, zero unexpected results). ESLint passed with no errors or
warnings. Intermediate JavaScript syntax and native interface boundary checks
passed. Individual intermediate native commits were not separately built.
Headless files: browser_eventDialogConflictPrompt.js, browser_eventUndoRedo.js,
browser_graphOfflineConflicts.js and browser_accountHubSyncCalendarExchange.js.
The generic test dispatcher stalled before UI execution; direct headless
mochitest execution passed all four files.
Remaining acceptance: real Outlook create/edit/delete, conditional versions,
offline conflicts and undo/redo; fresh initial mail import followed by a later
arrival; and upstream CI. Earlier live testing confirmed calendar loading and
cleared all warning icons. It does not establish live write acceptance.
Testing remains local. This WIP does not request landing.
Prepared and refined with OpenAI Codex assistance in collaboration with the
human contributor. The contributor owns the submission. No account profile,
private raw diagnostic log or authentication credential is included.
Use the stable events endpoint and follow continuation URLs unchanged.
Validate the full snapshot before local mutation; preserve queued work
and local reminder state. Convert Windows/IANA and all-day dates.
Include the JSON listener boundary, account refresh queue, resource
fixtures and read/continuation regressions. This is the largest review
unit because the native and JavaScript listener contract must agree.
Local validation
Local Windows checks on the assembled current-upstream calendar stack plus
the independent notification patch passed: a native build with zero compiler
warnings; 32 selected component files; Graph appointment coverage (43 cases,
341 assertions); provider coverage (4 cases, 11 assertions); the OAuth provider
file; and four headless browser files (114 expected results, including two
expected todos, zero unexpected results). ESLint passed with no errors or
warnings. Intermediate JavaScript syntax and native interface boundary checks
passed. Individual intermediate native commits were not separately built.
Headless files: browser_eventDialogConflictPrompt.js, browser_eventUndoRedo.js,
browser_graphOfflineConflicts.js and browser_accountHubSyncCalendarExchange.js.
The generic test dispatcher stalled before UI execution; direct headless
mochitest execution passed all four files.
Remaining acceptance: real Outlook create/edit/delete, conditional versions,
offline conflicts and undo/redo; fresh initial mail import followed by a later
arrival; and upstream CI. Earlier live testing confirmed calendar loading and
cleared all warning icons. It does not establish live write acceptance.
Testing remains local. This WIP does not request landing.
Prepared and refined with OpenAI Codex assistance in collaboration with the
human contributor. The contributor owns the submission. No account profile,
private raw diagnostic log or authentication credential is included.
Exercise complete-cache protection when conversion, later pages or
conflicting repetitions fail. Cover identical repetition, old token
cleanup and orphan pruning after creation is available to the fixture.
Local validation
Local Windows checks on the assembled current-upstream calendar stack plus
the independent notification patch passed: a native build with zero compiler
warnings; 32 selected component files; Graph appointment coverage (43 cases,
341 assertions); provider coverage (4 cases, 11 assertions); the OAuth provider
file; and four headless browser files (114 expected results, including two
expected todos, zero unexpected results). ESLint passed with no errors or
warnings. Intermediate JavaScript syntax and native interface boundary checks
passed. Individual intermediate native commits were not separately built.
Headless files: browser_eventDialogConflictPrompt.js, browser_eventUndoRedo.js,
browser_graphOfflineConflicts.js and browser_accountHubSyncCalendarExchange.js.
The generic test dispatcher stalled before UI execution; direct headless
mochitest execution passed all four files.
Remaining acceptance: real Outlook create/edit/delete, conditional versions,
offline conflicts and undo/redo; fresh initial mail import followed by a later
arrival; and upstream CI. Earlier live testing confirmed calendar loading and
cleared all warning icons. It does not establish live write acceptance.
Testing remains local. This WIP does not request landing.
Prepared and refined with OpenAI Codex assistance in collaboration with the
human contributor. The contributor owns the submission. No account profile,
private raw diagnostic log or authentication credential is included.
Updated•1 month ago
|
Updated•1 month ago
|
Updated•1 month ago
|
Updated•1 month ago
|
| Reporter | ||
Comment 4•1 month ago
|
||
Hunter, please attach only a single patch to this issue and tag me for review on it. You can tag reviewers either manually in phabricator or using r=[user or group name] at the end of the commit message. You can tag me directly (edicharry) or tag #thunderbird-back-end-reviewers. Almost all of your patches are marked as WIP because they don't have reviewers.
Updated•1 month ago
|
Hi Eleanor, I added checkin-needed-tb and set the target milestone to 160 Branch. Please let me know if you'd prefer a different milestone and I'll change it. Thanks!
| Reporter | ||
Updated•23 days ago
|
| Reporter | ||
Comment 6•23 days ago
|
||
This should be 162. In general, you should always pick the current development milestone.
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/102575846dbc
Respect Graph event time zones r=edicharry
| Reporter | ||
Updated•22 days ago
|
| Reporter | ||
Comment 8•22 days ago
|
||
| Reporter | ||
Updated•20 days ago
|
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/812b0162a418
Remove duplicated date/time fields in test data object. r=mkmelin
Updated•1 day ago
|
Description
•