Closed Bug 1335953 Opened 8 years ago Closed 6 years ago

Wrap up and deploy tc-pulse, tc-lib-pulse

Categories

(Taskcluster :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bstack, Assigned: dustin)

References

Details

I think it's pretty much ready, but I want to have some quality time with it before we smash the champagne on the bow.
See Also: → 1335954
I'll brew some beer to smash on it while you do that ;) Seriously, though, let me know how I can help.
API cleanup: A) Remove namespace() and overview(), possibly just rename overview to serverInfo B) serverInfo should only include rabbitmq version, as key rabbitMQVersion C) exchanges() should not return: vhost, type, durable, auto-delete, arguments (these are not relevant to pulse users) D) createNamespace() should be renamed namespace(), and MUST return: - expiration time - rabbitmq connection string (should not return contact information) ---- Further more, I bet that the alerting rules are only slightly smarter than what we have today: messagePublishRateTolerance messageCountTolerance We need to find a more robust strategy to be alerting on. That's half the motivation for this project in the first place.
It's a minor cleanup, but currently all API endpoints that take a namespace verify its validity manually. TC-lib-api allows the API declaration to specify a regex for parameters, so we should use that instead.
Also, right now the issued users can only read `taskcluster/.*`. In bug 1345954 I'm looking for what that should be, but perhaps `.*`.
Assignee: bstack → nobody
Status: ASSIGNED → NEW
Blocks: 1436735
Whoops, this is about tc-pulse, not the pulse libraries. This doesn't need love right now (it's on hold..)
No longer blocks: 1436735
Blocks: 1436456
Jonas, I think this is on you to do a mix of cleanup, file followups, and accept suboptimal design :)
Assignee: nobody → jopsen
We just agreed, that this is shippable, and we can improve monitoring later :)
Assignee: jopsen → dustin
Summary: Somebody on the team should put some TLC into taskcluster-pulse → Wrap up and deploy tc-pulse, tc-lib-pulse
It looks like pulse-publisher is OK for now, and so far we're planning to just configure a lot of pulse credentials for the first few drafts of r13y. This is still on my list of things to do, but lower priority.
Depends on: 1466937
(In reply to Jonas Finnemann Jensen (:jonasfj) from comment #3) > API cleanup: > A) Remove namespace() I think this was only to free up the method name for D; see below. > C) exchanges() should not return: vhost, type, durable, auto-delete, > arguments > (these are not relevant to pulse users) This appears to have been removed in the last year :)51 > D) createNamespace() should be renamed namespace(), and MUST return: > - expiration time > - rabbitmq connection string > (should not return contact information) This is already renamed `claimNamespace`, parallel to `claimWork` for example. And thus doesn't overlap with `namespace`. it already returns the expiration time and connection string. Probably none of the methods should return contact information, mostly the listNamespaces / namespace methods, for PII protection. (In reply to Dustin J. Mitchell [:dustin] pronoun: he from comment #4) > It's a minor cleanup, but currently all API endpoints that take a namespace > verify its validity manually. TC-lib-api allows the API declaration to > specify a regex for parameters, so we should use that instead. In fact, this requires bug 1344043, but that's done now.. https://github.com/taskcluster/taskcluster-pulse/pull/96
Oh, that bug is *not* finished. Yet the tests pass. Curiouser and curiouser.
Depends on: 1344043
I just turned this service up in production, including the rotation/expiration but without the monitoring component. I'd like to stub some of the more destructive bits of that out, set up a papertrail alert for when it would *try* to run those bits, and make sure it's not going to delete the world.
https://github.com/taskcluster/taskcluster-lib-pulse/pull/3 -- implements PulseConsumer. I've filed bugs for other required functionality.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.