Skip to content

Conversation

@Viscous106
Copy link

Summary
This PR removes multiple instances of deprecated code that were marked for removal in release 1.2.0 (or earlier). This cleans up technical debt in the config, tasks, and controller views.

Changes

  • Config (config.py): Removed the deprecated get_cached_args compatibility wrapper.
  • Tasks (tasks.py): Removed the deprecated invalidate_device_checksum_view_cache task.
  • Views (views.py): Removed legacy support for status="running" in DeviceReportStatusView. The modern status="applied" logic is preserved.
  • Tests (test_controller.py): Removed test_device_report_status_running which tested the deprecated "running" status.

Verification

  • Ran python tests/manage.py test openwisp_controller.config
  • Result: Passed. Verified that test_device_report_status_applied still passes and the controller handles status updates correctly.

@Viscous106 Viscous106 force-pushed the cleanup-deprecated-1-2-0 branch 2 times, most recently from 53d8044 to ca459d1 Compare December 24, 2025 13:24
@Viscous106 Viscous106 force-pushed the cleanup-deprecated-1-2-0 branch from ca459d1 to 27f9893 Compare December 24, 2025 13:43
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