Email notification gives an outdated list of functions

Hi everyone :waving_hand:t2:,

We’ve been building in the discounts space ever since the release of the Discount Function API and came across this weird issue a while back.

The email notification sent on our organisation’s group email when customer shares logs by heading to Settings > Apps > App name > Share logs.

We noted the following issues with the email alert.

  1. The notification includes functions that have long been removed for multiple app versions
  2. The email also uses the original name of the function and doesn’t follow the latest name.
  3. Filters don’t get applied when clicking on the hyperlinks in the email.

Here’s a screenshot from our dev dashboard vs the email

I tried raising a support ticket with the ID 62045856 and earlier ID 62045044 – but both of them got closed without a resolution.

It’s not a dealbreaker – but expected functionality for the notifications. Hopefully this post gets some eyeballs on a touchpoint that got missed?

Thanks,

Hi @lezlet,

Thanks for flagging this.

I’ll look into the notifications, it’s possible the source is not being updated frequently enough.

For the tickets you referenced: 62045044 looks like it may have been closed by mistake, and 62045856 was automatically closed after a week with no reply.

1 Like

Thank you.

Let me know once you have a look into this. As it stands, filtering through function logs is amongst the most difficult things there is for us as app parnters.

Even small things like this could make that process that much easier!

1 Like

Looks like we’ll need to update this notification to resolve the issue.

We can’t provide an ETA at this time, but we’ll update this thread once it’s resolved.

1 Like

Thank you Paige.

I’ll look forward to an update on the thread.

Hi @lezlet,

We have shipped a fix for the issues you have reported with the email notification. Let us know if you encounter any further issues. Thanks again for flagging this with us!

Thank you @Paige-Shopify , this now works as expected and pulls the latest list of discounts on the email alert.

Also, on a side note – are there any plans to bring better filtering capabilities to check through function run logs?

Appreciate all your help!

Thanks for confirming it’s working as expected now.

What kind of filtering are you looking for? At the moment it has Status, Function handles, Error types, Targets, Function IDs, Shops and Shared by store.

Thanks, we already have basic date filters, and that’s pretty good but doesn’t allow us to narrow down the timeframe.

  1. Ability to filter by date time (timestamp) and not just date
  2. Filter by Cart ID / a customer ID (if user is logged in)

In the long term, something like what we have with GraphQL queries or https://jsonquerylang.org/ would be pretty neat.

These help us narrow down the execution logs to narrow down the run log when debugging in production for brands.

Those are really great ideas! I especially like the JSON query recommendation since it’ll let you have more control over which logs are returned and doesn’t limit you to predefined filters.

I’ll capture all of this as a feature request on our side. As with any request, I can’t share an ETA or confirm if or when it’ll be implemented, but we really appreciate you taking the time to share feedback to help improve the new developer dashboard :slight_smile:

1 Like