Skip to content

fix(week11): clarify .env.example placeholder and add sslmode - #9

Merged
lassebenni merged 1 commit into
mainfrom
fix/env-example-placeholder-sslmode
Jul 15, 2026
Merged

fix(week11): clarify .env.example placeholder and add sslmode#9
lassebenni merged 1 commit into
mainfrom
fix/env-example-placeholder-sslmode

Conversation

@lassebenni

Copy link
Copy Markdown
Contributor

Situation

A student in this cohort hit relation "dev_<name>.fct_trips" does not exist on the Week 11 Streamlit dashboard. Their marts existed and were readable; the real cause was a wrong database/host in their own .env, not the starter template.

Problem

The template did not cause that error, but week11-streamlit/.env.example has two small foot-guns:

  1. Placeholder username pipeline_user clashes with the comment "your Week 9/10 login" (students' logins are their own names). Keeping it verbatim gives an auth failure.
  2. The example URL lacked ?sslmode=require, though the README already instructs students to include it.

Solution

Rename pipeline_useryour-pg-user, append ?sslmode=require, and add a one-line comment to keep team1 and the sslmode suffix. No autograder dependency on the old string. Mirrors HackYourFuture/data-assignment-week-11#8.

🤖 Generated with Claude Code

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>
@lassebenni
lassebenni merged commit 822e3dd into main Jul 15, 2026
1 check failed
@lassebenni
lassebenni deleted the fix/env-example-placeholder-sslmode branch July 15, 2026 06:44
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.

1 participant