You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "kgabryje (via GitHub)" <gi...@apache.org> on 2023/06/28 12:04:24 UTC

[GitHub] [superset] kgabryje opened a new pull request, #24543: chore: Un-revert enabling CSP by default

kgabryje opened a new pull request, #24543:
URL: https://github.com/apache/superset/pull/24543

   
   ### SUMMARY
   This PR fixes a regression in https://github.com/apache/superset/pull/24262 that required reverting it (https://github.com/apache/superset/pull/24476). If `TALISMAN_ENABLED` is false, the `csp_nonce` function is undefined - here I introduced a macro that checks if the function defined before calling it.
   
   ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
   <!--- Skip this if not applicable -->
   
   ### TESTING INSTRUCTIONS
   
   ### ADDITIONAL INFORMATION
   <!--- Check any relevant boxes with "x" -->
   <!--- HINT: Include "Fixes #nnn" if you are fixing an existing issue -->
   - [ ] Has associated issue:
   - [ ] Required feature flags:
   - [ ] Changes UI
   - [ ] Includes DB Migration (follow approval process in [SIP-59](https://github.com/apache/superset/issues/13351))
     - [ ] Migration is atomic, supports rollback & is backwards-compatible
     - [ ] Confirm DB migration upgrade and downgrade tested
     - [ ] Runtime estimates and downtime expectations provided
   - [ ] Introduces new feature or API
   - [ ] Removes existing feature or API
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] codecov[bot] commented on pull request #24543: chore: Un-revert enabling CSP by default

Posted by "codecov[bot] (via GitHub)" <gi...@apache.org>.
codecov[bot] commented on PR #24543:
URL: https://github.com/apache/superset/pull/24543#issuecomment-1611295907

   ## [Codecov](https://app.codecov.io/gh/apache/superset/pull/24543?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report
   > Merging [#24543](https://app.codecov.io/gh/apache/superset/pull/24543?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) (e7ff69c) into [master](https://app.codecov.io/gh/apache/superset/commit/a846e8a58d21f6e854e2b970c4878782d2ac9356?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) (a846e8a) will **decrease** coverage by `0.02%`.
   > The diff coverage is `100.00%`.
   
   > :exclamation: Current head e7ff69c differs from pull request most recent head 4941a9d. Consider uploading reports for the commit 4941a9d to get more accurate results
   
   ```diff
   @@            Coverage Diff             @@
   ##           master   #24543      +/-   ##
   ==========================================
   - Coverage   58.22%   58.21%   -0.02%     
   ==========================================
     Files        1903     1903              
     Lines       74026    74002      -24     
     Branches     8118     8118              
   ==========================================
   - Hits        43100    43078      -22     
   + Misses      28815    28813       -2     
     Partials     2111     2111              
   ```
   
   | Flag | Coverage Δ | |
   |---|---|---|
   | hive | `53.88% <100.00%> (-0.01%)` | :arrow_down: |
   | presto | `53.78% <100.00%> (-0.01%)` | :arrow_down: |
   | python | `60.87% <100.00%> (-0.02%)` | :arrow_down: |
   | unit | `54.62% <100.00%> (-0.03%)` | :arrow_down: |
   
   Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#carryforward-flags-in-the-pull-request-comment) to find out more.
   
   | [Impacted Files](https://app.codecov.io/gh/apache/superset/pull/24543?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Coverage Δ | |
   |---|---|---|
   | [.../superset-ui-core/src/models/ExtensibleFunction.ts](https://app.codecov.io/gh/apache/superset/pull/24543?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-c3VwZXJzZXQtZnJvbnRlbmQvcGFja2FnZXMvc3VwZXJzZXQtdWktY29yZS9zcmMvbW9kZWxzL0V4dGVuc2libGVGdW5jdGlvbi50cw==) | `100.00% <ø> (ø)` | |
   | [superset/config.py](https://app.codecov.io/gh/apache/superset/pull/24543?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-c3VwZXJzZXQvY29uZmlnLnB5) | `91.42% <100.00%> (+0.02%)` | :arrow_up: |
   | [superset/initialization/\_\_init\_\_.py](https://app.codecov.io/gh/apache/superset/pull/24543?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-c3VwZXJzZXQvaW5pdGlhbGl6YXRpb24vX19pbml0X18ucHk=) | `91.04% <100.00%> (-0.31%)` | :arrow_down: |
   
   ... and [11 files with indirect coverage changes](https://app.codecov.io/gh/apache/superset/pull/24543/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
   
   :mega: We’re building smart automated test selection to slash your CI/CD build times. [Learn more](https://about.codecov.io/iterative-testing/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] kgabryje merged pull request #24543: chore: Un-revert enabling CSP by default

Posted by "kgabryje (via GitHub)" <gi...@apache.org>.
kgabryje merged PR #24543:
URL: https://github.com/apache/superset/pull/24543


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org