-
Notifications
You must be signed in to change notification settings - Fork 67
streaming support #337
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
streaming support #337
Conversation
# Conflicts: # src/server/api.php
looks like this other test fails too:
there's a lot going on in the pr, so i'm going to try to run the integration tests under php5 also. will update when done. @krivard i'd love to get to php7 in prod. |
php5.4 image, streaming branch:
php5.4 image, main branch from cmu-delphi:
@sgratzl did you use any php features that aren't available in php5? |
I didn't know that the server is just using php5.4. I was testing with the docker image from https://github.com/cmu-delphi/operations/blob/main/dev/docker/web/Dockerfile which is PHP 7. So, most likely with all the types and classes. |
agreed, will start an asana task until we figure out what work is actually required |
yeah, not your fault for using php7 -- we were planning to go to php7 many months ago and it fizzled with everything else happening. we should discuss cost+risk+timeline for switching over to php7 (and also cost+risk of staying on php5). @krivard @korlaxxalrok @sgratzl on the php7 image, the failing test is looks like there's a bare return when the cache is empty. no response is emitted, and the client is unable to parse. in this case, the desired behavior is |
all unit/integration tests are passing for me now. next doing some manual testing.
expected
i tried curling the various formats with |
should be fixed |
So, I guess the system has been upgraded to php 7? |
Mmmmm looks like I misinterpreted the thread to mean that had been fixed. I know Brian started looking at that yesterday, let me see if we can expedite that before this deploys to production. It's currently behind at least four indicator updates so we have some time. |
Brian recommends we roll back. Apologies for the fire drill! |
closes #51
streams results back to the user instead of caching it locally and then send it in a bulk.
It is a bigger change since I introduced the notion of a printer which is responsible for printing in different formats. There is no change for clients.
Following formats are supported:
signal
... no streamingdon't know why
is failing. I didn't touch those files