Repository navigation
feat: part 2 content - #7
Merged
Merged
Conversation
Add API unit tests (health, colors with mocked Supabase), client tests (imageUrl), and a Playwright E2E smoke test (load, verify card, swipe). Configure vitest.config.ts and playwright.config.ts.
Fill-in-the-blanks workflow for testing (Vitest + Playwright) on PRs and deploying to Cloudflare Workers on push to main.
Step-by-step guide covering Vitest API tests, client tests, Playwright E2E smoke test, GitHub Actions workflow setup, and secrets configuration.
Add Testing section (why test, testing pyramid, Vitest, Playwright, checkpoint slides) and CI/CD section (manual deploy pain, CI/CD concepts, GitHub Actions walkthrough, secrets, checkpoint slides) before the existing Docker section. Update container CI/CD slide with callback.
…arch API with error handling
…rch documentation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces substantial updates for Part 2 of the deployment workshop, focusing on CI/CD, automated testing, containerization, and improved documentation. It adds new workflows for the "Color Swipe" and "Vibe Search" apps, Docker support for the Python microservice, and updates to the workshop README to guide participants through the new features and setup. There are also improvements to the slides deployment workflow and the addition of environment/configuration files for the new services.
The most important changes are:
CI/CD and Testing Workflows:
.github/workflows/deploy-color-swipe.ymlto define a CI/CD pipeline for the Color Swipe web app, including placeholders for test and deploy steps..github/workflows/deploy-vibe-search.yamland.github/workflows/test-vibe-search.yamlfor testing, building, and deploying the new Vibe Search FastAPI service, using Docker and Render, and running tests withuvandpytest. [1] [2]Containerization and Service Setup:
Dockerfile,Dockerfile.preload,.dockerignore, and.gitignore, enabling containerized builds and deployment. [1] [2] [3] [4].env.examplefor Vibe Search, including API key, model name, and Sentry DSN.Vibe Search FastAPI Service:
app/,app/api/,app/api/dependencies.py) with a dependency for internal API key authentication. [1] [2]Workshop Documentation Improvements:
README.mdto document Part 2: new setup instructions, repo structure, local and containerized dev steps, and updated schedule and prerequisites. [1] [2] [3] [4] [5] [6]Slides Deployment Workflow Enhancements:
.github/workflows/deploy-slides.yamlto only deploy frommain, pin Biome version, add ACT compatibility, and improve artifact verification and conditional steps. [1] [2] [3] [4]