Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore: updated documentation link#1387

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
Kira-Pilot merged 3 commits intomainfromupdate-documentation-link/kira-pilot
May 11, 2022

Conversation

Kira-Pilot
Copy link
Member

@Kira-PilotKira-Pilot commentedMay 11, 2022
edited
Loading

Resolves#1037.

I didn't see any appropriate env variables being set on host so I assumed passing one in likeCODER_VERSION=v0.5.4 ./develop.sh would suffice. This seems to work fine, but let me know if I misunderstood scope!

bpmct reacted with thumbs up emoji
@Kira-PilotKira-Pilot requested a review froma team as acode ownerMay 11, 2022 13:56
@codecov
Copy link

codecovbot commentedMay 11, 2022
edited
Loading

Codecov Report

Merging#1387 (aee782e) intomain (f581724) willdecrease coverage by0.18%.
The diff coverage isn/a.

@@            Coverage Diff             @@##             main    #1387      +/-   ##==========================================- Coverage   66.97%   66.79%   -0.19%==========================================  Files         288      288                Lines       18857    18857                Branches      241      241              ==========================================- Hits        12630    12596      -34- Misses       4939     4963      +24- Partials     1288     1298      +10
FlagCoverage Δ
unittest-go-macos-latest54.04% <ø> (-0.02%)⬇️
unittest-go-postgres-65.33% <ø> (-0.09%)⬇️
unittest-go-ubuntu-latest56.32% <ø> (-0.13%)⬇️
unittest-go-windows-202252.37% <ø> (-0.07%)⬇️
unittest-js74.24% <ø> (ø)
Impacted FilesCoverage Δ
site/src/components/UserDropdown/UsersDropdown.tsx96.15% <ø> (ø)
coderd/httpapi/httpapi.go71.25% <0.00%> (-6.25%)⬇️
provisioner/echo/serve.go56.80% <0.00%> (-2.41%)⬇️
coderd/workspaceagents.go56.04% <0.00%> (-1.87%)⬇️
provisionerd/provisionerd.go76.30% <0.00%> (-1.34%)⬇️
agent/agent.go65.90% <0.00%> (-1.24%)⬇️
peer/conn.go78.13% <0.00%> (-0.74%)⬇️
coderd/provisionerdaemons.go62.98% <0.00%> (-0.51%)⬇️
peerbroker/dial.go83.60% <0.00%> (+6.55%)⬆️

Continue to review full report at Codecov.

Legend -Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing data
Powered byCodecov. Last updatef581724...aee782e. Read thecomment docs.

Kira-Pilot reacted with confused emoji

const env = process.env

beforeEach(() => {
jest.resetModules()
Copy link
Collaborator

@BrunoQuaresmaBrunoQuaresmaMay 11, 2022
edited
Loading

Choose a reason for hiding this comment

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

Wondering if we need this, I'm not seeing a module being mocked.

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

I've actually never mocked outprocess.env before so I'm definitely following some internet advice here 😃 but looking at the Jest docs, seems like each test file gets its own module registryby default. Trying to reset the cache with this line so we don't get any conflicts. I can test and see if it's not needed but it might be safer to leave it in. LMK what you think!

Copy link
Collaborator

@BrunoQuaresmaBrunoQuaresmaMay 11, 2022
edited
Loading

Choose a reason for hiding this comment

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

If it is not needed, I think we should remove it, but if you think it is needed, I'm good to keep it. I'm good with the decision you feel is the best 😄

Kira-Pilot reacted with thumbs up emoji
Copy link
MemberAuthor

Choose a reason for hiding this comment

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

Sure; we can always add it back in if we see conflicts.


beforeEach(() => {
jest.resetModules()
process.env = { ...env }
Copy link
Collaborator

Choose a reason for hiding this comment

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

Since env is already receiving the process.env in line 14, I would guess we are doing this to clone the object, is that right?

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

That's right - I don't want to mutateprocess.env IRL.

BrunoQuaresma and greyscaled reacted with thumbs up emoji
Copy link
Collaborator

Choose a reason for hiding this comment

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

If makes sense, I just would add a comment about this.

Kira-Pilot and greyscaled reacted with thumbs up emoji
Copy link
Collaborator

@BrunoQuaresmaBrunoQuaresma left a comment

Choose a reason for hiding this comment

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

LGTM. I just had some minor questions.

@Kira-PilotKira-Pilot merged commite8e6d3c intomainMay 11, 2022
@Kira-PilotKira-Pilot deleted the update-documentation-link/kira-pilot branchMay 11, 2022 21:10
kylecarbs pushed a commit that referenced this pull requestJun 10, 2022
* chore: updated documentation link* PR feedback
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@BrunoQuaresmaBrunoQuaresmaBrunoQuaresma approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Bug: Documentation in users menu goes to v1
2 participants
@Kira-Pilot@BrunoQuaresma

[8]ページ先頭

©2009-2025 Movatter.jp