Skip to content

UBC AI Workflow 2 DAP20-Capstone_Lalji#63

Open
slalji wants to merge 4 commits intoFullStackWithLawrence:mainfrom
slalji:main
Open

UBC AI Workflow 2 DAP20-Capstone_Lalji#63
slalji wants to merge 4 commits intoFullStackWithLawrence:mainfrom
slalji:main

Conversation

@slalji
Copy link
Copy Markdown

@slalji slalji commented May 2, 2026

Pull Request Template

Type of Change

  • [ x] New feature
  • Bug fix
  • Documentation
  • Refactor
  • Chore

Resolves

  • Fixes #[Add issue number here.]
  • sends a notification to slack channel after the tests run successfully or fails.

Changes

After watch the live session#1 video, I also used AI to complete the code missing to send a notification. I used Claude Sonnet 4.3 . The prompt I used was as follows:
"I am a student learning about AI workflow. I have github unittest file which needs to send notification after success or failure. Best to send it to my slack channel, it would be more secure that email."

The response was how to create a new slack channel and allow the webhook and gave me a link to the url where to find the settings which was very helpful since I would not have been able to find that. The trick was to find the url with a pattern https://hooks.slack.com/services/Txxx/xxx

After some attempts, I managed to get a notification on my slack channel:
Workflow2  [11:12 PM]
Tests Failed!Repositoryslalji/agentic-ai-workflowBranchmainPython Version3.13Triggered byslaljiCommit89f48c300ca378f80b31bbd74f23f80bf4a9987bView Runhttps://github.com/slalji/agentic-ai-workflow/actions/runs/25245528161

Hope helps
Salma

Testing

I figure the success test would also submit a notification to the slack channel.

Screenshots

Screenshot 2026-05-01 at 11 14 56 PM

Dependencies

List dependencies

Breaking Changes

Describe any breaking changes

@lpm0073 lpm0073 self-assigned this May 4, 2026
@lpm0073 lpm0073 added the good first issue Good for newcomers label May 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

good first issue Good for newcomers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants