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

adobe / aepsdk-rulesengine-typescript / 37992916762
88%

Build:
DEFAULT BRANCH: main
Ran 09 Oct 2026 09:22PM UTC
Jobs 1
Files 35
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

09 Oct 2026 09:21PM UTC coverage: 88.271% (+0.08%) from 88.189%
37992916762

push

github

web-flow
Normalize iam.action in historical event conditions (#36)

* Normalize iam prefixed fields in historical event conditions

AJO historical conditions can contain iam prefixed fields beyond iam.id and
iam.eventType, for example the "Show until click through" frequency rule:

  { "iam.eventType": "interact", "iam.action": "clicked", "iam.id": "..." }

Web SDK stores event history using non-prefixed field names
({ eventType, eventId, action }). normalizeEvent only renamed iam.id and
iam.eventType, so iam.action was hashed verbatim and never matched the stored
click. The historical count stayed at 0 and "until click through" messages
were shown again after being clicked.

Strip the iam. prefix from any remaining fields after the existing
eventType/eventId normalization. The prefixed value wins when both forms are
present, consistent with the existing iam.eventType handling.

* Limit historical event normalization to iam.action

Only rename iam.action to action instead of stripping the iam. prefix from
every field. Other iam prefixed fields are left in place, matching the
previous behavior for unknown fields.

---------

Co-authored-by: Jon Snyder <jonsnyder01@gmail.com>

211 of 220 branches covered (95.91%)

Branch coverage included in aggregate %.

6 of 6 new or added lines in 1 file covered. (100.0%)

805 of 931 relevant lines covered (86.47%)

28.64 hits per line

Jobs
ID Job ID Ran Files Coverage
1 37992916762.1 09 Oct 2026 09:22PM UTC 35
88.27
GitHub Action Run
Source Files on build 37992916762
  • Tree
  • List 35
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • b0812cc7 on github
  • Prev Build on main (#29600223105)
  • Next Build on main (#38599242185)
  • 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