Skip to content

feat: add empty array integrations field to the manifest upon write-manifest#698

Closed
joshyam-k wants to merge 7 commits intomainfrom
empty-integrations-field
Closed

feat: add empty array integrations field to the manifest upon write-manifest#698
joshyam-k wants to merge 7 commits intomainfrom
empty-integrations-field

Conversation

@joshyam-k
Copy link
Contributor

@joshyam-k joshyam-k commented Aug 4, 2025

Intent

Add empty array "integrations" field to the manifest upon write-manifest. This is part of the work around auto-associating integrations with content upon deployment. See the main ticket for more information.

Fixes: #32761

Type of Change

  • Bug Fix
  • New Feature
  • Breaking Change

Approach

  • adds a TypedDict for the ManifestIntegrationRequests type
  • added empty integrations field into make_source_manifest
    • had to manually edit create_voila_manifest as it is the only one that doesn't call make_source_manifest internally.

Automated Tests

  • added new unit tests for each write_*_manifest_json function
  • updated existing unit tests that called make_source_manifest

make test passes

Checklist

  • I have updated CHANGELOG.md to cover notable changes.
  • I have updated all related GitHub issues to reflect their current state.

@joshyam-k joshyam-k marked this pull request as draft August 4, 2025 21:26
@github-actions
Copy link

github-actions bot commented Aug 4, 2025

PR Preview Action v1.6.2
Preview removed because the pull request was closed.
2025-08-25 17:54 UTC

@github-actions
Copy link

github-actions bot commented Aug 4, 2025

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
5161 4045 78% 0% 🟢

New Files

No new covered files...

Modified Files

File Coverage Status
rsconnect/bundle.py 84% 🟢
TOTAL 84% 🟢

updated for commit: 28f4b6b by action🐍

@joshyam-k joshyam-k marked this pull request as ready for review August 5, 2025 16:35
Copy link
Collaborator

@christierney christierney left a comment

Choose a reason for hiding this comment

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

Other than my typing question (which I may just be misunderstanding), looks pretty straightforward!

@joshyam-k
Copy link
Contributor Author

Seems like ci has been failing on main for a while so I don't think these failures have anything to do with me. Either way probably best not to merge this on a friday afternoon, so I'll hold off for now.

@joshyam-k
Copy link
Contributor Author

Unnecessary given the friction downstream with shinyapps.io with this being a top level field and it breaking their validation. Addressed in issue: https://github.com/rstudio/lucid-server/issues/5564

@joshyam-k joshyam-k closed this Aug 25, 2025
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.

3 participants