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

Add the firebase site framework to carbon-lang. #9

Merged
merged 3 commits into from
May 6, 2020
Merged

Conversation

jonmeow
Copy link
Contributor

@jonmeow jonmeow commented May 5, 2020

I'm mainly thinking to keep it here because changes relevant to the push of carbon-lang.dev are in the same repo.

I'm mainly thinking to keep it here because changes relevant to the push of carbon-lang.dev are in the same repo.
@jonmeow jonmeow requested review from chandlerc and EricWF May 5, 2020 23:28
Copy link
Contributor

@EricWF EricWF left a comment

Choose a reason for hiding this comment

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

I'm not an expert on doing authentication, nor javascript, but this LGTM apart from the pagination issue with listMembers.

firebase/functions/index.js Show resolved Hide resolved
firebase/functions/index.js Outdated Show resolved Hide resolved
firebase/functions/index.js Outdated Show resolved Hide resolved
firebase/functions/index.js Show resolved Hide resolved
Instead of using listMembers and looking for the ID, instead use list to translate the ID to a user, then getMembership to look for a member.
firebase/functions/index.js Show resolved Hide resolved
firebase/functions/index.js Show resolved Hide resolved
@EricWF
Copy link
Contributor

EricWF commented May 6, 2020

LGTM (again).

@jonmeow jonmeow merged commit 41a45d6 into master May 6, 2020
@jonmeow jonmeow deleted the firebase branch May 7, 2020 16:29
github-merge-queue bot pushed a commit that referenced this pull request Sep 27, 2024
This only sets the symbolizer for our more used targets; not sure if
there's a great way to set it everywhere (I suppose I could try wrapping
cc_binary etc rules if there's a strong preference).

There is a downside here, symbolizing a fastbuild crash seems to take
about 3s. Not sure if there's a good way to get a faster llvm-symbolizer
execution...?

I tried running with the new LLVM update without the
LLVM_SYMBOLIZER_PATH, and it looks like that's insufficient. With the
settings, I now get readable crashes:

```
 #9 0x000055dc007d1724 void Carbon::Internal::CheckFail<Carbon::TemplateString<5>{"FATAL"}, Carbon::TemplateString<27>{"toolchain/driver/driver.cpp"}, 84, Carbon::TemplateString<0>{}, Carbon::TemplateString<3>{"err"}>() (/usr/local/google/home/jperkins/.cache/bazel/_bazel_jperkins/85deb7d9d96f7e0e80b42618a55969d7/sandbox/linux-sandbox/9383/execroot/_main/bazel-out/k8-fastbuild/bin/toolchain/testing/file_test.runfiles/_main/toolchain/testing/file_test+0x2894724)
```

Note the LLVM update is for
llvm/llvm-project#109021
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.

2 participants