Rick Winfrey
f8645c43b5
Add test case
2019-02-08 17:41:16 -08:00
Rick Winfrey
2c5aeebf3e
Fix assignment bug
...
The following Python code:
class WatchInformation(NamedTuple):
reason: str
actor_id: Optional[int]
inserted_at: Optional[str]
Is valid and parses correctly, but we failed to assign because we expected a value (and not just a type) for the assignment statements (e.g. `reason: str`).
2019-02-08 17:25:11 -08:00
Timothy Clem
7485aa8252
Merge pull request #2375 from github/remove-extraneous-proto-encoding
...
Remove extraneous Message(1), Named(1), and other Proto instances
2019-02-08 08:16:27 -08:00
Timothy Clem
fbeb32de67
Can remove -fno-warn-orphans now
2019-02-07 11:20:54 -08:00
Timothy Clem
50bedeb689
Remove extraneous proto encoding/decode from our internal datatypes
2019-02-06 14:55:43 -08:00
Timothy Clem
bfb7806632
Merge pull request #2372 from github/remove-grpc-from-dockerfiles
...
Remove grpc dependencies from dockerfiles
2019-02-06 13:11:08 -08:00
Timothy Clem
b662421c67
Merge branch 'master' into remove-grpc-from-dockerfiles
2019-02-06 11:19:00 -08:00
Timothy Clem
780fdf0b11
Merge pull request #2373 from github/twirp-specs
...
Integration tests for Twirp RPC endpoints + Twirp errors
2019-02-06 11:18:42 -08:00
Timothy Clem
2ec1b74bfb
Merge pull request #2374 from github/remove-grpc-doc-references
...
Update docs to remove grpc references
2019-02-06 09:46:36 -08:00
Timothy Clem
ee700b465d
Oh yeah, don't need these
2019-02-06 09:44:04 -08:00
Timothy Clem
1342f2f52f
Merge branch 'master' into twirp-specs
2019-02-06 09:06:27 -08:00
Timothy Clem
e15553a97c
Merge pull request #2369 from github/second-wait
...
Block on async parsing thread after timeout
2019-02-06 08:58:51 -08:00
Timothy Clem
ee8d406c58
Merge branch 'master' into twirp-specs
2019-02-06 08:47:11 -08:00
Rick Winfrey
8f57b5d08b
Don't need _ <-
pattern
2019-02-05 13:56:55 -08:00
Timothy Clem
27b242a2cf
Test a bunch of failure cases
2019-02-05 11:16:21 -08:00
Timothy Clem
f48d1ecf04
Not using this
2019-02-05 11:15:12 -08:00
Timothy Clem
ccc67eb355
Test only flag to force failure of parsing
2019-02-05 11:15:03 -08:00
Rick Winfrey
9f2820feaa
Merge branch 'second-wait' of https://github.com/github/semantic into second-wait
2019-02-05 10:43:54 -08:00
Rick Winfrey
7b9ca2a0b0
Split over two lines
2019-02-05 10:43:16 -08:00
Timothy Clem
11560b473b
Minor rename
2019-02-05 10:05:10 -08:00
Timothy Clem
3de377b6da
Better handling of partial errors
2019-02-05 10:04:37 -08:00
Timothy Clem
2cb4d44f4a
Align the ::
2019-02-05 10:04:05 -08:00
Rick Winfrey
ca04fb6495
Merge branch 'master' into second-wait
2019-02-04 19:12:16 -08:00
Rick Winfrey
3d125791ab
Wait and block on the async parsing thread
...
If we timeout an async parsing thread and return, but the parsing thread is still running, we can force a race condition in which we delete the parser before it's completed on the async thread. This patch blocks on the parsing thread until it is complete before we clean up the parser. But this might have unintended consequences for the downstream consumer (i.e. github/github).
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
2019-02-04 16:23:36 -08:00
Timothy Clem
8267613081
Merge pull request #2366 from github/refactor-runTask-log-request-ids
...
Refactor runTask always log request ids
2019-02-04 16:07:52 -08:00
Timothy Clem
ed47f27c1f
Fix lints now that we are on a newer version of hlint
2019-02-04 15:19:21 -08:00
Timothy Clem
edc9adb197
Install and use hlint directly
2019-02-04 15:19:10 -08:00
Timothy Clem
b2ae020f26
Merge branch 'master' into refactor-runTask-log-request-ids
2019-02-04 14:54:43 -08:00
Rick Winfrey
b04b3c5c51
Merge pull request #2367 from github/python-comparison-operators
...
Python comparison operators
2019-02-04 13:52:14 -08:00
Timothy Clem
33f03c42a5
Align the ::
2019-02-04 13:31:31 -08:00
Rick Winfrey
43538a0897
Merge branch 'master' into python-comparison-operators
2019-02-04 13:21:01 -08:00
Rick Winfrey
44da5787f4
Merge branch 'python-comparison-operators' of https://github.com/github/semantic into python-comparison-operators
2019-02-04 13:19:23 -08:00
Josh Vera
17d7926ddf
Merge pull request #2363 from github/javascript-assignment-fixes
...
Javascript assignment fixes
2019-02-04 16:08:47 -05:00
Timothy Clem
77f07859a4
Merge branch 'master' into refactor-runTask-log-request-ids
2019-02-04 08:20:56 -08:00
joshvera
41b8f0ae9c
Merge remote-tracking branch 'origin/master' into javascript-assignment-fixes
2019-02-04 10:21:27 -05:00
Rick Winfrey
c5e9956501
Merge branch 'master' into python-comparison-operators
2019-02-01 17:08:29 -08:00
Timothy Clem
73785eaef9
Merge pull request #2335 from github/servant-experiment
...
Replace GRPC with Twirp and unify semantic's API
2019-02-01 15:05:05 -08:00
Timothy Clem
ce04fa8f12
Refactor runTask
2019-02-01 15:04:23 -08:00
joshvera
d67b7c273c
Add AccessControl instance for AnnotatedExpression
2019-02-01 17:02:26 -05:00
joshvera
f8fa4faa88
Merge remote-tracking branch 'origin/master' into javascript-assignment-fixes
2019-02-01 16:55:03 -05:00
Timothy Clem
d3a4377f3f
Merge branch 'master' into servant-experiment
2019-02-01 13:17:17 -08:00
Rick Winfrey
22f8cdf709
Use tokens instead of symbols
2019-02-01 12:48:20 -08:00
Rick Winfrey
a7c2c83a08
Use a choice
to construct a single symbol table with term1
...
Co-Authored-By: Rob Rix <robrix@github.com>
2019-02-01 12:21:27 -08:00
Rick Winfrey
10f6d54b96
Merge pull request #2365 from github/python-assignment-fixes
...
Python assignment fixes
2019-02-01 12:12:09 -08:00
Timothy Clem
a3a665bb5c
Correct inline docs
2019-02-01 08:54:26 -08:00
Josh Vera
37ea776107
Merge branch 'master' into javascript-assignment-fixes
2019-02-01 09:19:35 -05:00
Rick Winfrey
74fa0ca315
Revert "These syntax constructors are no longer used in Ruby's Syntax"
...
This reverts commit b2c8aa0afeb9abe3552dcabd74bbe2a114963e6d.
2019-01-31 17:33:10 -08:00
Rick Winfrey
9fd2e3e20f
Add pythonASTParser
2019-01-31 17:20:59 -08:00
Rick Winfrey
a5c32b80d3
Have to contextualize and postContextualize within chainl1Term
2019-01-31 17:01:33 -08:00
Rick Winfrey
2226a64b2b
Post contextualize the lhs of a binary comparison
2019-01-31 15:58:16 -08:00