Skip to content

Devcontainer proxy support, auto-create librenms_id custom field#216

Open
marcinpsk wants to merge 3 commits intobonzo81:developfrom
marcinpsk:devcontainer-codespaces
Open

Devcontainer proxy support, auto-create librenms_id custom field#216
marcinpsk wants to merge 3 commits intobonzo81:developfrom
marcinpsk:devcontainer-codespaces

Conversation

@marcinpsk
Copy link

included CI fixes from bonzo81/netbox-librenms-plugin develop branch.

Devcontainer & CI:

  • Add proxy/CA bundle support with ALLOW_GIT_SSL_DISABLE opt-in
  • Extract detect_plugin_workspace() helper, idempotent .bashrc guard
  • Fix CI test workflow to run from correct NetBox directory - from upstream
  • Add media/configuration.testing.py for CI - from upstream
  • Update lint workflow: actions v4/v5, Python 3.12, fail on lint errors
  • Exclude tests from package distribution
  • Fix MD031 markdown lint in README

Plugin:

  • Auto-create librenms_id custom field via post_migrate signal
  • Add inline comments on _executed flag lifecycle assumptions
  • Raise KeyError for non-default missing server keys in LibreNMSAPI

Tests:

  • Add tests for auto-create librenms_id

@bonzo81 bonzo81 changed the base branch from master to develop February 16, 2026 16:10
marcinpsk and others added 3 commits February 17, 2026 01:34
…custom field

Devcontainer & CI:
- Add proxy/CA bundle support with ALLOW_GIT_SSL_DISABLE opt-in
- Add Codespaces configuration loader
- Remove unnecessary proxy env vars from postgres/redis services
- Extract detect_plugin_workspace() helper, idempotent .bashrc guard
- Consolidate aliases into load-aliases.sh as single source of truth
- Fix CI test workflow to run from correct NetBox directory
- Add media/configuration.testing.py for CI
- Update lint workflow: actions v4/v5, Python 3.12, fail on lint errors
- Exclude tests from package distribution
- Fix MD031 markdown lint in README
- Add security note about embedding proxy credentials in URLs

Plugin:
- Auto-create librenms_id custom field via post_migrate signal
- Log exceptions instead of silently swallowing them in custom field creation
- Add inline comments on _executed flag lifecycle assumptions
- Raise KeyError for non-default missing server keys in LibreNMSAPI

Tests:
- Add setup_method for consistent _executed flag reset
- Assert exception logging in test_exception_does_not_propagate
- Fix fragile getLogger assertion in test_no_log_when_field_already_exists
@marcinpsk marcinpsk force-pushed the devcontainer-codespaces branch from 0fbdf4e to a440fbb Compare February 17, 2026 00:34
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