bcgov / bcgov/wps

Dev Task: Smoke test after production deployment

Open
#2,281 1 comment 0 reactions 0 assignees View on GitHub
Task
Dominant language
Python
Stars
65
Forks
11
Avg merge
21h 25m
Merged PRs (30d)
70

Description

**Describe the task**
Catch deployment issues quicker and easier with automated checks on production URLS. Rollback deployments faster so less users are affected if the check fails.

**Acceptance Criteria**
- [ ] Run in GitHub actions after deploying to production
- [ ] The checks should test for http errors on authenticated URLs
- [ ] Merge is blocked if smoke tests fail
- [ ] TBD: define all the endpoints we want to test - e.g.: fire behaviour calculator link

**Additional context**
- Need to find out how to automate a keycloak login
- Need to figure out successful and unsuccessful keycloak redirect flows to be able to smoke test properly

Contributor guide

Open the contributing guide

Research direction

No files or tests are named. Start by reviewing the GitHub Actions deployment path and defining the production endpoints to check, including the fire behaviour calculator link. Confirm the Keycloak login and redirect flows, then verify that authenticated URL failures block the merge and support rollback.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions
Domain
authentication, ci-cd, devops
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.