Synthesis failed for java-pubsublite

Hello! Autosynth couldn't regenerate java-pubsublite. :broken_heart:
Here's the output from running synth.py:
15:41:06,693 autosynth [DEBUG] > Running: git checkout 01b6f23d24b27878b48667ce597876d66b59780e
Note: checking out '01b6f23d24b27878b48667ce597876d66b59780e'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 01b6f23 fix(python): install testutils from pypi (#503)
2020-05-19 15:41:06,703 autosynth [DEBUG] > Running: git branch -f autosynth-self-1
2020-05-19 15:41:06,708 autosynth [DEBUG] > Running: git checkout autosynth-self-1
Switched to branch 'autosynth-self-1'
2020-05-19 15:41:06,714 autosynth [INFO] > Running synthtool
2020-05-19 15:41:06,714 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-05-19 15:41:06,717 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-05-19 15:41:06,942 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/java-pubsublite/synth.py.
On branch autosynth-self-1
nothing to commit, working tree clean
2020-05-19 15:41:07,196 synthtool [DEBUG] > Wrote metadata to synth.metadata.
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
    main()
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/java-pubsublite/synth.py", line 25, in <module>
    'samples/install-without-bom/*',
  File "/tmpfs/src/github/synthtool/synthtool/languages/java.py", line 362, in common_templates
    ["samples/**/src/main/java/**/*.java", "samples/**/pom.xml"]
  File "/tmpfs/src/github/synthtool/synthtool/gcp/snippets.py", line 106, in all_snippets
    for snippet, code in all_snippets_from_file(file).items():
  File "/tmpfs/src/github/synthtool/synthtool/gcp/snippets.py", line 90, in all_snippets_from_file
    for snippet, lines in snippet_lines.items()
  File "/tmpfs/src/github/synthtool/synthtool/gcp/snippets.py", line 90, in <dictcomp>
    for snippet, lines in snippet_lines.items()
  File "/tmpfs/src/github/synthtool/synthtool/gcp/snippets.py", line 47, in _trim_leading_whitespace
    max_leading_spaces = min(leading_spaces)
ValueError: min() arg is an empty sequence
2020-05-19 15:41:07,240 autosynth [ERROR] > Synthesis failed
2020-05-19 15:41:07,240 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at b9371b1 fix: fix the regex in Versions.java to actually split on '.' (#57)
2020-05-19 15:41:07,247 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2020-05-19 15:41:07,253 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2020-05-19 15:41:07,543 autosynth [DEBUG] > Running: git checkout b9371b1ef1c7f4ff9b3d86f00d899a1ba3bfd85c
Note: checking out 'b9371b1ef1c7f4ff9b3d86f00d899a1ba3bfd85c'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at b9371b1 fix: fix the regex in Versions.java to actually split on '.' (#57)
2020-05-19 15:41:07,550 autosynth [DEBUG] > Running: git checkout d2364eb80b840a36136c8ce12f1c6efabcc9600e
Previous HEAD position was 01b6f23 fix(python): install testutils from pypi (#503)
HEAD is now at d2364eb chore(python): remove one remaining extra bash line (#565)
2020-05-19 15:41:07,565 autosynth [DEBUG] > Running: git branch -f autosynth-40
2020-05-19 15:41:07,569 autosynth [DEBUG] > Running: git checkout autosynth-40
Switched to branch 'autosynth-40'
2020-05-19 15:41:07,576 autosynth [INFO] > Running synthtool
2020-05-19 15:41:07,576 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-05-19 15:41:07,579 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-05-19 15:41:07,796 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/java-pubsublite/synth.py.
On branch autosynth-40
nothing to commit, working tree clean
2020-05-19 15:41:08,038 synthtool [DEBUG] > Wrote metadata to synth.metadata.
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
    main()
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/java-pubsublite/synth.py", line 25, in <module>
    'samples/install-without-bom/*',
  File "/tmpfs/src/github/synthtool/synthtool/languages/java.py", line 362, in common_templates
    ["samples/**/src/main/java/**/*.java", "samples/**/pom.xml"]
  File "/tmpfs/src/github/synthtool/synthtool/gcp/snippets.py", line 106, in all_snippets
    for snippet, code in all_snippets_from_file(file).items():
  File "/tmpfs/src/github/synthtool/synthtool/gcp/snippets.py", line 90, in all_snippets_from_file
    for snippet, lines in snippet_lines.items()
  File "/tmpfs/src/github/synthtool/synthtool/gcp/snippets.py", line 90, in <dictcomp>
    for snippet, lines in snippet_lines.items()
  File "/tmpfs/src/github/synthtool/synthtool/gcp/snippets.py", line 47, in _trim_leading_whitespace
    max_leading_spaces = min(leading_spaces)
ValueError: min() arg is an empty sequence
2020-05-19 15:41:08,088 autosynth [ERROR] > Synthesis failed
2020-05-19 15:41:08,088 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at b9371b1 fix: fix the regex in Versions.java to actually split on '.' (#57)
2020-05-19 15:41:08,095 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-05-19 15:41:08,101 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 615, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 476, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 595, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 371, in synthesize_loop
    synthesize_inner_loop(toolbox, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 381, in synthesize_inner_loop
    synthesizer, len(toolbox.versions) - 1
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 266, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 119, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth is still having trouble generating java-pubsublite. :sob:
Here's the output from running synth.py:
-b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 7404ee0 chore: release 0.1.4 (#65)
2020-05-20 09:30:04,917 autosynth [DEBUG] > Running: git checkout 01b6f23d24b27878b48667ce597876d66b59780e
Note: checking out '01b6f23d24b27878b48667ce597876d66b59780e'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 01b6f23 fix(python): install testutils from pypi (#503)
2020-05-20 09:30:04,929 autosynth [DEBUG] > Running: git branch -f autosynth-self-1
2020-05-20 09:30:04,933 autosynth [DEBUG] > Running: git checkout autosynth-self-1
Switched to branch 'autosynth-self-1'
2020-05-20 09:30:04,952 autosynth [INFO] > Running synthtool
2020-05-20 09:30:04,952 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-05-20 09:30:04,955 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-05-20 09:30:05,198 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/java-pubsublite/synth.py.
On branch autosynth-self-1
nothing to commit, working tree clean
2020-05-20 09:30:05,578 synthtool [DEBUG] > Wrote metadata to synth.metadata.
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
    main()
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/java-pubsublite/synth.py", line 25, in <module>
    'samples/install-without-bom/*',
  File "/tmpfs/src/github/synthtool/synthtool/languages/java.py", line 362, in common_templates
    ["samples/**/src/main/java/**/*.java", "samples/**/pom.xml"]
  File "/tmpfs/src/github/synthtool/synthtool/gcp/snippets.py", line 106, in all_snippets
    for snippet, code in all_snippets_from_file(file).items():
  File "/tmpfs/src/github/synthtool/synthtool/gcp/snippets.py", line 90, in all_snippets_from_file
    for snippet, lines in snippet_lines.items()
  File "/tmpfs/src/github/synthtool/synthtool/gcp/snippets.py", line 90, in <dictcomp>
    for snippet, lines in snippet_lines.items()
  File "/tmpfs/src/github/synthtool/synthtool/gcp/snippets.py", line 47, in _trim_leading_whitespace
    max_leading_spaces = min(leading_spaces)
ValueError: min() arg is an empty sequence
2020-05-20 09:30:05,622 autosynth [ERROR] > Synthesis failed
2020-05-20 09:30:05,622 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 7404ee0 chore: release 0.1.4 (#65)
2020-05-20 09:30:05,629 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2020-05-20 09:30:05,635 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2020-05-20 09:30:05,770 autosynth [DEBUG] > Running: git checkout 7404ee0aa8dbe38bba9310c437668a19ab5b23bb
Note: checking out '7404ee0aa8dbe38bba9310c437668a19ab5b23bb'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 7404ee0 chore: release 0.1.4 (#65)
2020-05-20 09:30:05,777 autosynth [DEBUG] > Running: git checkout 520238f0b4d50ead1a20818855f7d732cb442540
Previous HEAD position was 01b6f23 fix(python): install testutils from pypi (#503)
HEAD is now at 520238f chore: add go-apiary config (#571)
2020-05-20 09:30:05,792 autosynth [DEBUG] > Running: git branch -f autosynth-42
2020-05-20 09:30:05,797 autosynth [DEBUG] > Running: git checkout autosynth-42
Switched to branch 'autosynth-42'
2020-05-20 09:30:05,803 autosynth [INFO] > Running synthtool
2020-05-20 09:30:05,803 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-05-20 09:30:05,805 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-05-20 09:30:06,034 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/java-pubsublite/synth.py.
On branch autosynth-42
nothing to commit, working tree clean
2020-05-20 09:30:06,289 synthtool [DEBUG] > Wrote metadata to synth.metadata.
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
    main()
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/java-pubsublite/synth.py", line 25, in <module>
    'samples/install-without-bom/*',
  File "/tmpfs/src/github/synthtool/synthtool/languages/java.py", line 362, in common_templates
    ["samples/**/src/main/java/**/*.java", "samples/**/pom.xml"]
  File "/tmpfs/src/github/synthtool/synthtool/gcp/snippets.py", line 106, in all_snippets
    for snippet, code in all_snippets_from_file(file).items():
  File "/tmpfs/src/github/synthtool/synthtool/gcp/snippets.py", line 90, in all_snippets_from_file
    for snippet, lines in snippet_lines.items()
  File "/tmpfs/src/github/synthtool/synthtool/gcp/snippets.py", line 90, in <dictcomp>
    for snippet, lines in snippet_lines.items()
  File "/tmpfs/src/github/synthtool/synthtool/gcp/snippets.py", line 47, in _trim_leading_whitespace
    max_leading_spaces = min(leading_spaces)
ValueError: min() arg is an empty sequence
2020-05-20 09:30:06,331 autosynth [ERROR] > Synthesis failed
2020-05-20 09:30:06,331 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 7404ee0 chore: release 0.1.4 (#65)
2020-05-20 09:30:06,338 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-05-20 09:30:06,344 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 615, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 476, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 595, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 371, in synthesize_loop
    synthesize_inner_loop(toolbox, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 381, in synthesize_inner_loop
    synthesizer, len(toolbox.versions) - 1
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 266, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 119, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth is still having trouble generating java-pubsublite. :sob:
Here's the output from running synth.py:
ch-name>

HEAD is now at e364772 style: format grpc library and protos (#69)
2020-05-20 15:40:35,742 autosynth [DEBUG] > Running: git checkout 01b6f23d24b27878b48667ce597876d66b59780e
Note: checking out '01b6f23d24b27878b48667ce597876d66b59780e'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 01b6f23 fix(python): install testutils from pypi (#503)
2020-05-20 15:40:35,751 autosynth [DEBUG] > Running: git branch -f autosynth-self-1
2020-05-20 15:40:35,754 autosynth [DEBUG] > Running: git checkout autosynth-self-1
Switched to branch 'autosynth-self-1'
2020-05-20 15:40:35,770 autosynth [INFO] > Running synthtool
2020-05-20 15:40:35,770 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-05-20 15:40:35,772 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-05-20 15:40:35,966 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/java-pubsublite/synth.py.
On branch autosynth-self-1
nothing to commit, working tree clean
2020-05-20 15:40:36,206 synthtool [DEBUG] > Wrote metadata to synth.metadata.
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
    main()
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/java-pubsublite/synth.py", line 25, in <module>
    'samples/install-without-bom/*',
  File "/tmpfs/src/github/synthtool/synthtool/languages/java.py", line 362, in common_templates
    ["samples/**/src/main/java/**/*.java", "samples/**/pom.xml"]
  File "/tmpfs/src/github/synthtool/synthtool/gcp/snippets.py", line 106, in all_snippets
    for snippet, code in all_snippets_from_file(file).items():
  File "/tmpfs/src/github/synthtool/synthtool/gcp/snippets.py", line 90, in all_snippets_from_file
    for snippet, lines in snippet_lines.items()
  File "/tmpfs/src/github/synthtool/synthtool/gcp/snippets.py", line 90, in <dictcomp>
    for snippet, lines in snippet_lines.items()
  File "/tmpfs/src/github/synthtool/synthtool/gcp/snippets.py", line 47, in _trim_leading_whitespace
    max_leading_spaces = min(leading_spaces)
ValueError: min() arg is an empty sequence
2020-05-20 15:40:36,239 autosynth [ERROR] > Synthesis failed
2020-05-20 15:40:36,239 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at e364772 style: format grpc library and protos (#69)
2020-05-20 15:40:36,268 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2020-05-20 15:40:36,273 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2020-05-20 15:40:36,413 autosynth [DEBUG] > Running: git checkout e364772a8f9de194fc81d0379d1ce395083643ac
Note: checking out 'e364772a8f9de194fc81d0379d1ce395083643ac'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at e364772 style: format grpc library and protos (#69)
2020-05-20 15:40:36,419 autosynth [DEBUG] > Running: git checkout 7ee92820e64c0aea379781b82399d6b3f3c8655f
Previous HEAD position was 01b6f23 fix(python): install testutils from pypi (#503)
HEAD is now at 7ee9282 fix: don't fail when clean fails (#574)
2020-05-20 15:40:36,432 autosynth [DEBUG] > Running: git branch -f autosynth-43
2020-05-20 15:40:36,435 autosynth [DEBUG] > Running: git checkout autosynth-43
Switched to branch 'autosynth-43'
2020-05-20 15:40:36,439 autosynth [INFO] > Running synthtool
2020-05-20 15:40:36,440 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-05-20 15:40:36,441 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-05-20 15:40:36,635 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/java-pubsublite/synth.py.
On branch autosynth-43
nothing to commit, working tree clean
2020-05-20 15:40:36,855 synthtool [DEBUG] > Wrote metadata to synth.metadata.
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
    main()
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/java-pubsublite/synth.py", line 25, in <module>
    'samples/install-without-bom/*',
  File "/tmpfs/src/github/synthtool/synthtool/languages/java.py", line 362, in common_templates
    ["samples/**/src/main/java/**/*.java", "samples/**/pom.xml"]
  File "/tmpfs/src/github/synthtool/synthtool/gcp/snippets.py", line 106, in all_snippets
    for snippet, code in all_snippets_from_file(file).items():
  File "/tmpfs/src/github/synthtool/synthtool/gcp/snippets.py", line 90, in all_snippets_from_file
    for snippet, lines in snippet_lines.items()
  File "/tmpfs/src/github/synthtool/synthtool/gcp/snippets.py", line 90, in <dictcomp>
    for snippet, lines in snippet_lines.items()
  File "/tmpfs/src/github/synthtool/synthtool/gcp/snippets.py", line 47, in _trim_leading_whitespace
    max_leading_spaces = min(leading_spaces)
ValueError: min() arg is an empty sequence
2020-05-20 15:40:36,888 autosynth [ERROR] > Synthesis failed
2020-05-20 15:40:36,888 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at e364772 style: format grpc library and protos (#69)
2020-05-20 15:40:36,894 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-05-20 15:40:36,899 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 615, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 476, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 595, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 371, in synthesize_loop
    synthesize_inner_loop(toolbox, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 381, in synthesize_inner_loop
    synthesizer, len(toolbox.versions) - 1
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 266, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 119, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth is still having trouble generating java-pubsublite. :sob:
Here's the output from running synth.py:
ch-name>

HEAD is now at e364772 style: format grpc library and protos (#69)
2020-05-21 02:44:21,015 autosynth [DEBUG] > Running: git checkout 01b6f23d24b27878b48667ce597876d66b59780e
Note: checking out '01b6f23d24b27878b48667ce597876d66b59780e'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 01b6f23 fix(python): install testutils from pypi (#503)
2020-05-21 02:44:21,026 autosynth [DEBUG] > Running: git branch -f autosynth-self-1
2020-05-21 02:44:21,031 autosynth [DEBUG] > Running: git checkout autosynth-self-1
Switched to branch 'autosynth-self-1'
2020-05-21 02:44:21,037 autosynth [INFO] > Running synthtool
2020-05-21 02:44:21,037 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-05-21 02:44:21,040 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-05-21 02:44:21,276 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/java-pubsublite/synth.py.
On branch autosynth-self-1
nothing to commit, working tree clean
2020-05-21 02:44:21,615 synthtool [DEBUG] > Wrote metadata to synth.metadata.
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
    main()
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/java-pubsublite/synth.py", line 25, in <module>
    'samples/install-without-bom/*',
  File "/tmpfs/src/github/synthtool/synthtool/languages/java.py", line 362, in common_templates
    ["samples/**/src/main/java/**/*.java", "samples/**/pom.xml"]
  File "/tmpfs/src/github/synthtool/synthtool/gcp/snippets.py", line 106, in all_snippets
    for snippet, code in all_snippets_from_file(file).items():
  File "/tmpfs/src/github/synthtool/synthtool/gcp/snippets.py", line 90, in all_snippets_from_file
    for snippet, lines in snippet_lines.items()
  File "/tmpfs/src/github/synthtool/synthtool/gcp/snippets.py", line 90, in <dictcomp>
    for snippet, lines in snippet_lines.items()
  File "/tmpfs/src/github/synthtool/synthtool/gcp/snippets.py", line 47, in _trim_leading_whitespace
    max_leading_spaces = min(leading_spaces)
ValueError: min() arg is an empty sequence
2020-05-21 02:44:21,661 autosynth [ERROR] > Synthesis failed
2020-05-21 02:44:21,662 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at e364772 style: format grpc library and protos (#69)
2020-05-21 02:44:21,669 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2020-05-21 02:44:21,675 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2020-05-21 02:44:21,809 autosynth [DEBUG] > Running: git checkout e364772a8f9de194fc81d0379d1ce395083643ac
Note: checking out 'e364772a8f9de194fc81d0379d1ce395083643ac'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at e364772 style: format grpc library and protos (#69)
2020-05-21 02:44:21,845 autosynth [DEBUG] > Running: git checkout 7ee92820e64c0aea379781b82399d6b3f3c8655f
Previous HEAD position was 01b6f23 fix(python): install testutils from pypi (#503)
HEAD is now at 7ee9282 fix: don't fail when clean fails (#574)
2020-05-21 02:44:21,864 autosynth [DEBUG] > Running: git branch -f autosynth-43
2020-05-21 02:44:21,869 autosynth [DEBUG] > Running: git checkout autosynth-43
Switched to branch 'autosynth-43'
2020-05-21 02:44:21,876 autosynth [INFO] > Running synthtool
2020-05-21 02:44:21,876 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-05-21 02:44:21,879 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-05-21 02:44:22,114 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/java-pubsublite/synth.py.
On branch autosynth-43
nothing to commit, working tree clean
2020-05-21 02:44:22,379 synthtool [DEBUG] > Wrote metadata to synth.metadata.
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
    main()
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/java-pubsublite/synth.py", line 25, in <module>
    'samples/install-without-bom/*',
  File "/tmpfs/src/github/synthtool/synthtool/languages/java.py", line 362, in common_templates
    ["samples/**/src/main/java/**/*.java", "samples/**/pom.xml"]
  File "/tmpfs/src/github/synthtool/synthtool/gcp/snippets.py", line 106, in all_snippets
    for snippet, code in all_snippets_from_file(file).items():
  File "/tmpfs/src/github/synthtool/synthtool/gcp/snippets.py", line 90, in all_snippets_from_file
    for snippet, lines in snippet_lines.items()
  File "/tmpfs/src/github/synthtool/synthtool/gcp/snippets.py", line 90, in <dictcomp>
    for snippet, lines in snippet_lines.items()
  File "/tmpfs/src/github/synthtool/synthtool/gcp/snippets.py", line 47, in _trim_leading_whitespace
    max_leading_spaces = min(leading_spaces)
ValueError: min() arg is an empty sequence
2020-05-21 02:44:22,421 autosynth [ERROR] > Synthesis failed
2020-05-21 02:44:22,422 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at e364772 style: format grpc library and protos (#69)
2020-05-21 02:44:22,429 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-05-21 02:44:22,435 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 615, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 476, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 595, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 371, in synthesize_loop
    synthesize_inner_loop(toolbox, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 381, in synthesize_inner_loop
    synthesizer, len(toolbox.versions) - 1
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 266, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 119, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

@chingor13 Is this why we don't have the up-to-date library version (0.1.4) in README?

@anguillanneuf no, https://github.com/googleapis/java-pubsublite/blob/2faceb03ec7c91c07b1353d74b244aa763140ab0/synth.py#L22-L23 excludes the README from regen.


react-a11y

React tool for checking simple rules
https://github.com/rackt/react-a11y

Excellent, thank you so much!


proxy: router refactor and cmap fallback

Allows specifying a commandmap on a router as well as a map and default route. Lookup order is:

Check map, if entry is map, check that
If none matched, check fallback command map
If nothing matched, return default route handler if exists

Also removes the router struct from the funcgen object, saving 32 bytes and letting me extend the size of the router struct without bloating every allocated fgen. This will later allow inlining the lookup map into the router struct for a lookup speedup.

Fixes some missing API functionality from mcrouter, fixes an annoyance with memory allocation, and prepares for a later CPU optimization.


Ignore commented lines when checking indentation, attached replication - to explore

test.txt
source - internal gtm chat group

Above test.txt works (after correcting indentation to spaces instead of mix tabs + spaces) but below fails when it's on 2nd line.
b.txt

Normally programming best practice comment should be aligned with indentation for the block.
This is not straightforward to implement unless exclude comments from generated JS script.
But that's bad for debugging and tracing issues if problem happens during compilation.
Dropping this to prioritise on other items.


ROX-22019: Change string comparison for proto generated structs

Description
Replace string comparison for proto generated structs.
User-facing documentation
(must be 2 items and both must be checked)

[x] CHANGELOG update is not needed
[x] Documentation is not needed

Testing

[x] inspected CI results

Automated testing
(must be at least 1 item and all items must be checked)

[x] modified existing tests

How I validated my change
CI pipeline

/test gke-nongroovy-e2e-tests


fix: DNS01 challenge failure

Codecov Report

Merging #753 (2cbf7da) into main (870b7ff) will decrease coverage by 0.16%.
The diff coverage is 20.00%.

@@            Coverage Diff             @@
##             main     #753      +/-   ##
==========================================
- Coverage   80.49%   80.33%   -0.17%
==========================================
  Files          97       97
  Lines       10785    10788       +3
==========================================
- Hits         8681     8666      -15
- Misses       1619     1632      +13
- Partials      485      490       +5

Impacted Files
Coverage Δ

pkg/object/autocertmanager/domain.go
69.62% <0.00%> (-1.32%)
:arrow_down:

pkg/protocols/httpprot/request.go
80.32% <ø> (ø)

pkg/filters/builder/builder.go
92.50% <100.00%> (ø)

pkg/filters/headerlookup/headerlookup.go
84.61% <0.00%> (-1.40%)
:arrow_down:

pkg/filters/validator/basicauth.go
77.41% <0.00%> (-1.39%)
:arrow_down:

pkg/cluster/cluster.go
60.10% <0.00%> (-1.06%)
:arrow_down:

pkg/filters/proxy/pool.go
76.73% <0.00%> (-0.72%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


recursively create zip file

fix Issue 15222 - std.experimental omitted from phobos zip file
avoids outdated manifest lists

I didn't test the windows rule, but according to http://info-zip.org/pub/infozip/mans/zip.html the command line should be the same as on linux.

This is grand! Maybe delete MANIFEST or is it too early for that?

This is grand! Maybe delete MANIFEST or is it too early for that?

Isn't MANIFEST in Druntime?

Isn't MANIFEST in Druntime?

Yeah, indeed. The large simplification of makefiles is still well worth it.

We can easily extend this to druntime and get rid of some manifests.

Who owns @dlang-bot?

I created that user for posting cross references (see https://code.dawg.eu/writing-a-vibed-app.html), and we might integrate it with some of @CyberShadow's systems.

LGTM.  I agree using wildcards is more hassle-free in the long run.

I've updated this and also removed ALL_C_FILES from posix.mak, we don't need to check zlib's source code for whitespace issues.


Add support for more AAD auth credentials

Is your feature request related to a problem? Please describe.
Currently the AAD auth only support ClientSecretCredential, ClientCertificateCredential and ManagedIdentityCredential providers but the Azure.Identity library allows for more providers which are usually used during local development like Azure CLI or Visual Studio providers.
Describe the solution you'd like
Allow developers to use more providers from Azure.Identity through configuration in connection string or by allowing to pass their TokenCredential instance in options or constructor.
Additional context

#1389 We've provided a new constructor for ServiceEndpoint in this PR.
This change will be included in our 1.10.0, which is already in preview.

Hi @terencefan,
When creating a ServiceManager with transient transport type i'm getting an error because only the connection string is supported with this transport type and my ServiceEndpoint with my custom TokenCredential is not used.
Do you plan to support custom TokenCredential when using transient transport type?

@qetza Transient transport type needs  SignalR Service Owner role,  which has REST api access. We have just updated the doc, but the doc is not released by far.

Hi @Y-Sindo,
Thanks but my issue is not on the role needed or the documentation but that when I want to create a ServiceManager instance using transient transport I must use a connection string (ServiceManagerOptions.ValidateOptions) and when using a connection string there is no way to pass my own instance of TokenCredential. The TokenCredential is created by the ConnectionStringParser.Parse method which only returns ClientSecretCredential, ClientCertificateCredential or ManagedIdentityCredential based on keys provided on the connection string.
It would be great if I could set my own TokenCredential to ServiceManagerOptions which would be used when creating the ServiceEndpoint internally (by passing it to ConnectionStringParser.Parse which will use it by default if aad auth was enabled and the value was not null).

@qetza Sorry it is a bug. We will fix it in the next release.


fix: aca-py dependencies

Should be able to merge this once https://github.com/hyperledger/aries-cloudagent-python/pull/1129 has been merged into hyperledger main
Signed-off-by: Daniel Bluhm<EMAIL_ADDRESS>

No longer relevant