[Task] Avoid live remote file dependency at send time for MVP #9

Closed
opened 2026-07-06 11:36:15 +02:00 by zemion · 1 comment
Owner

Imported from the consolidated GovOPlaN product backlog.

  • Source: /mnt/DATA/Nextcloud/ADD ideas UG/Products/govoplan/backlog.md
  • Line: 122
  • Section: Milestones > Milestone 6 - External Storage Connectors
  • Source status: OPEN.

Imported backlog item:

- [ ] Avoid live remote file dependency at send time for MVP.
<!-- codex-backlog-fingerprint:ae8a438cb7c947a31e139a1f --> Imported from the consolidated GovOPlaN product backlog. - Source: `/mnt/DATA/Nextcloud/ADD ideas UG/Products/govoplan/backlog.md` - Line: `122` - Section: `Milestones > Milestone 6 - External Storage Connectors` - Source status: `OPEN.` Imported backlog item: ```markdown - [ ] Avoid live remote file dependency at send time for MVP. ```
zemion added this to the Milestone 6 - External Storage Connectors milestone 2026-07-06 13:23:23 +02:00
Author
Owner

Codex State: done

Summary

  • Verified the MVP send path no longer depends on live managed storage or future connector reads after build.
  • Added a regression that builds a managed-file attachment EML, deletes the original stored object, overwrites the live file, sends without rebuild, and confirms SMTP receives the original frozen attachment bytes.
  • The same regression asserts sent attachment evidence is copied from the built CampaignAttachmentUse and remains bound to the original file version/blob ids.

Changed Files

  • ../govoplan-core/tests/test_api_smoke.py

Verification

  • ./.venv/bin/python -m unittest tests.test_api_smoke.ApiSmokeTests.test_managed_attachment_send_uses_frozen_build_artifact_after_file_changes
  • ./.venv/bin/python -m unittest tests.test_api_smoke.ApiSmokeTests.test_managed_attachment_patterns_preview_build_and_mock_send tests.test_api_smoke.ApiSmokeTests.test_managed_attachment_send_uses_frozen_build_artifact_after_file_changes tests.test_api_smoke.ApiSmokeTests.test_send_now_sends_exact_generated_eml_bytes tests.test_api_smoke.ApiSmokeTests.test_send_now_rejects_modified_generated_eml_before_delivery
## Codex State: done ### Summary - Verified the MVP send path no longer depends on live managed storage or future connector reads after build. - Added a regression that builds a managed-file attachment EML, deletes the original stored object, overwrites the live file, sends without rebuild, and confirms SMTP receives the original frozen attachment bytes. - The same regression asserts sent attachment evidence is copied from the built CampaignAttachmentUse and remains bound to the original file version/blob ids. ### Changed Files - `../govoplan-core/tests/test_api_smoke.py` ### Verification - `./.venv/bin/python -m unittest tests.test_api_smoke.ApiSmokeTests.test_managed_attachment_send_uses_frozen_build_artifact_after_file_changes` - `./.venv/bin/python -m unittest tests.test_api_smoke.ApiSmokeTests.test_managed_attachment_patterns_preview_build_and_mock_send tests.test_api_smoke.ApiSmokeTests.test_managed_attachment_send_uses_frozen_build_artifact_after_file_changes tests.test_api_smoke.ApiSmokeTests.test_send_now_sends_exact_generated_eml_bytes tests.test_api_smoke.ApiSmokeTests.test_send_now_rejects_modified_generated_eml_before_delivery`
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: add-ideas/govoplan-files#9
No description provided.