Skip to content

feat: create docevents for adding/removing obs/updates/replaces - #10898

Merged
jennifer-richards merged 4 commits into
ietf-tools:mainfrom
rudimatz:feat/add-docevents-for-updates-obs
Dec 3, 2026
Merged

jennifer-richards merged 4 commits into
ietf-tools:mainfrom
rudimatz:feat/add-docevents-for-updates-obs

Conversation

@rudimatz

@rudimatz rudimatz commented May 19, 2026 •

Copy link
Copy Markdown
Contributor

fixes #1433

Adds History entries on both documents when a relation is added or removed:

  • RPC tool publishes an RFC that obsoletes or updates other RFCs (by system user)
  • RPC tool updates an RFC's metadata and adds or removes obsoletes/updates (by system user)
  • a draft's replaces list changes: the replaced draft now gets "Replaced by …" / "No longer replaced by …" (by the person making the change; the replacing draft already had an entry)

Example:
add log entries like this for obs and updates relations
image

@rudimatz

Copy link
Copy Markdown
Contributor Author

relates to #10851, which contains the main logic... this only adds DocEvents for the history tab in DT

@rudimatz

Copy link
Copy Markdown
Contributor Author

possibly OBE, will turn into draft

@rudimatz
rudimatz marked this pull request as draft May 19, 2026 21:09
@rudimatz

Copy link
Copy Markdown
Contributor Author

see also #10851 (review) for post-MVP fix

@codecov

codecov Bot commented May 19, 2026 •

Copy link
Copy Markdown

Codecov Report

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

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #10898      +/-   ##
==========================================
+ Coverage   89.26%   89.29%   +0.02%     
==========================================
  Files         343      343              
  Lines       46803    46822      +19     
==========================================
+ Hits        41781    41809      +28     
+ Misses       5022     5013       -9     

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

@rudimatz
rudimatz force-pushed the feat/add-docevents-for-updates-obs branch from dab2714 to 9a6fb83 Compare November 14, 2026 22:40
@rudimatz rudimatz changed the title feat: create docevents for adding/removing obs/updates feat: create docevents for adding/removing obs/updates/relates Nov 14, 2026
@rudimatz rudimatz changed the title feat: create docevents for adding/removing obs/updates/relates feat: create docevents for adding/removing obs/updates/replaces Nov 14, 2026
@rudimatz

Copy link
Copy Markdown
Contributor Author

regarding other relation types:

  • possibly-replaces: already on the suggesting draft, not on the suggested draft (I think this is fine since its only a suggestion)
  • to*: At IESG approval each affected RFC gets "New status of … approved by the IESG"

@rudimatz
rudimatz marked this pull request as ready for review November 15, 2026 00:16
@jennifer-richards
jennifer-richards merged commit c09cf05 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.

History doesn't show when a document is updated or obsoleted

2 participants