Skip to content

Force SWXSOC_MISSION Env Variable & Reconfigure on Package Import - #13

Merged
Alrobbertz merged 2 commits into
PADRESat:mainfrom
Alrobbertz:force-mission-reconfigure
Aug 24, 2026
Merged

Alrobbertz merged 2 commits into
PADRESat:mainfrom
Alrobbertz:force-mission-reconfigure

Conversation

@Alrobbertz

Copy link
Copy Markdown
Member

No description provided.

Copilot AI lite review requested due to automatic review settings August 24, 2026 15:25

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR changes padre_sharp’s import-time initialization to always set the SWXSOC_MISSION environment variable to "padre" and immediately reconfigure swxsoc, aiming to make swxsoc.config consistent regardless of import order.

Changes:

  • Import swxsoc at package import time.
  • Force SWXSOC_MISSION="padre" instead of honoring an existing environment value.
  • Call swxsoc.reconfigure() during padre_sharp package initialization.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread padre_sharp/__init__.py
@Alrobbertz
Alrobbertz merged commit 7363797 into PADRESat:main Aug 24, 2026
15 checks passed
@Alrobbertz
Alrobbertz deleted the force-mission-reconfigure branch August 24, 2026 17:50
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.

2 participants