Bug 10502

Summary: Ensure BuildLogger doesn't try and update whilst the target wiki page is being edited
Product: [Infrastructure] AutoBuilder Reporter: Joshua Lock <joshuagloe>
Component: autobuilderAssignee: Joshua Lock <joshuagloe>
Status: RESOLVED INVALID QA Contact:
Severity: enhancement    
Priority: Medium+ CC: infras.ab.watcher, Infras.watcher, pidge
Version: 2.2   
Target Milestone: 2.3 M2   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Bug Depends on: 10466    
Bug Blocks:    

Description Joshua Lock 2016-10-26 11:53:52 UTC
As we encourage actively using the BuildLog wiki page for SWAT we should ensure that the buildlogger script, and future enhancements which update the wiki page (i.e. with build failure info), behave appropriately when the page is currently being edited.
Comment 1 Joshua Lock 2016-11-23 14:36:13 UTC
We already ensure that we won't overwrite a page if it has changed since we fetched the content (the logic is fetch content, update with new results, post content), however we should perhaps improve the logic so that a failed edit attempt isn't fatal.
Comment 2 Joshua Lock 2016-12-08 15:30:28 UTC
Move to M2 as it's about time the AB stabilised for the first milestone build
Comment 3 Joshua Lock 2017-01-20 13:32:18 UTC
The wikilog status plugin won't update the wiki page if it's already being edited.