• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

gwicke / restbase / 297 / 1
92%
master: 92%

Build:
DEFAULT BRANCH: master
Ran 30 Mar 2015 11:59PM UTC
Files 9
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

30 Mar 2015 11:57PM UTC coverage: 86.61% (+0.5%) from 86.08%
297.1

push

travis-ci

gwicke
Consistently use previous renders for html2wt conversion

Previously we didn't properly handle template re-renders in the middle of an
edit. The HTML and data-parsoid passed to Parsoid would always use the latest
render, which was potentially out of sync with the original render. This could
lead to dirty diffs.

This patch addresses this by:

- accepting an 'If-Match' header in transform methods, which is expected to
  contain the Etag (timeuuid) returned by the original HTML / data-parsoid
- Also, as a convenient way to support this quickly in current VE, injecting
  the timeuuid in a meta tag in the head section of the saved HTML & plucking
  that back out if no If-Match header was provided.

Bug: https://phabricator.wikimedia.org/T94422

815 of 941 relevant lines covered (86.61%)

41.6 hits per line

Source Files on job 297.1
  • Tree
  • List 0
  • Changed 8
  • Source Changed 4
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 297
  • Travis Job 297.1
  • 65bb3c93 on github
  • Prev Job for on master (#289.1)
  • Next Job for on master (#299.3)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc