Closed
Bug 1488789
Opened 7 years ago
Closed 7 years ago
Use tc-lib-pulse in taskcluster-auth
Categories
(Taskcluster :: Services, enhancement)
Taskcluster
Services
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: dustin, Assigned: dustin)
References
Details
Switch from using PulseListener to using tc-lib-pulse to consume and produce messages.
| Assignee | ||
Comment 1•7 years ago
|
||
Comment 2•7 years ago
|
||
Commits pushed to master at https://github.com/taskcluster/taskcluster-auth
https://github.com/taskcluster/taskcluster-auth/commit/c750ed2c970fb73422f5673986dd96f92ddddc56
Bug 1488789 - use taskcluster-pulse to get pulse creds
https://github.com/taskcluster/taskcluster-auth/commit/40e44eacf15ed2b40e309f16ec909a08b08b33c0
Merge pull request #170 from djmitche/bug1488789
Bug 1488789 - use taskcluster-pulse to get pulse creds
| Assignee | ||
Comment 3•7 years ago
|
||
2018-10-17T19:10:33.232016+00:00 app[web.2]: AssertionError [ERR_ASSERTION]: credentials is required
2018-10-17T19:10:33.232046+00:00 app[web.2]: at Object.claimedCredentials (/app/node_modules/taskcluster-lib-pulse/src/credentials.js:58:3)
2018-10-17T19:10:33.232050+00:00 app[web.2]: at setup (/app/src/main.js:155:31)
because auth doesn't have a static client. Hmm.
Comment 4•7 years ago
|
||
Commit pushed to master at https://github.com/taskcluster/taskcluster-auth
https://github.com/taskcluster/taskcluster-auth/commit/66f7ffd1d4d04a22b7394bfb249f1d947d00b971
Bug 1488789 - provide taskcluster credentials for use with tc-pulse
| Assignee | ||
Comment 5•7 years ago
|
||
Setting up a static client leads to an H20 app boot timeout. I had forgotten that consuming blocks until the channel is created, which requires a connection, which requires credentials, which requires a call to tc-pulse, which in turn calls authenticate-hawk, which isn't available yet.
So, auth can't use tc-pulse.
Comment 6•7 years ago
|
||
Commits pushed to master at https://github.com/taskcluster/taskcluster-auth
https://github.com/taskcluster/taskcluster-auth/commit/f8269df84dbfe5c80ec7262a660be99285c787c8
Revert "Bug 1488789 - provide taskcluster credentials for use with tc-pulse"
This reverts commit 66f7ffd1d4d04a22b7394bfb249f1d947d00b971.
https://github.com/taskcluster/taskcluster-auth/commit/7ddbd25f01872d28f1cdaf7c9ae7a3ae7ad51f31
Revert "Merge pull request #170 from djmitche/bug1488789"
This reverts commit 40e44eacf15ed2b40e309f16ec909a08b08b33c0, reversing
changes made to 9d93656b73593331a9e01bfe76e757a75114fafc.
| Assignee | ||
Comment 7•7 years ago
|
||
I backed out all of the above in the repo. Current HEAD is the same as 9d93656b73593331a9e01bfe76e757a75114fafc.
| Assignee | ||
Comment 8•7 years ago
|
||
https://github.com/taskcluster/taskcluster-auth/pull/171
That follows the new plan of using tc-lib-pulse but not communicating with tc-pulse (so, using static pulse credentials)
Comment 9•7 years ago
|
||
Commits pushed to master at https://github.com/taskcluster/taskcluster-auth
https://github.com/taskcluster/taskcluster-auth/commit/834a3a300067a740a79db493f259bcaab8fa5b2d
Bug 1488789 - use taskcluster-lib-pulse to interface with Pulse
https://github.com/taskcluster/taskcluster-auth/commit/779f9649e71c09016ebb953fd1336329559e1e0c
Merge branch 'master' into bug1488789
https://github.com/taskcluster/taskcluster-auth/commit/c5f1b3d46754b278acf91380b1b5b9b76cc42311
Merge pull request #171 from djmitche/bug1488789
Bug 1488789 - use taskcluster-lib-pulse to interface with Pulse
| Assignee | ||
Comment 10•7 years ago
|
||
Backed that one out, too. `consume(..)` is only for permanent consumers, but auth needs one ephemeral consumer per process.
Comment 11•7 years ago
|
||
Commit pushed to master at https://github.com/taskcluster/taskcluster-auth
https://github.com/taskcluster/taskcluster-auth/commit/bcd02063f724c810d87b2270d68a9c302d305499
Revert "Merge pull request #171 from djmitche/bug1488789"
This reverts commit c5f1b3d46754b278acf91380b1b5b9b76cc42311, reversing
changes made to 37b71bface82b73f293edced091bb63f3013db06.
Comment 12•7 years ago
|
||
Commits pushed to master at https://github.com/taskcluster/taskcluster-auth
https://github.com/taskcluster/taskcluster-auth/commit/651b2f813a43b9037f8072b8e1d722fc6c47dd0c
Bug 1488789 - use tc-lib-pulse
For real this time!
* Use configured pulse credentials, so no dependency on another service
* Use ephemeral consumers for the "notification" pulse messages
https://github.com/taskcluster/taskcluster-auth/commit/91168809cf79ba3f9409b19045b1b0cda75348a1
Merge pull request #173 from djmitche/bug1488789
Bug 1488789 - use tc-lib-pulse
| Assignee | ||
Comment 13•7 years ago
|
||
OK, looks like that one stuck.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Updated•7 years ago
|
Component: Platform and Services → Services
You need to log in
before you can comment on or make changes to this bug.
Description
•