Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 0.63.4 #1399

Closed
wants to merge 7 commits into from
Closed

Release 0.63.4 #1399

wants to merge 7 commits into from

Conversation

odlbot
Copy link
Contributor

@odlbot odlbot commented Jun 9, 2022

Matt Bertrand

Chris Chudzicki

ChristopherChudzicki and others added 7 commits June 9, 2022 08:54
tldr: Because we do not use them and they cause some ts errors in IDEs (that we suppress during CLI through `--noEmit`).

We currently have an error

> Exported variable 'getWebsiteDetailCursor' has or is using name '$CombinedState' from external module "/Users/chudzick/dev/ocw-studio/node_modules/redux/index" but cannot be named.

See microsoft/TypeScript#5711 for some info about this error. Manually importing $CombinedState both seems silly and does not fix the issue (I think `re-select` would need to import it itself? I'm not sure. Possibly related to microsoft/TypeScript#5711 (comment))

The error:
- is visible in some IDEs (e.g., VS Code)
- does not show up when running `npm run typecheck` since that uses the `--noEmit` CLI flag, which suppresses both compiled code and declarations from being emitted.

But our tsconfig does specify that declarations can be made...I'm not sure why. As I understand it, the setting makes sense for a library but not for an app.
* add PublishingOption component

replace two more constants with enums

* tweak unique url error message

* improve IntegrationTestHelper

specifically:
    - use spyOn to mock makeRequest, rather than a global mock. The global mock was being problematic when other imports (e.g., the old integration test helper) was also mocking `makeRequest`.
    - add `mockGetWebsiteDetail`
    - make `helper.mockRequest` more flexible in its argument matching

* show form errors in PublishForm

* remove old error test

* fix PublishForm import

* format python changes
…1363)

* update generate_item_metadata to optionally use config default value

* no default kwarg dict value

* fix test_update_youtube_statuses
@odlbot odlbot temporarily deployed to ocw-studio-rc June 9, 2022 20:27 Inactive
@odlbot odlbot temporarily deployed to ocw-studio-rc June 9, 2022 20:27 Inactive
@codecov-commenter
Copy link

Codecov Report

Merging #1399 (9500afe) into release (5618e5e) will increase coverage by 0.01%.
The diff coverage is 94.70%.

@@             Coverage Diff             @@
##           release    #1399      +/-   ##
===========================================
+ Coverage    89.10%   89.12%   +0.01%     
===========================================
  Files          232      232              
  Lines         9733     9778      +45     
  Branches      1843     1838       -5     
===========================================
+ Hits          8673     8715      +42     
- Misses         932      933       +1     
- Partials       128      130       +2     
Impacted Files Coverage Δ
gdrive_sync/api.py 97.81% <ø> (ø)
...cw_import/management/commands/repair_dupe_repos.py 0.00% <0.00%> (ø)
content_sync/pipelines/base.py 78.94% <77.77%> (-0.37%) ⬇️
content_sync/pipelines/concourse.py 90.03% <94.33%> (+0.35%) ⬆️
static/js/components/PublishDrawer.tsx 95.38% <97.77%> (+0.20%) ⬆️
content_sync/api.py 100.00% <100.00%> (ø)
content_sync/tasks.py 93.90% <100.00%> (ø)
main/settings.py 94.49% <100.00%> (ø)
static/js/components/forms/PublishForm.tsx 93.54% <100.00%> (+0.21%) ⬆️
static/js/constants.ts 96.66% <100.00%> (-0.11%) ⬇️
... and 5 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5618e5e...9500afe. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants