Skip to content

fix: compute proceedings has_materials from each entry's own sessions - #12022

Merged
jennifer-richards merged 2 commits into
ietf-tools:mainfrom
rjsparks:proceedings-has-materials
Dec 3, 2026
Merged

jennifer-richards merged 2 commits into
ietf-tools:mainfrom
rjsparks:proceedings-has-materials

Conversation

@rjsparks

@rjsparks rjsparks commented Nov 9, 2026

Copy link
Copy Markdown
Member

Fixes a stale-reference-in-loop bug that is not currently affecting production.

organize_proceedings_sessions() read has_materials from the loop variable left over from sorting the group's sessions, so every entry for a group got the value of the group's last session. A not-meeting group with differently named sessions could have materials hidden from, or an empty row added to, the proceedings page.

no current IETF meeting has a not-meeting group with differently named sessions where only some have materials, so no published proceedings page shows the wrong result and no cache refresh is needed after deploy.

organize_proceedings_sessions() read has_materials from the loop variable
left over from sorting the group's sessions, so every entry for a group
got the value of the group's last session. A not-meeting group with
differently named sessions could have materials hidden from, or an empty
row added to, the proceedings page.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Comment thread ietf/meeting/utils.py Resolved
@codecov

codecov Bot commented Nov 9, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.28%. Comparing base (b0a87a5) to head (040e2ee).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #12022      +/-   ##
==========================================
+ Coverage   89.26%   89.28%   +0.01%     
==========================================
  Files         343      343              
  Lines       46803    46803              
==========================================
+ Hits        41781    41786       +5     
+ Misses       5022     5017       -5     

☔ 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.

Co-authored-by: Jennifer Richards <jennifer@staff.ietf.org>
@jennifer-richards
jennifer-richards merged commit dcb64c2 into ietf-tools:main Dec 3, 2026
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.

2 participants