googleapis / doc-pipeline Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
Seeing some jobs with only the following files, which is missing the actual content:
docuploader > Sit tight, I'm tarring up your docs in ..
./
./docs.metadata
./xrefmap.yml
./_toc.yaml
With the change from template, until toc.html is completely gone and removed from all tarballs we need to maintain support for toc.html, but also add in support for toc.yaml.
Reference: googleapis/doc-templates#108
docpipeline > Error processing docfx-java-pubsublite-kafka-0.2.0.tar.gz:
'dict' object has no attribute 'sort'
Reproduce locally:
$ gsutil cp gs://docs-staging-v2/docfx-java-pubsublite-kafka-0.2.0.tar.gz gs://my-bucket
$ SOURCE_BLOB=docfx-java-pubsublite-kafka-0.2.0.tar.gz SOURCE_BUCKET=my-bucket TRAMPOLINE_BUILD_FILE=./generate.sh TRAMPOLINE_IMAGE=gcr.io/cloud-devrel-kokoro-resources/docfx TRAMPOLINE_DOCKERFILE=docfx/Dockerfile ci/trampoline_v2.sh
Here is the .sort
call:
doc-pipeline/docpipeline/prepare.py
Lines 38 to 39 in ad2fde9
The goal is that we can replicate the behavior for FORCE_GENERATE_ALL
but have it run faster for all the languages by having the builds run in parallel for each language. It will be dependent on #40 to be finished first.
When the pipeline fails to process a tarball, we should automatically file an issue.
While we iron out the notifications, issues should be filed on this repo.
We can use flakybot
to manage the issues.
Thoughts:
docs.metadata
include the repo?flakybot
invocation for each repo, or can we update flakybot
to magically handle that for us?
flakybot
thus far (that I know of).flakybot
about it?
This issue contains a list of Renovate updates and their statuses.
This repository currently has no open or pending branches.
This test failed!
To configure my behavior, see the Flaky Bot documentation.
If I'm commenting on this issue too often, add the flakybot: quiet
label and
I will stop commenting.
commit: 155d9fe
buildURL: Build Status, Sponge
status: failed
If we can figure out a way to automatically label the tarball issues like #118 with lang:nodejs
and likewise for other languages, we'll be able to configure Blunderbuss.
This test failed!
To configure my behavior, see the Flaky Bot documentation.
If I'm commenting on this issue too often, add the flakybot: quiet
label and
I will stop commenting.
commit: 9fe189c
buildURL: Build Status, Sponge
status: failed
doc-pipeline/docpipeline/generate.py
Lines 470 to 480 in b8c9266
This test failed!
To configure my behavior, see the Flaky Bot documentation.
If I'm commenting on this issue too often, add the flakybot: quiet
label and
I will stop commenting.
commit: c8b76a0
buildURL: Build Status, Sponge
status: failed
The previous timeout was removed for 15 minutes, however there seems to be a default 3 hour limit.
also set up branch protection configuration
ImportError while importing test module '/workspace/tests/test_generate.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/local/lib/python3.9/importlib/__init__.py:127: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/test_generate.py:25: in <module>
from google.cloud import storage
/h/.local/lib/python3.9/site-packages/google/cloud/storage/__init__.py:35: in <module>
from google.cloud.storage.batch import Batch
/h/.local/lib/python3.9/site-packages/google/cloud/storage/batch.py:27: in <module>
import six
E ModuleNotFoundError: No module named 'six'
Let's add an explicit dependency to fix the build for now.
This test failed!
To configure my behavior, see the Flaky Bot documentation.
If I'm commenting on this issue too often, add the flakybot: quiet
label and
I will stop commenting.
commit: 9fe189c
buildURL: Build Status, Sponge
status: failed
See discussion in #12.
This test failed!
To configure my behavior, see the Flaky Bot documentation.
If I'm commenting on this issue too often, add the flakybot: quiet
label and
I will stop commenting.
commit: 2929c8b
buildURL: Build Status, Sponge
status: failed
This test failed!
To configure my behavior, see the Flaky Bot documentation.
If I'm commenting on this issue too often, add the flakybot: quiet
label and
I will stop commenting.
commit: aa50c8b
buildURL: Build Status, Sponge
status: failed
This test failed!
To configure my behavior, see the Flaky Bot documentation.
If I'm commenting on this issue too often, add the flakybot: quiet
label and
I will stop commenting.
commit: ab9a4de
buildURL: Build Status, Sponge
status: failed
This test failed!
To configure my behavior, see the Flaky Bot documentation.
If I'm commenting on this issue too often, add the flakybot: quiet
label and
I will stop commenting.
commit: b7b14da
buildURL: Build Status, Sponge
status: failed
This test failed!
To configure my behavior, see the Flaky Bot documentation.
If I'm commenting on this issue too often, add the flakybot: quiet
label and
I will stop commenting.
commit: c8b76a0
buildURL: Build Status, Sponge
status: failed
@cojenco helped looked into the issue where if by the time the Blob
is instantiated and when we download tarballs inside the Blob
using blob.download_to_filename()
, it could fail if there is a "newer" version of the file that's re-uploaded. There is a generation
parameter that gets included by default for the storage query. This can be avoided by re-instantiating the Blob if we run into a 404, which should minimize the amount of times we could fail with 404s.
We should have a simple, one line command that the user should be able to use to take a directory of YAML and convert it to HTML.
This test failed!
To configure my behavior, see the Flaky Bot documentation.
If I'm commenting on this issue too often, add the flakybot: quiet
label and
I will stop commenting.
commit: b8c9266
buildURL: Build Status, Sponge
status: failed
This test failed!
To configure my behavior, see the Flaky Bot documentation.
If I'm commenting on this issue too often, add the flakybot: quiet
label and
I will stop commenting.
commit: ab9a4de
buildURL: Build Status, Sponge
status: failed
Tarballs can specify the xrefmaps they need using the xrefs
field in docs.metadata
. Let's use that field to specify the exact xrefmap files needed for the current build, rather than downloading every xrefmap for every build.
@jskeet came up with:
devsite://dotnet/Google.Api.Gax/2.5.0
We can convert that to an xrefmap by removing devsite://
, replacing the first and last /
with -
, and adding .tar.gz.yml
at the end. It will be an error if that xrefmap does not exist.
Another benefit of this is that one library can have multiple versions. Each version will have its own xrefmap. If every xrefmap is pulled in, there will be multiple xrefmap
files that register the same UIDs. Plus, when we support multiple versions, we'll need to use just the right version of the xrefmap as URLs will be different.
Finally, this will benefit libraries without xrefs because they won't need to download anything.
@jskeet will implement the change to the dotnet libraries. I will implement the change to doc-pipeline.
Running FORCE_GENERATE_ALL
build timed out after 10 hours, processing 781 blobs out of 3045. Raw math, that's ~25% of the blobs in 10 hours, so I'll increase to 72 hours for now.
Running the test with existing tmp directory in the doc-pipeline directory can cause flakiness and unknown behaviors.
Instead of potentially prematurely deleting the tmp folder, the test should ask the user to get rid of it before running any tests.
Once we have multi-version docs published, we should update our xref maps and regenerate content.
doc-pipeline/docpipeline/generate.py
Lines 228 to 235 in a2df6c1
There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.
Error type: undefined. Note: this is a nested preset so please contact the preset author if you are unable to fix it yourself.
This test failed!
To configure my behavior, see the Flaky Bot documentation.
If I'm commenting on this issue too often, add the flakybot: quiet
label and
I will stop commenting.
commit: b7b14da
buildURL: Build Status, Sponge
status: failed
This test failed!
To configure my behavior, see the Flaky Bot documentation.
If I'm commenting on this issue too often, add the flakybot: quiet
label and
I will stop commenting.
commit: b13da45
buildURL: Build Status, Sponge
status: failed
This test failed!
To configure my behavior, see the Flaky Bot documentation.
If I'm commenting on this issue too often, add the flakybot: quiet
label and
I will stop commenting.
commit: 155d9fe
buildURL: Build Status, Sponge
status: failed
We have Flakybot enabled for generation jobs, but not for tests. See
All new dependency PRs seem to have run into the test buckets having too many blobs from previous runs, and is not getting cleaned up properly. I'm not sure if someone is using the test bucket, but if it's not getting cleaned up properly we should look into why this is happening.
docpipeline > [Errno 2] No such file or directory: '/workspace/xrefs/go-cloud.google.com/go-v0.75.0.tar.gz.yml'
Sometimes, a language updates its YAML. We should provide an easy way to generate all of the HTML for just that langugage. Right now, the only options are:
SOURCE_BLOB
).FORCE_GENERATE_ALL
).(This came up because of Go. See googleapis/google-cloud-go#2986.)
Right now, if you update the templates or the YAML of a package, the HTML won't get regenerated automatically. What if our default job changed to:
This test failed!
To configure my behavior, see the Flaky Bot documentation.
If I'm commenting on this issue too often, add the flakybot: quiet
label and
I will stop commenting.
commit: 1a6da1c
buildURL: Build Status, Sponge
status: failed
Generally, staging should be green, so let's enable Flakybot for it.
This test failed!
To configure my behavior, see the Flaky Bot documentation.
If I'm commenting on this issue too often, add the flakybot: quiet
label and
I will stop commenting.
commit: e9cca96
buildURL: Build Status, Sponge
status: failed
The xref base URL assumes the default stem. There may be other places.
doc-pipeline/docpipeline/generate.py
Lines 228 to 235 in a2df6c1
Many tests failed at the same time in this package.
Here are the tests that failed:
commit: 32ba472
buildURL: Build Status, Sponge
status: failed
This test failed!
To configure my behavior, see the Flaky Bot documentation.
If I'm commenting on this issue too often, add the flakybot: quiet
label and
I will stop commenting.
commit: e9cca96
buildURL: Build Status, Sponge
status: failed
Similar to how normalized semver versions for Python has been an issue in the pipeline, it is also not getting picked up as the "latest" version when handling FORCE_GENEREATE_LATEST
, and probably for xref bit as well. We should revert the Python versioning back to be semver-compliant to find the latest.
It will be a slightly complicated logic as we'll have to convert it to be semver compliant, but also keep note of the original versioning to pinpoint and pick up on that version later on if needed.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.