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

IMIO / imio.news.core / 39603436137
96%

Build:
DEFAULT BRANCH: main
Ran 21 Oct 2026 01:13PM UTC
Jobs 1
Files 39
Run time 1min
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

21 Oct 2026 12:54PM UTC coverage: 96.147% (+0.1%) from 96.0%
39603436137

push

github

web-flow
fix: make search endpoints Last-Modified follow the news of the entity (#14)

* fix: make search endpoints Last-Modified follow the news of the entity

The Last-Modified header and the ETag of @search, @search_entity,
@search_newsfolder_for_entity and @search_newsitems used the modification
date of the site, which never changes. Varnish revalidated its cached
results, always got a 304 and kept the old news.

An ILastModified adapter now returns the time of the last search cache
invalidation of the requested entity. When the entity is not known, it
returns the current time, so no 304 is sent.

A change on a news item now also invalidates the entities whose news
folders show it (populating_newsfolders), also after a move. Before, only
the entity that contains the news item was invalidated, so the RAM cache
of the other entities kept the old results.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat: BAN the search endpoints in Varnish after a change in the news

After a change in the news, send a BAN of @search, @search_entity,
@search_newsfolder_for_entity and @search_newsitems to the caching
servers (CACHING_SERVERS). The clients get the new results at once, not
after the end of the Varnish TTL.

ban_physicalpath sends the BAN after the commit, and not when the
transaction fails. The BAN is sent only one time for each transaction,
also when many news items change.

Requires imio.smartweb.common >= 1.2.62 (BAN after the commit).

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

49 of 49 new or added lines in 3 files covered. (100.0%)

1148 of 1194 relevant lines covered (96.15%)

0.96 hits per line

Jobs
ID Job ID Ran Files Coverage
1 39603436137.1 21 Oct 2026 01:13PM UTC 39
96.15
GitHub Action Run
Source Files on build 39603436137
  • Tree
  • List 39
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #39603436137
  • 0444b852 on github
  • Prev Build on main (#33747447560)
  • Next Build on main (#40518440973)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc