Skip to content

feat: set rescheduled sessions as cancelled - #12048

Merged
jennifer-richards merged 3 commits into
ietf-tools:mainfrom
rudimatz:fix/ics-resched-status
Nov 23, 2026
Merged

jennifer-richards merged 3 commits into
ietf-tools:mainfrom
rudimatz:fix/ics-resched-status

Conversation

@rudimatz

@rudimatz rudimatz commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

fixes #9628

Issue:
RFC 5545 allows only TENTATIVE, CONFIRMED or CANCELLED on a VEVENT, so the vacated slot of a rescheduled session has to be CANCELLED for calendars to drop it

Solution:
set rescheduled session as CANCELLED as add description with the new session time

@rudimatz

rudimatz commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor Author

new:

UID:ietf-123-19011-procon
CLASS:PUBLIC
DESCRIPTION:Session I\n\nRescheduled to Friday 11:30-13:00 (Europe/Madrid)
 \n\nNote: Rescheduled to Friday 11:30\n\nOnsite tool: https://meetings.con
 f.meetecho.com/onsite123/?session=34573\n\nMeetecho: https://meetings.conf
 .meetecho.com/ietf123/?session=34573\n\nSession materials: https://datatra
 cker.ietf.org/meeting/123/session/procon\n\nSee in schedule: https://datat
 racker.ietf.org/meeting/123/agenda#row-123-2025-07-21-mon-0730-gen-procon
 \n\nAgenda https://datatracker.ietf.org/meeting/123/materials/agenda-123-p
 rocon
LOCATION:Patio 2
STATUS:CANCELLED

OLD

UID:ietf-123-19011-procon
CLASS:PUBLIC
DESCRIPTION:Session I\n\nNote: Rescheduled to Friday 11:30\n\nOnsite tool:
  https://meetings.conf.meetecho.com/onsite123/?session=34573\n\nMeetecho: 
 https://meetings.conf.meetecho.com/ietf123/?session=34573\n\nSession mater
 ials: https://datatracker.ietf.org/meeting/123/session/procon\n\nSee in sc
 hedule: https://datatracker.ietf.org/meeting/123/agenda#row-123-2025-07-21
 -mon-0730-gen-procon\n\nAgenda https://datatracker.ietf.org/meeting/123/ma
 terials/agenda-123-procon
LOCATION:Patio 2
STATUS:RESCHEDULED TO FRIDAY 09:30-11:00
@rudimatz

rudimatz commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor Author

one caveat: this solution shows the rescheduled time in the description, plus a note (as entered by secretariat). This might lead to duplicate info (see example NEW)

However I'd keep it as it is, since we might not want to rely for the note to always be there like in the example.

@rudimatz
rudimatz marked this pull request as ready for review November 14, 2026 20:05
@codecov

codecov Bot commented Nov 14, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 96.29630% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 89.30%. Comparing base (b0a87a5) to head (5c95bf3).
⚠️ Report is 8 commits behind head on main.

Files with missing lines Patch % Lines
ietf/meeting/views.py 96.29% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #12048      +/-   ##
==========================================
+ Coverage   89.26%   89.30%   +0.03%     
==========================================
  Files         343      343              
  Lines       46803    46818      +15     
==========================================
+ Hits        41781    41812      +31     
+ Misses       5022     5006      -16     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@jennifer-richards jennifer-richards left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggest adding a prefix to the SUMMARY field so that the cancelled session is clearly identifiable as a tombstone for a rescheduled session and not mistaken for a session that was simply cancelled. On many calendar apps (eg, MacOS Calendar), the description field is only shown on a detail view for the event.

Something like:

SUMMARY:Rescheduled: procon - ...
@rudimatz

rudimatz commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor Author

updated summary:

BEGIN:VEVENT
SUMMARY:Rescheduled: procon - Process Document Consolidation (Rescheduled 
 to Friday 11:30)
DTSTART:20250721T073000Z
DTEND:20250721T093000Z
DTSTAMP:20250616T025252Z
UID:ietf-123-19011-procon

(the part in brackets was added to the title in DB)

@jennifer-richards
jennifer-richards merged commit df6d4b8 into ietf-tools:main Nov 23, 2026
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Nov 27, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

2 participants