fix(week11): clarify .env.example placeholder and add sslmode#8
Merged
Conversation
Rename the misleading `pipeline_user` placeholder to `your-pg-user`: students' actual Week 9/10 logins are their own names, and a student who keeps `pipeline_user` verbatim hits an auth failure. Also append `?sslmode=require` so the example matches what the README already instructs (line 69) and how Azure Postgres is meant to be reached. Neither change caused the reported "relation dev_<name>.fct_trips does not exist" error (that was a wrong database in a student's own .env), but both remove a foot-gun and keep the example self-consistent. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
halyna1995
pushed a commit
to halyna1995/c55-data-week-11
that referenced
this pull request
Jul 15, 2026
Rename the misleading `pipeline_user` placeholder to `your-pg-user`: students' actual Week 9/10 logins are their own names, and a student who keeps `pipeline_user` verbatim hits an auth failure. Also append `?sslmode=require` so the example matches what the README already instructs and how Azure Postgres is meant to be reached. Mirrors HackYourFuture/data-assignment-week-11#8. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.
Situation
A Week 11 student (Streamlit dashboard) hit
relation "dev_<name>.fct_trips" does not exist. Investigation confirmed her marts existed and were readable; the real cause was a wrong database/host in her own.env, not the starter template. The template's.env.examplecorrectly points at/team1.Problem
While the template did not cause that specific error, two small foot-guns in
week11-streamlit/.env.exampleare worth removing:pipeline_user, which clashes with the comment "your Week 9/10 login" (students' actual logins are their own names, e.g.halyna). A student who keepspipeline_userverbatim gets an authentication failure.?sslmode=require, even though the README (line 69) explicitly tells students to setPOSTGRES_URLwith?sslmode=require. The example and the instructions should match.Solution
pipeline_user→your-pg-user.?sslmode=requireto the example URL.team1and thesslmodesuffix and only swap in their own user/password/host.No autograder dependency on the old string (checked
.hyf/), so grading is unaffected.🤖 Generated with Claude Code