python-docs-samples icon indicating copy to clipboard operation
python-docs-samples copied to clipboard

Update poll.js to include XML Header in fetch request

Open riathakkar opened this issue 1 year ago • 10 comments

Description

Fixes b/362304568

Note: Before submitting a pull request, please open an issue for discussion if you are not associated with Google.

Checklist

riathakkar avatar Aug 30 '24 20:08 riathakkar

How do we close this PR? @jinglundong

riathakkar avatar Sep 16 '24 16:09 riathakkar

I approved the PR. Let's wait for the Kokoro CI results.

jinglundong avatar Sep 17 '24 20:09 jinglundong

I just clicked re-run all checks to see if those Kokoro CI can be completed.

jinglundong avatar Sep 18 '24 23:09 jinglundong

I don't know why the Kokoro CIs are not triggered. We may need approval from iennae, the other reviewer, as well.

jinglundong avatar Sep 19 '24 20:09 jinglundong

3 tests/checks failed. Could you please take a look and ideally fix them? Thanks!

jinglundong avatar Sep 19 '24 22:09 jinglundong

@jinglundong I cant view the build results it says permisson denied. Im wondering if the linter is failing because its a js file with the python linter?

riathakkar avatar Sep 20 '24 17:09 riathakkar

@jinglundong I rerean the linter and it passes for some python.

nox > * py-2.7: failed nox > * py-3.8: success nox > * py-3.9: failed nox > * py-3.10: failed nox > * py-3.11: failed nox > * py-3.12: success

What i dont understand is if the js file is ever going to pass a python linter? I dont know why this file is in this repository.

riathakkar avatar Sep 25 '24 16:09 riathakkar

@kennethye1 At first glance, I was wondering if these integration tests failed due to the lifecycle policy enforcement. However, python-3.8 succeeded but python-3.11 failed. Are they really testing the modernized path?

Edit: seems like we are testing the modernized path. https://github.com/search?q=repo%3AGoogleCloudPlatform%2Fpython-docs-samples+ubuntu22&type=code, but we aren't really testing specific python minor versions from what I'm reading.

jinglundong avatar Sep 26 '24 22:09 jinglundong

@SandeepTuniki Could you help triage this PR?

jinglundong avatar Oct 03 '24 00:10 jinglundong

@SandeepTuniki Could you help triage this PR?

harisam@ is looking into this PR.

SandeepTuniki avatar Oct 03 '24 10:10 SandeepTuniki

Took a quick look at the build logs to see why these CI/CD checks are not passing. Will discuss internally on b/362304568

chalmerlowe avatar Nov 27 '24 12:11 chalmerlowe

@riathakkar Perhaps we can close this PR now, since you raised another PR in https://github.com/GoogleCloudPlatform/python-docs-samples/pull/13022 and got it merged?

SandeepTuniki avatar Jan 07 '25 05:01 SandeepTuniki