Standardize environment variables - #72
Conversation
- Add 'Required' column to environment variable tables in all documentation templates. - Standardize 'service_name' and 'metrics_namespace' as optional with defaults across all Pydantic Settings models. - Re-add missing 'SOURCE_TABLE_NAME' to Stream template documentation. - Update EventBridge property tests to reflect optional settings. - Document UX learnings in .jules/palette.md.
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
- Add 'Default' column to environment variable tables in all documentation templates. - Refactor all Settings classes to inherit from a new CommonSettings base class in templates/settings.py. - Ensure 'service_name' and 'metrics_namespace' have defaults in the base class and each template subclass. - Fix Environment variables table ordering in EventBridge documentation. - Update EventBridge property tests to reflect optional settings. - Document UX learnings in .jules/palette.md.
- Add 'Required' and 'Default' columns to all environment variable documentation tables. - Refactor all Settings classes to inherit from a new CommonSettings base class in templates/settings.py. - Ensure 'service_name' and 'metrics_namespace' have template-specific defaults in each subclass. - Fix Environment variables table ordering in EventBridge documentation. - Update EventBridge property tests to reflect optional settings. - Document UX learnings in .jules/palette.md.
- Add 'Required' and 'Default' columns to all environment variable documentation tables. - Refactor all Settings classes to inherit from a new CommonSettings base class in templates/settings.py. - Ensure 'service_name', 'metrics_namespace', and 'log_level' have template-specific defaults in each subclass. - Fix Environment variables table ordering in EventBridge documentation. - Update EventBridge property tests to reflect optional settings. - Document UX learnings in .jules/palette.md.
- Add 'Required' and 'Default' columns to all environment variable documentation tables. - Refactor all Settings classes to inherit from a new CommonSettings base class in templates/settings.py. - Consolidate 'service_name', 'metrics_namespace', 'log_level', and 'case_sensitive' configuration into CommonSettings. - Ensure all templates have template-specific defaults in their Settings subclasses. - Fix Environment variables table ordering in EventBridge documentation. - Update EventBridge property tests to reflect optional settings. - Document UX learnings in .jules/palette.md.
- Add 'Required' and 'Default' columns to all environment variable documentation tables. - Refactor all Settings classes to inherit from a new CommonSettings base class in templates/settings.py. - Consolidate 'service_name', 'metrics_namespace', and 'log_level' into CommonSettings. - Ensure all templates have template-specific defaults in their Settings subclasses. - Fix Environment variables table ordering in EventBridge documentation. - Update EventBridge property tests to reflect optional settings. - Document UX learnings in .jules/palette.md.
This PR improves the developer experience (DX) by standardizing the presentation of environment variables in the project documentation.
💡 What:
service_nameandmetrics_namespaceas optional fields with sensible defaults intemplates/api/settings.py,templates/eventbridge/settings.py, andtemplates/stream/settings.py, matching the pattern in other templates.docs/template/stream.mdby restoring theSOURCE_TABLE_NAMEentry.🎯 Why:
♿ Accessibility:
✅ Verification:
uv run mkdocs build --strict.mise run lint.mise run test, including updated property tests for EventBridge settings.PR created automatically by Jules for task 4116317747102820175 started by @amrabed