Skip to content

Fixes reactive errors with newer version of shiny - #462

Merged
averissimo merged 3 commits into
mainfrom
682_fix_shiny
Jul 23, 2026
Merged

Fixes reactive errors with newer version of shiny#462
averissimo merged 3 commits into
mainfrom
682_fix_shiny

Conversation

@averissimo

Copy link
Copy Markdown
Contributor

@github-actions

github-actions Bot commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Unit Tests Summary

  1 files   27 suites   2m 3s ⏱️
263 tests 257 ✅ 6 💤 0 ❌
407 runs  401 ✅ 6 💤 0 ❌

Results for commit 5a6d46a.

♻️ This comment has been updated with latest results.

@github-actions

github-actions Bot commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Unit Test Performance Difference

Test Suite $Status$ Time on main $±Time$ $±Tests$ $±Skipped$ $±Failures$ $±Errors$
Reporter 💔 $91.69$ $+5.43$ $0$ $0$ $0$ $0$

Results for commit c963cad

♻️ This comment has been updated with latest results.

@github-actions

github-actions Bot commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

badge

Code Coverage Summary

Filename                      Stmts    Miss  Cover    Missing
--------------------------  -------  ------  -------  ------------------------------------------------------------
R/add_card.R                    130      10  92.31%   47-54, 143, 184
R/download.R                    196      22  88.78%   27-33, 85-91, 153, 199-200, 265-269
R/editor_block.R                 28      15  46.43%   81-96
R/editor_card.R                  43      15  65.12%   2-15, 24
R/LoadReporterModule.R          110      32  70.91%   20-26, 105-110, 113-118, 124-129, 141-147
R/previewer_card_actions.R      119      17  85.71%   84-87, 98, 109-117, 121-122, 127
R/previewer_card.R               39      24  38.46%   2-27
R/previewer_content.R            52      23  55.77%   5-19, 28-29, 31-32, 47, 59, 63, 67
R/previewer_deprecated.R        143      54  62.24%   38-71, 113, 140-141, 160-161, 170-176, 198, 219-220, 240-249
R/previewer_report.R             80      26  67.50%   20-32, 94-108
R/render.R                       32       0  100.00%
R/ReportCard.R                   49       3  93.88%   51, 204, 225
R/Reporter.R                    165      19  88.48%   122, 165, 273-282, 318-319, 324-329, 398
R/ResetModule.R                  56       8  85.71%   20-27
R/SimpleReporter.R               30      15  50.00%   39-53
R/teal_card.R                   162       0  100.00%
R/teal_report-c.R                 5       0  100.00%
R/teal_report-class.R            26       2  92.31%   50, 131
R/teal_report-eval_code.R         6       0  100.00%
R/teal_report-extract.R           3       0  100.00%
R/to_rmd.R                       92      25  72.83%   15, 117-125, 127, 142, 164-172, 259-277
R/toHTML.R                       53       7  86.79%   128-134, 170, 245-279
R/utils.R                        96      28  70.83%   25, 34, 127-152
R/yaml_utils.R                   81       0  100.00%
R/zzz.R                          30       1  96.67%   30
TOTAL                          1826     346  81.05%

Diff against main

Filename      Stmts    Miss  Cover
----------  -------  ------  --------
TOTAL             0       0  +100.00%

Results for commit: 5a6d46a

Minimum allowed coverage is 80%

♻️ This comment has been updated with latest results

@averissimo
averissimo requested a review from a team July 22, 2026 07:28
@llrs-roche llrs-roche self-assigned this Jul 22, 2026

@llrs-roche llrs-roche left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I tried to test this branch with the examples on teal.osprey and I still see

Error: Can't access reactive reactiveVal85f53c6a; its module session has been destroyed

I used:

  1. load_all("teal.reporter")
  2. load_all("teal.osprey")
  3. run_examples("teal.osprey")
  4. Change a picks input and you'll see the errors.

Maybe I'm testing something different that needs to be fixed on teal.picks.
Other than that the changes look ok (just a minor comment about the NEWS).

Comment thread NEWS.md Outdated
Co-authored-by: Lluís Revilla <185338939+llrs-roche@users.noreply.github.com>
Signed-off-by: André Veríssimo <211358+averissimo@users.noreply.github.com>
@averissimo

Copy link
Copy Markdown
Contributor Author

which version of teal.slice do you have installed?

@averissimo

averissimo commented Jul 22, 2026

Copy link
Copy Markdown
Contributor Author

@llrs-roche can you try the 682_fix_shiny_round_2 branch on teal.slice and see if you can still reproduce the error.

@averissimo averissimo closed this Jul 23, 2026
@averissimo
averissimo deleted the 682_fix_shiny branch July 23, 2026 07:49
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 23, 2026
@averissimo
averissimo restored the 682_fix_shiny branch July 23, 2026 07:50
@averissimo averissimo reopened this Jul 23, 2026

@llrs-roche llrs-roche left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

With the new branch on teal.slice (682_fix_shiny_round_2) I could run the examples on teal.osprey without any error message about reactiveVal()

@averissimo
averissimo merged commit 74545a3 into main Jul 23, 2026
57 checks passed
@averissimo
averissimo deleted the 682_fix_shiny branch July 23, 2026 13:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants