Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish status messages (read in Fronts tool) #51

Merged
merged 15 commits into from
Aug 12, 2024

Conversation

jonathonherbert
Copy link
Contributor

@jonathonherbert jonathonherbert commented Jul 31, 2024

What does this change?

Publishes status messages on curation deploy succeed or failure to an SNS topic, which is read in the Fronts tool.

How to test

  • The automated tests should pass.
  • Running in CODE, attempt to publish a Feast issue in Fronts CODE. You should see confirmation of a publish in the event list.

Tested in CODE:

Screenshot 2024-08-02 at 13 52 29

@jonathonherbert jonathonherbert force-pushed the jsh/publish-status-messages branch 2 times, most recently from 31fc6ee to f39b5c1 Compare July 31, 2024 10:31
@jonathonherbert
Copy link
Contributor Author

Currently failing to post messages to the SNS topic with

Unhandled Promise Rejection 	{"errorType":"Runtime.UnhandledPromiseRejection","errorMessage":"Error: Resolved credential object is not valid"

dependabot bot and others added 7 commits August 2, 2024 13:59
Bumps [express](https://github.com/expressjs/express) from 4.18.2 to 4.19.2.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](expressjs/express@4.18.2...4.19.2)

---
updated-dependencies:
- dependency-name: express
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](micromatch/braces@3.0.2...3.0.3)

---
updated-dependencies:
- dependency-name: braces
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
@jonathonherbert jonathonherbert marked this pull request as ready for review August 2, 2024 13:04
Copy link
Contributor

@emdash-ie emdash-ie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Had some trouble deploying to CODE, but other than that this looks good to me! One comment about the indentation in a file, but that’s pretty unimportant – can definitely merge without addressing that.

The trouble deploying to CODE is more troubling: it looks like it’s trying to recreate a dead-letter queue for some reason?

cdk/lib/recipes-backend.ts Outdated Show resolved Hide resolved
@jonathonherbert
Copy link
Contributor Author

Thanks for the review! Previous deploy likely foiled by a typo fix in #53, which I've backported in 611a6c2 so cloudformation doesn't recreate resources – I'll deploy this shortly to check.

@jonathonherbert
Copy link
Contributor Author

jonathonherbert commented Aug 12, 2024

Deployed now – recommend testing with an empty issue for now, e.g. https://fronts.code.dev-gutools.co.uk/v2/issues/10415d60-87c0-4f26-a6fa-9bcc5aa246aa, as Chef validation is waiting on guardian/facia-tool#1612. (I've tested, it looks good!)

@jonathonherbert jonathonherbert merged commit 1fad5c1 into main Aug 12, 2024
3 checks passed
@jonathonherbert jonathonherbert deleted the jsh/publish-status-messages branch August 12, 2024 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants