2020-01-01 01:11:06 UTC - Rodric Rabbah: i suggest sending an email to the dev list with your proposed change, then have it.
all the parameters on a trigger feed creation are passed to the feed action - i understand you want to separately attach parameters to the trigger itself iirc some feeds allowed you to do this by specifying a trigger payload. if you attach parameters on the trigger itself, then you also need to define a precedence policy in case the feed also adds overlapping parameters. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1577841066107400?thread_ts=1577819087.106400&cid=C3TPCAQG1 ---- 2020-01-01 17:31:52 UTC - Bruce Adams: Whoa. And I'm mistaken. Trying a little experiment on IBM Cloud Functions and AWS Lambda, I get the same behavior. They both continue to use the warm instance after a Python exception is raised out of the action code. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1577899912107700?thread_ts=1577817049.105300&cid=C3TPCAQG1 ---- 2020-01-01 17:33:44 UTC - Bruce Adams: The function signature for `main` here is a little unusual, but means I can run this exact code on both OpenWhisk and AWS Lambda. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1577900024107900?thread_ts=1577817049.105300&cid=C3TPCAQG1 ---- 2020-01-01 17:35:07 UTC - Bruce Adams: Invoking this action repeatedly via the web user interface, the strike count continues to go up after the first failure. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1577900107108300?thread_ts=1577817049.105300&cid=C3TPCAQG1 ---- 2020-01-01 17:35:41 UTC - Bruce Adams: *Results:* ```{ "error": "6 strikes! You're out!" }``` https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1577900141108500?thread_ts=1577817049.105300&cid=C3TPCAQG1 ---- 2020-01-01 17:38:32 UTC - Bruce Adams: My production use of IBM Cloud Functions ran on periodic and other event triggers. Maybe that brought different behavior? Maybe there are differences in the several versions of Python base images? Wow. I'm confused. confusedparrot : Bruce Adams https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1577900312108700?thread_ts=1577817049.105300&cid=C3TPCAQG1 ---- 2020-01-01 17:41:43 UTC - Bruce Adams: I guess the failures that I _know_ I was hitting were running out of resources. In one case I had a thread leak (oops) and in another I was leaking connections to `etcd` (creating a new connection on each invocation with no way to close old connections). I'm quite sure those warm instances were typically not reused after the failure. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1577900503108900?thread_ts=1577817049.105300&cid=C3TPCAQG1 ---- 2020-01-01 17:57:05 UTC - Bruce Adams: On IBM Cloud Functions, *Python 3.6.6* does what I want. *Python 3.7* (the current default for Python in the web UI) does not. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1577901425109400?thread_ts=1577817049.105300&cid=C3TPCAQG1 ---- 2020-01-01 17:57:32 UTC - Bruce Adams: I'm glad to know I'm not imagining what I saw in the past! https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1577901452109600?thread_ts=1577817049.105300&cid=C3TPCAQG1 ---- 2020-01-01 18:35:44 UTC - Bruce Adams: It turns out that my compliment yesterday needs an asterisk :eight_spoked_asterisk:. The behavior I so appreciate is gone in the Python 3.7 base. I can still see it in the Python 3.3.6 base. (I chatter a bit about all of this in a thread under my yesterday message.) I wonder: Why this behavior change? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1577903744112800 ---- 2020-01-01 18:39:40 UTC - Bruce Adams: I’m sad that I cannot use a comparison to OpenWhisk in my complaint to AWS about the Lambda behavior. I was very much looking forward to saying: _See there! OpenWhisk does the right thing!_ https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1577903980113100?thread_ts=1577817049.105300&cid=C3TPCAQG1 ----