text:
Subfolders not getting uploaded

Hi!
I am trying to use confluence publisher to publish asciidoctor files to a confluence space.
It is working just fine only for documents in the root folder. No document in the sub-folders is getting uploaded. I will attach the plugin configuration from the pom file if it is of any help. Thanks!
`

        <plugin>

            <groupId>org.sahli.asciidoc.confluence.publisher</groupId>
            <artifactId>asciidoc-confluence-publisher-maven-plugin</artifactId>
            <version>0.9.1</version>
            <configuration>
                <asciidocRootFolder>Try/</asciidocRootFolder>
                <sourceEncoding>UTF-8</sourceEncoding> <!-- default -->
                <rootConfluenceUrl>https://mxdocdev.murex.com/confluence</rootConfluenceUrl>
                <skipSslVerification>false</skipSslVerification>
                <spaceKey>***</spaceKey>
                <ancestorId>***</ancestorId>
                <username>***</username> <!-- or read from property -->
                <password>***</password> <!-- or read from property -->
                <pageTitlePrefix xml:space="preserve">Doc :: </pageTitlePrefix>
                <pageTitleSuffix xml:space="preserve"> [${project.version}]</pageTitleSuffix>
                <publishingStrategy>APPEND_TO_ANCESTOR</publishingStrategy>
                <versionMessage>Version ${project.version}</versionMessage>
                <attributes>
                    <version>${project.version}</version>
                    <someOtherKey>value</someOtherKey>
                </attributes>
            </configuration>
        </plugin>
    </plugins>`

I figured out the problem. The subfolders were not properly named.


text:
#270 Fix cross page links with anchors are rendered incorrectly

This MR fixes #270
Cross references with or without anchors are now rendered correctly and anchors are correctly navigated.
Tested cross-page references using different formats and all work correct with the changes:
<<page.adoc#,reference>>
<<page.adoc#_anchor,reference>>
xref:page.adoc[reference]
xref:page.adoc#_anchor[reference]
Internal Cross references on same page also keep working:
<<_anchor,reference>>
Tested with some quite complex page tree with references we used internally (Tested on Confluence 7.16.5).

Hi @agrz, thank you very much for your valuable pull request.
The documentation currently mentions that references to other pages using anchors is not yet supported (see https://confluence-publisher.atlassian.net/wiki/spaces/CPD/pages/315916297/Pages at the bottom).
With your contribution, this is no longer the case. Would you mind removing the note in the documentation and instead provide an example (similar to "Links between Pages", e.g. "Links between Pages with Anchors") that demonstrates the support you are about to add. That would be highly appreciated, thank you!

Hi Christian,
of course. I did not realize there was this warning in the documentation. I updated the pages documentation and removed the warning.
Best regards
Alexander

Thank you very much @agrz for the documentation update!

@agrz, Confluence Publisher version 0.19.0 containing your contribution is now available on Maven Central and Docker Hub.

source: gharchive/pull-request

authors: agrz cstettler

license_type: permissive

license_source: github-api


text:
Flag --name does not work.

When I'm running the below command, I'm getting an error:

helm install confluentinc/cp-helm-charts --name my-confluent --version 0.6.0
Error: unknown flag: --name

helm version is:

helm version
version.BuildInfo{Version:"v3.4.1", GitCommit:"c4e74854886b2efe3321e185578e6db9be0a6e29", GitTreeState:"clean", GoVersion:"go1.14.11"}

See #480

source: gharchive/issue

repo: confluentinc/cp-helm-charts


text:
ETH Pool liquidity is wrong

See below

@alexwhte what's wrong here?

lol it's too late. i was reading in USDC like TVL

authors: alexwhte sanchaymittal

repo: connext/monorepo

license: MIT


text:
Add VITAE token

Official announcement: http://vitaetoken.xyz/
Project team background:
Our team is composed of a group of determined and capable people who are committed to changing the way we use social media as a whole and are determined to leave a lasting impact for the next generation. Team members have conducted in-depth research on the scalability, reliability, and elastic optimization of distributed systems. They have a deep understanding of the underlying technology and working principles of the blockchain and have practical experience.Our goal is to develop the Vitae project in a legal and regulated environment.
Project basic information:
Vitae is a Utility token for a Social Media application to enable access to the products and/or services offered by a company. Therefore, Vitae utility tokens are not created to be an investment. Vitae Token was developed for its utility purpose only, to be utilized on the Social Media application.Developed with a purpose to change the world and bring freedom back to you! Providing a NEW AGE social rewards network to give opportunity for financial freedom.Vitae is not just a token. Much like life, it has a purpose. This purpose is to provide prosperity through POS (Proof Of Stake), Master Node, Super Node and our own Social Rewards Website.
Recommended Gas Limit (For ERC-20 project teams) for transaction: 60,000

欢迎在社区中推荐用户使用 imToken 2.0 ，imToken 支持比特币, 以太坊, Comos, EOS, 波场, Nervos, 比特币现金, 莱特币，波卡等资产管理；同时支持去中心化币币兑换功能 Tokenlon；转账页面支持 ETH, USDT, EOS, BTC OTC 功能；另外对于没有 ETH 矿工费的用户，也提供 ETH 手续费充值功能。

repo: consenlabs/token-profile


text:
Add YFIM token

为确保 Token Profile 的顺利通过，务必逐一确保以下检查项并补充项目资料：
.json 及 .png 文件检查项

[x] logo 尺寸：120*120 px
[x] logo 背景：透明
[x] 代币有至少一笔成功的转账记录
[x] 此项对于 ERC-20 项目方：合约地址有大小写（做 checksum）
[x] .json 和 .png 文件名一致（包括大小写）

项目资料：
官方公告：https://yearnfinance.money/addimtoken.html
团队背景：https://yearnfinance.money/#TEAM
项目基本情况：https://yearnfinance.money/#TOKENOMICS
转账所需 Gas Limit（对 ERC-20 项目方）：（默认为 60000）

Please check the following to ensure a successful verification of Token Profile
.json and .png document checklists

[x] logo dimensions: 120*120 px
[x] logo background: Transparent
[x] At least one transaction on the token contract
[x] For ERC-20 project teams: Upper and lower capitalized alphabets in token address (For checksum purposes)
[x] Same document name for both .json and .png (Including capitalization)

Project background:
Official announcement: https://yearnfinance.money/addimtoken.html
Project team background: https://yearnfinance.money/#TEAM
Project basic information: https://yearnfinance.money/#TOKENOMICS
Recommended Gas Limit (For ERC-20 project teams) for transaction: (Default is 60,000)

欢迎在社区中推荐用户使用 imToken 2.0 ，imToken 支持比特币, 以太坊, Comos, EOS, 波场, Nervos, 比特币现金, 莱特币，波卡等资产管理；同时支持去中心化币币兑换功能 Tokenlon；转账页面支持 ETH, USDT, EOS, BTC OTC 功能；另外对于没有 ETH 矿工费的用户，也提供 ETH 手续费充值功能。


text:
🛑 zeitgeist.musiques-incongrues.net is down

In 3a31b46, zeitgeist.musiques-incongrues.net (https://zeitgeist.musiques-incongrues.net) was down:

HTTP code: 0
Response time: 0 ms

Resolved: zeitgeist.musiques-incongrues.net is back up in 2ba80a4.

repo: constructions-incongrues/status


text:
🛑 zeitgeist.musiques-incongrues.net is down

In 3081126, zeitgeist.musiques-incongrues.net (https://zeitgeist.musiques-incongrues.net) was down:

HTTP code: 0
Response time: 0 ms

Resolved: zeitgeist.musiques-incongrues.net is back up in 9e06141.


text:
🛑 divag.parishq.net is down

In c5f934e, divag.parishq.net (https://divag.parishq.net) was down:

HTTP code: 0
Response time: 0 ms

Resolved: divag.parishq.net is back up in dc58b24.


text:
🛑 foutre.partouze-cagoule.fr is down

In 17c4884, foutre.partouze-cagoule.fr (https://foutre.partouze-cagoule.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: foutre.partouze-cagoule.fr is back up in 0bd0adc after 9 hours, 26 minutes.


text:
🛑 notgay.resterdigne.net is down

In 887ed81, notgay.resterdigne.net (https://notgay.resterdigne.net) was down:

HTTP code: 0
Response time: 0 ms

Resolved: notgay.resterdigne.net is back up in bcc8688 after 16 hours, 40 minutes.

Resolved: notgay.resterdigne.net is back up in dfe1786 after 16 hours, 40 minutes.


text:
🛑 Mille Milliards - Identités is down

In 2549205, Mille Milliards - Identités (https://www.millemilliards.net/identites/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Mille Milliards - Identités is back up in 921be45 after 2 hours, 45 minutes.


text:
--type flag should be case insensitive

Python Version: Python 3.5.2
Proxybroker Version: proxybroker 0.2.0b3
Current Behavior
proxybroker find --types socks4 --countries US --limit 10
proxybroker find: error: argument --types: invalid choice: 'socks4' (choose from 'HTTP', 'HTTPS', 'SOCKS4', 'SOCKS5', 'CONNECT:80', 'CONNECT:25')
Expected Behavior
proxybroker will detect the type from CLI without parsing case sensitivity.

Done.

authors: constverum ssbtoday

repo: constverum/ProxyBroker

license_source: bigquery


text:
adds job subcommand to parser, and first job task skeleton

CLOUDBLD-8707

Maintainers will complete the following section

[ ] Commit messages are descriptive enough
[ ] Code coverage from testing does not decrease and new code is covered
[ ] JSON/YAML configuration changes are updated in the relevant schema
[ ] Changes to metadata also update the documentation for the metadata
[ ] Pull request has a link to an osbs-docs PR for user documentation updates
[ ] New feature can be disabled from a configuration file

@shokakucarrier; Please add DCO ("Signed-off-by..." statement) to the PR description (below "CLOUDBLD-8707").

@shokakucarrier; Please add DCO ("Signed-off-by..." statement) to the PR description (below "CLOUDBLD-8707").

I've added the DCO part afterwards

@ben-alkov @MartinBasti can you guys take a look?

$ python3 -m atomic_reactor.cli.main job remote-hosts-unlocking-recovery
Traceback (most recent call last):
  File "/usr/lib64/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib64/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/acmiel/RedHat/OSBS/atomic-reactor/atomic_reactor/cli/main.py", line 55, in <module>
    sys.exit(run())
  File "/home/acmiel/RedHat/OSBS/atomic-reactor/atomic_reactor/cli/main.py", line 51, in run
    return task(task_args)
TypeError: remote_hosts_unlocking_recovery() takes 0 positional arguments but 1 was given

@chmeliik @MartinBasti Solved these two problem

Probably no need to cover this with tests yet, it's just a skeleton

no release notes, just skeleton

authors: MartinBasti ben-alkov chmeliik shokakucarrier

repo: containerbuildsystem/atomic-reactor


text:
container_fs_usage_bytes metrics miss pod/container label on containerd

Description
kubectl version v1.24.15-eks
contained 1.6.19
Steps to reproduce the issue
No response
Describe the results you received and expected
container_fs_usage_bytes metrics miss pod/container label
What version of containerd are you using?
1.6.19
Any other relevant information
No response
Show configuration if it is related to CRI plugin.
No response

https://github.com/google/cadvisor/blob/27f1e92b0bcc9d97c10fdc5e6b808e2847e907fb/metrics/prometheus.go#L536
This metric is generated by cAdvisor, not containerd

closed because it's related to cAdvisor

authors: fuweid tripitakav zouyee

repo: containerd/containerd


text:
Remove BDFL in favor of TSC

I also removed the chief maintainer and architect(in addition to the BDFL switch) as those were both my responsibilities, therefore, I can remove them, in favor of a flat maintainer structure for the project.
This allows containerd to defer to the TSC found at: https://github.com/moby/tsc

LGTM

Codecov Report

Merging #1748 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1748   +/-   ##
=======================================
  Coverage   48.58%   48.58%
=======================================
  Files          28       28
  Lines        4250     4250
=======================================
  Hits         2065     2065
  Misses       1750     1750
  Partials      435      435

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 732b156...503b536. Read the comment docs.

authors: codecov-io crosbymichael dqminh


text:
[release/1.7 Build binaries with 1.21.1

1.19 is end of life, continue to run with 1.20 but ensure builds with 1.21.
Backport of #9167 to 1.6

Someone already got to it, closing


text:
Add usage output to commands without arguments

Description:
On running commands like nerdctl cp without arguments only standard cobra.ExactArgs() error gets printed. IsExactArgs() function in pkg/errutil/errors_check.go is solving this issue.
Issue:
#1585
Test:

I have build the repo after the changes this PR consists of.
Used the binary and try running with less or no arguments to check the error output.

Testing example:
$ ./nerdctl pull
FATA[0000] "nerdctl pull" requires exactly 1 argument.
See 'nerdctl pull --help'.

Usage:  nerdctl pull [flags] NAME[:TAG]

Pull an image from a registry. Optionally specify "ipfs://" or "ipns://" scheme to pull image from IPFS.

Signed-off-by: Aman Sharma amansh@vmware.com

Please squash commits

@djdongjin can we merge this?
Please let me know if there are any other changes.
Thanks!

repo: containerd/nerdctl


text:
Update SEV-SNP implementation to run on upstream kernels

Modify the SEV-SNP launch implementation to:

Create VMs with the KVM_X86_SNP_VM type.
Use KVM guest_memfd for memory regions.
Use KVM_SET_USER_MEMORY_REGION2.
Update the sev library dependency to 5.0.0.

With this, libkrun should be able to run on stock Linux kernels with version >= 6.11. Still completing some testing. Once tested, I will mark this PR as ready for review.

With these changes, I'm encountering the following unexpected error immediately once the VM is started:
Starting TEE/microVM.
[2024-12-12T06:43:33Z ERROR vmm::linux::vstate] Unexpected exit reason on vcpu run: MemoryFault { flags: 8, gpa: 4096, size: 4096 }

Will investigate.

I'd like to modify this to create one guest_memfd and map all guest memory regions into it (using the kvm_userspace_memory_region2.guest_memfd_offset field) rather than creating a new guest_memfd for each region of guest memory.

With these changes, I'm encountering the following unexpected error immediately after the VM starts:
Starting TEE/microVM.
[2024-12-12T06:43:33Z ERROR vmm::linux::vstate] Unexpected exit reason on vcpu run: MemoryFault { flags: 8, gpa: 4096, size: 4096 }

Will investigate.

I know in TDX you need to also set memory attributes after creating the guest memfd and setting the user memory region. I wonder if you have to do that here as well?

With these changes, I'm encountering the following unexpected error immediately after the VM starts:
Starting TEE/microVM.
[2024-12-12T06:43:33Z ERROR vmm::linux::vstate] Unexpected exit reason on vcpu run: MemoryFault { flags: 8, gpa: 4096, size: 4096 }

Will investigate.

I know in TDX you need to also set memory attributes after creating the guest memfd and setting the user memory region. I wonder if you have to do that here as well?

Do you? I wasn't aware of this. Will try it out.

With these changes, I'm encountering the following unexpected error immediately after the VM starts:
Starting TEE/microVM.
[2024-12-12T06:43:33Z ERROR vmm::linux::vstate] Unexpected exit reason on vcpu run: MemoryFault { flags: 8, gpa: 4096, size: 4096 }

Will investigate.

I know in TDX you need to also set memory attributes after creating the guest memfd and setting the user memory region. I wonder if you have to do that here as well?

Do you? I wasn't aware of this. Will try it out.

let attr = kvm_memory_attributes {
    address: region.start_addr().raw_value(),
    size: region.len() as u64,
    // KVM_MEMORY_ATTRIBUTE_PRIVATE,
    attributes: 1 << 3,
    flags: 0,
};

self.fd
    .set_memory_attributes(attr)
    .map_err(Error::SetMemoryAttributes)?;

Should do the job. Hopefully this saves you time and avoids you having to dig around for it.

authors: jakecorrenti tylerfanelli

repo: containers/libkrun


text:
podman-commands script: refactor

Make more general-purpose: instead of hardcoding a list
of known subcommands, and duplicating sed pipelines for
each, rely on 'podman help' itself to tell us which
podman commands have subcommands; and examine each
in turn. Should there ever be new subcommands, this
will identify and test them.
A special case is needed for 'podman image trust', whose
documentation format doesn't match the others.
The change to common.go fixes an inconsistency: the
Usage message for commands with subcommands had an
unnecessary blank line, making it harder to parse
automatically. This simply produces consistent
Usage messages for all podman commands.
This script will not pass until #2480 is merged.
After that, the goal is to add this as a CI hook.
Signed-off-by: Ed Santiago santiago@redhat.com

This is only testing podman, not the subcommands?
podman-volume, podman-pod, podman-container, podman-image, podman-generate, podman-play?

See line 4, and lines 66-74

Seems to work and I'm not seeing anything code wise.  I'll give it a LGTM but would like nods from at least @mheon and @rhatdan

I don't see this working.  I am seeing less problems then when I run my script.
I know there is differences between podman image and podman container but the only output I see is:
 ./hack/podman-commands.sh

checking: podman
--- /tmp/podman_help.txt	2019-02-28 14:57:16.501716545 -0500
+++ /tmp/podman_man.txt	2019-02-28 14:57:16.505716573 -0500
@@ -16,7 +16,6 @@
 info
 inspect
 kill
-list
 load
 login
 logout
@@ -26,17 +25,16 @@
 play
 pod
 port
+ps
 pull
 push
 refresh
 restart
-restore
 rm
 rmi
 run
 save
 search
-sign
 start
 stats
 stop

Maybe because master changed? I've just rebased against new master, including #2480, and force-pushed. I now see: no differences in podman; podman container documenting ls, ps, and unmount in man but not in help; and podman image documenting ls in man but not help.

@edsantiago Could you show me the output?

$ git describe
v1.1.0-40-g742028e2
$ GOPATH=~/go:$(pwd) make podman
touch .gopathok
go build -ldflags ' -X github.com/containers/libpod/libpod.gitCommit=742028e2556c26c3ef9e1645c2431ca81b00e190 -X github.com/containers/libpod/libpod.buildInfo=1551385337' -tags "seccomp   ostree selinux  varlink exclude_graphdriver_devicemapper" -o bin/podman github.com/containers/libpod/cmd/podman
$ ./hack/podman-commands.sh

checking: podman

checking: podman container
--- /tmp/podman-container_help.txt      2019-02-28 13:22:42.395637876 -0700
+++ /tmp/podman-container_man.txt       2019-02-28 13:22:42.397637874 -0700
@@ -11,10 +11,12 @@
 kill
 list
 logs
+ls
 mount
 pause
 port
 prune
+ps
 refresh
 restart
 restore
@@ -26,5 +28,6 @@
 stop
 top
 umount
+unmount
 unpause
 wait

checking: podman generate

checking: podman image
--- /tmp/podman-image_help.txt  2019-02-28 13:22:43.264636921 -0700
+++ /tmp/podman-image_man.txt   2019-02-28 13:22:43.266636919 -0700
@@ -5,6 +5,7 @@
 inspect
 list
 load
+ls
 prune
 pull
 push

checking: podman image trust

checking: podman play

checking: podman pod

checking: podman system

checking: podman volume

@rhatdan I found one difference between your script and mine, and it's an actual bug in docs/podman-image.1.md: the rm line correctly links to podman-rmi.1.md, but the link text (in brackets) is podman-rm.
That's such a small change it barely deserves a PR; should I address it in here?

Sigh...... okay, that's not the only such instance:
for i in container image system play  volume pod;do echo $i;perl -ne 'if (/^\|.*\[(podman-.*?)\(1\)\]\((podman-.*?)\.1\.md/) { print "  $1 != $2\n" if $1 ne $2 }' <docs/podman-$i.1.md;done
container
  podman-exists != podman-container-exists
  podman-refresh != podman-container-refresh
image
  podman-exists != podman-image-exists
  podman-rm != podman-rmi
system
  podman-system-info != podman-info
play
volume
pod

Time for another CI check?

ginkgo failed, but it doesn't look related to anything I did
/retest

/lgtm

/approve

authors: TomSweeneyRedHat edsantiago rhatdan

repo: containers/libpod


text:
libpod: fix check for slirp4netns netns

fix the check for c.state.NetNS == nil.  Its value is changed in the
first code block, so the condition is always true in the second one
and we end up running slirp4netns twice.
Closes: https://github.com/containers/libpod/issues/6538
Signed-off-by: Giuseppe Scrivano gscrivan@redhat.com

LGTM

LGTM
These little subtle fixes always fascinate me.

/lgtm

authors: TomSweeneyRedHat giuseppe rhatdan


text:
config-manager: allow configuring NRI timeouts.

Allow setting NRI plugin registration and request timeouts in the CRI-O or containerd configuration files. Require neither or both timeouts to be given. If both are given, verify that registration timeout is larger than the request timeout.
Notes: This PR is draft. It still lacks allowing those setting to be propagated through Helm chart values.

@fmuyassarov Looking at the updated docs, one question immediately came to my mind related to the updated helm charts. Considering the new timeout values in Values.nri.config, would it be better/more consistent to use .Values.nri.config.patch: true instead of the current .Values.nri.patchConfig ?

Yes, makes sense. That way we are more consistent indeed. I would also rather rename word patch to something more descriptive but at the same time I don't have a good suggestion to offer :)

UPDATE: A slight problem (if we can really call it a problem) is that adding .config. makes it more deeper which might be something that users don't like. But that might be not be true really. Just thinking out loud.

Yes, I had the reaction when updating the daemonset files with templating conditionals. I still decided to stick with it for consistency.

authors: fmuyassarov klihub

repo: containers/nri-plugins


text:
Use ..Default::default() where possible

This reduces the noise and fixes some wrong comments about the default
types.

Ah yeah this does not work at all :upside_down_face:

repo: containers/oci-spec-rs


text:
[Bug] Podman installer not working on windows testing

Now the popup warning about the podman installation is included within a custom control, which is not supported by goax, as so we can not click for the testing framework on the yes

We need to support it on goax and then vendor it here

We still see issues picking the telemetry check; this is only happening on gh action flow execution, as run it locally it is working.
To enable a deeper debug we need to add the goax support for screenshooting to see what is on the target host when it is failing #143

Fixed by #145


text:
[Bug] Select destination view is required on mac 14 installation

Not sure why until now the Destination select page was never shown during installation process on Mac. Now on Mac 14 it is being shown, we need to detect if that is the case and click on Continue in that case.

Here is the print for the UX elements on that view:
{"level":"debug","msg":"Running 'goax app print'","time":"2024-01-30T09:52:54+01:00"}
2024-01-30 09:52:54.770 goax[16735:51285] Bundle is com.apple.installer
2024-01-30 09:52:54.771 goax[16735:51285] WindowTitle is Install Podman
2024-01-30 09:52:54.772 goax[16735:51285] app bundle com.apple.loginwindow
2024-01-30 09:52:54.807 goax[16735:51285] app bundle (null)
2024-01-30 09:52:54.807 goax[16735:51285] app bundle com.apple.coreservices.uiagent
2024-01-30 09:52:54.829 goax[16735:51285] app bundle com.apple.WindowManager
2024-01-30 09:52:54.844 goax[16735:51285] app bundle com.apple.CoreLocationAgent
2024-01-30 09:52:54.858 goax[16735:51285] app bundle com.apple.talagent
2024-01-30 09:52:54.870 goax[16735:51285] app bundle com.apple.Terminal
2024-01-30 09:52:54.889 goax[16735:51285] app bundle com.apple.Safari
2024-01-30 09:52:54.922 goax[16735:51285] app bundle com.apple.dock
2024-01-30 09:52:54.938 goax[16735:51285] app bundle com.apple.systemuiserver
2024-01-30 09:52:54.953 goax[16735:51285] app bundle com.apple.notificationcenterui
2024-01-30 09:52:54.974 goax[16735:51285] app bundle com.apple.controlcenter
2024-01-30 09:52:54.998 goax[16735:51285] app bundle com.apple.wallpaper.agent
2024-01-30 09:52:55.018 goax[16735:51285] app bundle com.apple.ViewBridgeAuxiliary
2024-01-30 09:52:55.050 goax[16735:51285] app bundle com.apple.quicklook.QuickLookUIService
2024-01-30 09:52:55.082 goax[16735:51285] app bundle com.apple.finder
2024-01-30 09:52:55.103 goax[16735:51285] app bundle com.apple.chronod
2024-01-30 09:52:55.106 goax[16735:51285] app bundle com.apple.wifi.WiFiAgent
2024-01-30 09:52:55.139 goax[16735:51285] app bundle com.apple.dock.extra
2024-01-30 09:52:55.156 goax[16735:51285] app bundle com.apple.AppSSOAgent
2024-01-30 09:52:55.179 goax[16735:51285] app bundle com.apple.UIKitSystemApp
2024-01-30 09:52:55.181 goax[16735:51285] app bundle com.apple.Spotlight
2024-01-30 09:52:55.205 goax[16735:51285] app bundle com.apple.universalcontrol
2024-01-30 09:52:55.207 goax[16735:51285] app bundle com.apple.WebKit.Networking
2024-01-30 09:52:55.209 goax[16735:51285] app bundle com.apple.AirPlayUIAgent
2024-01-30 09:52:55.233 goax[16735:51285] app bundle com.apple.TextInputMenuAgent
2024-01-30 09:52:55.255 goax[16735:51285] app bundle com.apple.TextInputSwitcher
2024-01-30 09:52:55.274 goax[16735:51285] app bundle com.apple.WebKit.WebContent
2024-01-30 09:52:55.276 goax[16735:51285] app bundle com.apple.Safari.SandboxBroker
2024-01-30 09:52:55.304 goax[16735:51285] app bundle (null)
2024-01-30 09:52:55.335 goax[16735:51285] app bundle com.apple.security.Keychain-Circle-Notification
2024-01-30 09:52:55.358 goax[16735:51285] app bundle com.apple.SoftwareUpdateNotificationManager
2024-01-30 09:52:55.371 goax[16735:51285] app bundle com.apple.TextInputUI.xpc.CursorUIViewService
2024-01-30 09:52:55.391 goax[16735:51285] app bundle com.apple.studentd
2024-01-30 09:52:55.402 goax[16735:51285] app bundle com.apple.Family
2024-01-30 09:52:55.430 goax[16735:51285] app bundle com.apple.textkit.nsattributedstringagent
2024-01-30 09:52:55.451 goax[16735:51285] app bundle com.apple.SSMenuAgent
2024-01-30 09:52:55.472 goax[16735:51285] app bundle com.apple.accessibility.universalAccessAuthWarn
2024-01-30 09:52:55.494 goax[16735:51285] app bundle io.podmandesktop.PodmanDesktop
2024-01-30 09:52:55.515 goax[16735:51285] app bundle com.apple.appkit.xpc.ThemeWidgetControlViewService
2024-01-30 09:52:55.530 goax[16735:51285] app bundle com.apple.installer
{"level":"debug","msg":"element at node 0 is window with id Install Podman 4.9.0","time":"2024-01-30T09:52:55+01:00"}
{"level":"debug","msg":"element at node 2 is text with id How do you want to install this software?","time":"2024-01-30T09:52:55+01:00"}
{"level":"debug","msg":"element at node 4 is unknown with id Button","time":"2024-01-30T09:52:55+01:00"}
{"level":"debug","msg":"element at node 2 is text with id Installing this software requires 433,4 MB of space.","time":"2024-01-30T09:52:55+01:00"}
{"level":"debug","msg":"element at node 2 is text with id You have chosen to install this software for all users of this computer.","time":"2024-01-30T09:52:55+01:00"}
{"level":"debug","msg":"element at node 1 is button with id Go Back","time":"2024-01-30T09:52:55+01:00"}
{"level":"debug","msg":"element at node 1 is button with id Continue","time":"2024-01-30T09:52:55+01:00"}
{"level":"debug","msg":"element at node 1 is text with id Introduction","time":"2024-01-30T09:52:55+01:00"}
{"level":"debug","msg":"element at node 1 is text with id Licence","time":"2024-01-30T09:52:55+01:00"}
{"level":"debug","msg":"element at node 1 is text with id Destination Select","time":"2024-01-30T09:52:55+01:00"}
{"level":"debug","msg":"element at node 1 is text with id Installation Type","time":"2024-01-30T09:52:55+01:00"}
{"level":"debug","msg":"element at node 1 is text with id Installation","time":"2024-01-30T09:52:55+01:00"}
{"level":"debug","msg":"element at node 1 is text with id Summary","time":"2024-01-30T09:52:55+01:00"}
{"level":"debug","msg":"element at node 1 is text with id Select a Destination","time":"2024-01-30T09:52:55+01:00"}
{"level":"debug","msg":"element at node 1 is button with id lock","time":"2024-01-30T09:52:55+01:00"}
{"level":"debug","msg":"element at node 1 is image with id podman-installer-macos-aarch64-v4.9.0.pkg","time":"2024-01-30T09:52:55+01:00"}
{"level":"debug","msg":"element at node 1 is text with id Install Podman 4.9.0","time":"2024-01-30T09:52:55+01:00"}

Current fix has a wrong commit message + logic is not working fine when not found


text:
accesslog dont log all request comes from outside

I use traefik final version..
Front side i have SSL server for Traefik
I have two backend server
1:server apache24(80) , nodejs socket.io (8080) (works well with chrome client)
2:server apache24(80)
Rules
1.Http -> https
2.comes from /socket.io/ goto backend server 1
This configuration works very well...
BUT MY PROBLEM I DONT SEE MY HOME IP IN  ACCESSLOG
I use socket on Ardiuno ESP8266 SocketIoClient   ...
For this client i have to make TLS_RSA_WITH_AES_128_CBC_SHA  .. Before this parameters i get an error from ESP8266 but after change it i get other error but no connection error.
I want to trace but I dont seen any records to my HOME STATIC IP
In traefik server console  I get my Home IP as ESTABLISHED using Linux Command
netstat -ano|grep 443 |grep ESTABLISHED
But IN TRAEFIC ACCCESLOG it is not appaired
#logLevel = "DEBUG"
#logLevel = "ERROR"
#logLevel = "INFO"

#[traefikLog]
#  filePath = "/tmp/logs/traefik.log"
#  format   = "json"

[accessLog]
filePath = "/tmp/logs/traefikaccess.log"
#format = "json"
bufferingSize = 100
[accessLog.filters]

  # statusCodes keep only access logs with status codes in the specified range
  #
  # Optional
  # Default: []
  #
  #ClientHost="mystatic_ip_see_in_linux_netstat_grep_443......."

MaxIdleConnsPerHost = 20000
#[traefikLog]
#  filePath = "/tmp/logs/traefik.log"

[respondingTimeouts]
  readTimeout = "180s"
  writeTimeout = "180s"

#[web]
#address = ":8080"
[healthcheck]

defaultEntryPoints = ["http", "https"]
[entryPoints]
  [entryPoints.http]
   address = "xx.xx.xx.120:80"
   [entryPoints.http.redirect]
    entryPoint = "https"
   [entryPoints.https]
    address = "xx.xx.xx.120:443"
    compress = true
   [entryPoints.https.tls]
      minVersion = "VersionTLS12"
      cipherSuites = [
        "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256",
        "TLS_RSA_WITH_AES_256_GCM_SHA384"
        ,"TLS_RSA_WITH_AES_128_CBC_SHA"
       ]

   [[entryPoints.https.tls.certificates]]
      certFile = "ssl-bundle.crt"
      keyFile = "twl_com_nopass.key"

[file]
[backends]
  [backends.bac_twl_web]
    [backends.bac_twl_web.buffering]
      maxRequestBodyBytes = 10485760
      memRequestBodyBytes = 2097152
      maxResponseBodyBytes = 10485760
      memResponseBodyBytes = 2097152
    [backends.bac_twl_web.loadbalancer.stickiness]
    [backends.bac_twl_web.healthcheck]
      path = "/favicon.ico"
      interval = "1000s"
    [backends.bac_twl_web.circuitbreaker]
      expression = "NetworkErrorRatio() > 0.5"
    [backends.bac_twl_web.servers.server1]
      url = "http://xx.xx.xx.121"
        weight = 10
#    [backends.bac_twl_web.servers.server2]
#      url = "http://xx.xx.xx.122"
#        weight = 10

   [backends.bac_twl_nodejs]
    [backends.bac_twl_nodejs.buffering]
      maxRequestBodyBytes = 10485760
      memRequestBodyBytes = 2097152
      maxResponseBodyBytes = 10485760
      memResponseBodyBytes = 2097152
    [backends.bac_twl_nodejs.loadbalancer.stickiness]
    [backends.bac_twl_nodejs.healthcheck]
      path = "/favicon.ico"
      interval = "1000s"
    [backends.bac_twl_nodejs.circuitbreaker]
      expression = "NetworkErrorRatio() > 0.5"

    [backends.bac_twl_nodejs.servers.server1]
      url = "http://xx.xx.xx.122:8080"
        weight = 10

  [frontends]

  [frontends.frn_twd_web_nodejs]
      entrypoints = ["http","https"]
      backend = "bac_twl_nodejs"
      passHostHeader = true
      [frontends.frn_twd_web_nodejs.routes.nodejs]
         rule = "HostRegexp:www.twl.com;Path:/socket.io/"
  [frontends.frn_twd_web_app]
      entrypoints = ["http","https"]
      backend = "bac_twl_web"
      passHostHeader = true
      [frontends.frn_twd_web_app.routes.all]
         rule = "HostRegexp:www.twl.com"

Hi! I'm Træfiker :robot: the bot in charge of communication regulation.
Thanks for your interest in Traefik!
We dedicate the issue tracker to bug reports and feature requests only. My advanced AI tells me this one is neither of them.
I encourage your to seek community support: join our Slack workspace and reach out to us on the #support channel.
Another option is to use Stack Overflow and tag your question traefik.
You can of course double check Traefik's documentation :sweat_smile:

authors: alpertandogan traefiker

repo: containous/traefik


text:
Contentlayer stuck with following stacktrace.

Catching following stacktrace since adding the following to my script.
const experienceFields = {
  position: { type: "string", required: true },
  url: { type: "string", required: true },
  startDate: { type: "date", required: true },
  endDate: { type: "date", required: false },
  summary: { type: "string", required: true },
  hightlights: { type: "list", of: { type: "string" }, required: false },
}

const WorkExperience = defineNestedType(() => ({
  name: "WorkExperience",
  fields: {
    company: { type: "string", required: true },
    ...experienceFields,
  },
}));

const VolunteerExperience = defineNestedType(() => ({
  name: "VolunteerExperience",
  fields: {
    organization: { type: "string", required: true },
    ...experienceFields,
  },
}));

Even after reverting the destructure approach to normal contentlayer continues to be in this error state. See here the full code.

resume.js
import {
  defineDocumentType,
  defineNestedType,
} from "contentlayer/source-files";

export const Resume = defineDocumentType(() => ({
  name: "Resume",
  filePathPattern: "resume.json",
  bodyType: "none",
  isSingleton: true,
  fields: {
    basics: { type: "nested", of: ResumeBasics, required: true },
    work: { type: "list", of: WorkExperience, required: true },
    volunteer: { type: "list", of: VolunteerExperience, required: true },
    education: { type: "list", of: Education, required: true },
    awards: { type: "list", of: { type: "string" }, required: false },
    publications: { type: "list", of: { type: "string" }, required: false },
    skills: { type: "list", of: Skill, required: false },
    languages: { type: "list", of: Language, required: false },
    interests: { type: "list", of: Interest, required: false },
    references: { type: "list", of: { type: "string" }, required: false },
  },
}));

const ResumeBasics = defineNestedType(() => ({
  name: "Basics",
  fields: {
    name: { type: "string", required: true },
    label: { type: "string", required: true },
    picture: { type: "string", required: true },
    email: { type: "string", required: true },
    phone: { type: "string", required: true },
    url: { type: "string", required: true },
    summary: { type: "string", required: true },
    location: { type: "nested", of: ResumeLocation, required: false },
    profiles: { type: "list", of: ResumeProfile, required: false },
  },
}));

const ResumeLocation = defineNestedType(() => ({
  name: "Location",
  fields: {
    address: { type: "string", required: true },
    postalCode: { type: "string", required: true },
    city: { type: "string", required: true },
    countryCode: { type: "string", required: true },
    region: { type: "string", required: true },
  },
}));

const ResumeProfile = defineNestedType(() => ({
  name: "Profile",
  fields: {
    network: { type: "string", required: true },
    username: { type: "string", required: true },
    url: { type: "string", required: true },
  },
}));

const experienceFields = {
  position: { type: "string", required: true },
  url: { type: "string", required: true },
  startDate: { type: "date", required: true },
  endDate: { type: "date", required: false },
  summary: { type: "string", required: true },
  hightlights: { type: "list", of: { type: "string" }, required: false },
}

const WorkExperience = defineNestedType(() => ({
  name: "WorkExperience",
  fields: {
    company: { type: "string", required: true },
    position: { type: "string", required: true },
    url: { type: "string", required: true },
    startDate: { type: "date", required: true },
    endDate: { type: "date", required: false },
    summary: { type: "string", required: true },
    hightlights: { type: "list", of: { type: "string" }, required: false },
  },
}));

const VolunteerExperience = defineNestedType(() => ({
  name: "VolunteerExperience",
  fields: {
    organization: { type: "string", required: true },
    position: { type: "string", required: true },
    url: { type: "string", required: true },
    startDate: { type: "date", required: true },
    endDate: { type: "date", required: false },
    summary: { type: "string", required: true },
    hightlights: { type: "list", of: { type: "string" }, required: false },
  },
}));

const Education = defineNestedType(() => ({
  name: "Education",
  fields: {
    institution: { type: "string", required: true },
    url: {type:"string"}, required: false},
    area: { type: "string", required: true },
    studyType: { type: "string", required: true },
    startDate: { type: "date", required: true },
    endDate: { type: "date", required: false },
    score: { type: "string", required: true },
    courses: { type: "list", of: { type: "string" }, required: false },
  },
));

const Skill = defineNestedType(() => ({
  name: "Skill",
  fields: {
    name: { type: "string", required: true },
    level: { type: "string", required: true },
    keywords: { type: "list", of: { type: "string" }, required: false },
  },
}));

const Language = defineNestedType(() => ({
  name: "Language",
  fields: {
    language: { type: "string", required: true },
    fluency: { type: "string", required: true },
  },
}));

const Interest = defineNestedType(() => ({
  name: "Interest",
  fields: {
    name: { type: "string", required: true },
    keywords: { type: "list", of: { type: "string" }, required: false },
  },
}));

Log
$ node_modules/.bin/contentlayer build --clearCache --verbose

Cache cleared successfully
This error shouldn't have happened. Please consider opening a GitHub issue with the stack trace below here:
https://github.com/contentlayerdev/contentlayer/issues

╥
╠══╦══╗
║  ║  ║
║  ║  ╠─An interrupt was produced by #1.
║  ║  ║
║  ║  ▼
║  ║
║  ╠─An unchecked error was produced.
║  ║
║  ║ Error: A case was not handled for value: false
║  ║     at Module.casesHandled (file:///Users/marco/code/priv/nextjs-blog/node_modules/@contentlayer/utils/src/index.ts:62:9)
║  ║     at traverseField (file:///Users/marco/code/priv/nextjs-blog/node_modules/@contentlayer/source-files/src/schema/provideSchema.ts:290:15)
║  ║     at Array.forEach (<anonymous>)
║  ║     at traverseNestedDef (file:///Users/marco/code/priv/nextjs-blog/node_modules/@contentlayer/source-files/src/schema/provideSchema.ts:249:41)
║  ║     at traverseListFieldItem (file:///Users/marco/code/priv/nextjs-blog/node_modules/@contentlayer/source-files/src/schema/provideSchema.ts:301:16)
║  ║     at traverseField (file:///Users/marco/code/priv/nextjs-blog/node_modules/@contentlayer/source-files/src/schema/provideSchema.ts:274:16)
║  ║     at Array.forEach (<anonymous>)
║  ║     at collectNestedDefs (file:///Users/marco/code/priv/nextjs-blog/node_modules/@contentlayer/source-files/src/schema/provideSchema.ts:305:60)
║  ║     at file:///Users/marco/code/priv/nextjs-blog/node_modules/@contentlayer/source-files/src/schema/provideSchema.ts:74:24
║  ║     at Generator.next (<anonymous>)
║  ║
║  ║ Fiber: #9 (started at: 2021-12-28T16:05:04.461Z) was supposed to continue to:
║  ║
║  ║   a future continuation at packages/@contentlayer/source-files/src/index.ts:54:17
║  ║
║  ║ Fiber: #9 (started at: 2021-12-28T16:05:04.461Z) Execution trace:
║  ║
║  ║   packages/@contentlayer/source-files/src/schema/provideSchema.ts:17:8
║  ║
║  ║ Fiber: #9 (started at: 2021-12-28T16:05:04.461Z) was spawned by:
║  ║
║  ║ Fiber: #1 (started at: 2021-12-28T16:05:03.709Z) was supposed to continue to:
║  ║
║  ║   a future continuation at packages/@contentlayer/core/src/generation/generate-dotpkg.ts:78:13
║  ║
║  ║ Fiber: #1 (started at: 2021-12-28T16:05:03.709Z) Execution trace:
║  ║
║  ║   packages/@contentlayer/core/src/generation/generate-dotpkg.ts:74:16
║  ║   packages/@contentlayer/cli/src/commands/BuildCommand.ts:24:12
║  ║   packages/@contentlayer/core/src/getConfig/index.ts:36:18
║  ║   packages/@contentlayer/core/src/getConfig/index.ts:35:10
║  ║   packages/@contentlayer/core/src/getConfig/esbuild.ts:43:15
║  ║   packages/@contentlayer/core/src/getConfig/esbuild.ts:35:26
║  ║   packages/@contentlayer/core/src/getConfig/esbuild.ts:33:12
║  ║   packages/@contentlayer/core/src/getConfig/esbuild.ts:113:12
║  ║   packages/@contentlayer/core/src/getConfig/esbuild.ts:71:36
║  ║   packages/@contentlayer/core/src/getConfig/index.ts:163:13
║  ║   packages/@contentlayer/core/src/getConfig/index.ts:154:26
║  ║   packages/@contentlayer/core/src/getConfig/index.ts:153:30
║  ║   packages/@contentlayer/core/src/getConfig/index.ts:143:26
║  ║   packages/@contentlayer/core/src/getConfig/index.ts:142:31
║  ║   packages/@contentlayer/core/src/getConfig/index.ts:131:26
║  ║   packages/@contentlayer/core/src/getConfig/index.ts:130:15
║  ║   packages/@contentlayer/core/src/getConfig/index.ts:116:10
║  ║   packages/@contentlayer/core/src/getConfig/esbuild.ts:114:12
║  ║   packages/@contentlayer/core/src/getConfig/esbuild.ts:117:14
║  ║   packages/@contentlayer/core/src/getConfig/esbuild.ts:66:15
║  ║   packages/@contentlayer/core/src/getConfig/esbuild.ts:65:10
║  ║   packages/@contentlayer/core/src/getConfig/esbuild.ts:64:10
║  ║   packages/@contentlayer/core/src/getConfig/esbuild.ts:47:22
║  ║   packages/@contentlayer/core/src/getConfig/esbuild.ts:72:10
║  ║   packages/@contentlayer/core/src/getConfig/esbuild.ts:71:12
║  ║
║  ║ Fiber: #1 (started at: 2021-12-28T16:05:03.709Z) was spawned by: <empty trace>
║  ▼
▼

OS: darwin 21.1.0 (arch: x64)
Process: /usr/local/Cellar/node@16/16.13.1/libexec/node /Users/marco/code/priv/nextjs-blog/node_modules/.bin/contentlayer build --clearCache --verbose
Node version: v16.13.1
Contentlayer version: 0.0.33

Eventually found the issue by reapplying all definitions one by one.
Reason for the Stacktrace was in the education definition.
    url: {type:"string"}, required: false},

which should have been
    url: { type:"string", required: false },

Somehow my IDEA was not highlighting this error. 🤕

repo: contentlayerdev/contentlayer


text:
fix: fixed switching stack issue

Switch stack issue fix

Hi @vkalta , as this is a hotfix... please raise the PR directly to main branch

authors: abhinav-from-contentstack vkalta

repo: contentstack/contentstack-swift


text:
"No Code Selected" error

Describe the bug
With code highlighted in VS Code when using any of the slash commands like /edit or /comment the output is always "No Code Selected".
To Reproduce
Steps to reproduce the behavior:

Go to the editor and highlight some code
Click on the field to input a prompt to Continue and input, "/edit" or "/comment"
See error

Environment

Operating System: [Windows 10 Pro]
Python Version: [3.11.5]
Continue Version: [v0.0.397]

Logs
[2023-09-24 10:57:40,531] [DEBUG] Testing logs
[2023-09-24 10:57:47,186] [DEBUG] Accepted websocket connection from Address(host='127.0.0.1', port=9806)
[2023-09-24 10:57:47,190] [DEBUG] Downloading MeiliSearch...
[2023-09-24 10:57:47,244] [DEBUG] Received message while initializing workspaceDirectory
[2023-09-24 10:57:47,244] [DEBUG] Received message while initializing uniqueId
[2023-09-24 10:57:47,247] [DEBUG] New session: None
[2023-09-24 10:57:47,620] [DEBUG] Loaded Continue config file from C:\Users\Avatar.Avatar-PC.continue\config.py
[2023-09-24 10:57:47,687] [DEBUG] Starting context manager
[2023-09-24 10:57:47,689] [WARNING] Failed to load saved_context_groups.json: Expecting value: line 1 column 1 (char 0). Reverting to empty list.
[2023-09-24 10:57:49,952] [DEBUG] Sending session id: 8e1b8e99-c6d1-439d-86ba-5113e125c67e
[2023-09-24 10:57:49,982] [DEBUG] Received websocket connection at url: ws://localhost:65432/gui/ws?session_id=8e1b8e99-c6d1-439d-86ba-5113e125c67e
[2023-09-24 10:57:49,982] [DEBUG] Session started
[2023-09-24 10:57:49,982] [DEBUG] Registered websocket for session 8e1b8e99-c6d1-439d-86ba-5113e125c67e
[2023-09-24 10:58:04,447] [DEBUG] Starting MeiliSearch...
[2023-09-24 10:58:14,721] [DEBUG] Loading Meilisearch index...
[2023-09-24 10:58:14,830] [WARNING] Error adding documents to meilisearch for context provider URLContextProvider: "URLContextProvider" object has no field "_static_url_context_items"
[2023-09-24 10:58:14,830] [DEBUG] Loaded 0 documents into meilisearch in 0.0019991397857666016 seconds for context provider code
[2023-09-24 10:58:14,837] [DEBUG] Loaded 1 documents into meilisearch in 0.011001348495483398 seconds for context provider diff
[2023-09-24 10:58:14,841] [DEBUG] Loaded 1 documents into meilisearch in 0.014005661010742188 seconds for context provider terminal
[2023-09-24 10:58:34,844] [DEBUG] Error loading meilisearch index:
[2023-09-24 10:58:39,462] [DEBUG] Starting MeiliSearch...
[2023-09-24 10:58:43,054] [WARNING] Error adding documents to meilisearch for context provider URLContextProvider: "URLContextProvider" object has no field "_static_url_context_items"
[2023-09-24 10:58:43,054] [DEBUG] Loaded 0 documents into meilisearch in 0.0 seconds for context provider code
[2023-09-24 10:58:43,054] [DEBUG] Loaded 1 documents into meilisearch in 0.0 seconds for context provider diff
[2023-09-24 10:58:43,070] [DEBUG] Loaded 1 documents into meilisearch in 0.015629053115844727 seconds for context provider terminal
[2023-09-24 10:59:03,063] [DEBUG] Error loading meilisearch index:
[2023-09-24 10:59:03,063] [DEBUG] Loaded Meilisearch index
[2023-09-24 10:59:20,305] [DEBUG] Received GUI message {"messageType":"add_model_for_role","data":{"role":"","model":{"model":"codellama","title":"Ollama"},"model_class":"Ollama"}}
[2023-09-24 10:59:24,384] [WARNING] Error pre-loading Ollama model: Cannot connect to host localhost:11434 ssl:default [The remote computer refused the network connection]
[2023-09-24 10:59:57,834] [DEBUG] Received GUI message {"messageType":"set_model_for_role_from_index","data":{"role":"","index":0}}
[2023-09-24 11:00:48,403] [DEBUG] IDE websocket disconnected
[2023-09-24 11:00:48,403] [DEBUG] Closing ide websocket
[2023-09-24 11:00:48,419] [DEBUG] GUI websocket disconnected
[2023-09-24 11:00:48,419] [DEBUG] Closing gui websocket
[2023-09-24 11:00:48,419] [DEBUG] Removing session: 8e1b8e99-c6d1-439d-86ba-5113e125c67e
[2023-09-24 11:01:29,502] [DEBUG] Health check
[2023-09-24 11:01:29,512] [DEBUG] Accepted websocket connection from Address(host='127.0.0.1', port=1528)
[2023-09-24 11:01:29,538] [DEBUG] Received message while initializing workspaceDirectory
[2023-09-24 11:01:29,538] [DEBUG] Received message while initializing uniqueId
[2023-09-24 11:01:30,545] [DEBUG] New session: None
[2023-09-24 11:01:30,553] [DEBUG] Loaded Continue config file from C:\Users\Avatar.Avatar-PC.continue\config.py
[2023-09-24 11:01:30,596] [DEBUG] Starting context manager
[2023-09-24 11:01:30,596] [WARNING] Failed to load saved_context_groups.json: Expecting value: line 1 column 1 (char 0). Reverting to empty list.
[2023-09-24 11:17:16,646] [DEBUG] Testing logs
[2023-09-24 11:19:25,998] [DEBUG] Accepted websocket connection from Address(host='127.0.0.1', port=1781)
[2023-09-24 11:19:26,237] [DEBUG] Received message while initializing workspaceDirectory
[2023-09-24 11:19:26,238] [DEBUG] Received message while initializing uniqueId
[2023-09-24 11:19:27,258] [DEBUG] New session: None
[2023-09-24 11:19:27,620] [DEBUG] Loaded Continue config file from C:\Users\Avatar.Avatar-PC.continue\config.py
[2023-09-24 11:19:27,688] [DEBUG] Starting context manager
[2023-09-24 11:19:27,690] [WARNING] Failed to load saved_context_groups.json: Expecting value: line 1 column 1 (char 0). Reverting to empty list.
[2023-09-24 11:19:29,955] [DEBUG] Sending session id: 23ce9834-87d8-470d-b74a-66fc83a168ec
[2023-09-24 11:19:29,962] [DEBUG] Loading Meilisearch index...
[2023-09-24 11:19:30,025] [DEBUG] Received websocket connection at url: ws://127.0.0.1:65432/gui/ws?session_id=23ce9834-87d8-470d-b74a-66fc83a168ec
[2023-09-24 11:19:30,027] [DEBUG] Session started
[2023-09-24 11:19:30,027] [DEBUG] Registered websocket for session 23ce9834-87d8-470d-b74a-66fc83a168ec
[2023-09-24 11:19:30,047] [WARNING] Error adding documents to meilisearch for context provider URLContextProvider: "URLContextProvider" object has no field "_static_url_context_items"
[2023-09-24 11:19:30,048] [DEBUG] Loaded 0 documents into meilisearch in 0.0030095577239990234 seconds for context provider code
[2023-09-24 11:19:30,059] [DEBUG] Loaded 1 documents into meilisearch in 0.01300048828125 seconds for context provider diff
[2023-09-24 11:19:30,066] [DEBUG] Loaded 1 documents into meilisearch in 0.021001577377319336 seconds for context provider terminal
[2023-09-24 11:19:50,062] [DEBUG] Error loading meilisearch index:
[2023-09-24 11:19:55,042] [DEBUG] Starting MeiliSearch...
[2023-09-24 11:19:58,877] [WARNING] Error adding documents to meilisearch for context provider URLContextProvider: "URLContextProvider" object has no field "_static_url_context_items"
[2023-09-24 11:19:58,878] [DEBUG] Loaded 0 documents into meilisearch in 0.0030031204223632812 seconds for context provider code
[2023-09-24 11:19:58,887] [DEBUG] Loaded 1 documents into meilisearch in 0.01199960708618164 seconds for context provider diff
[2023-09-24 11:19:58,893] [DEBUG] Loaded 1 documents into meilisearch in 0.01799917221069336 seconds for context provider terminal
[2023-09-24 11:20:07,478] [DEBUG] Received GUI message {"messageType":"main_input","data":{"input":"Write a science fiction text adventure in Python"}}
[2023-09-24 11:20:18,870] [DEBUG] Error loading meilisearch index:
[2023-09-24 11:20:18,871] [DEBUG] Loaded Meilisearch index
[2023-09-24 11:22:09,419] [DEBUG] Received GUI message {"messageType":"main_input","data":{"input":"Can you make this code more complex?"}}
[2023-09-24 11:23:01,345] [DEBUG] Received GUI message {"messageType":"main_input","data":{"input":"/edit"}}
[2023-09-24 11:23:01,391] [ERROR] Error while running step:
Please highlight some code and try again.
No Code Selected
[2023-09-24 11:23:23,578] [DEBUG] Received GUI message {"messageType":"main_input","data":{"input":"/edit"}}
[2023-09-24 11:23:23,625] [ERROR] Error while running step:
Please highlight some code and try again.
No Code Selected
[2023-09-24 11:24:09,809] [DEBUG] Received GUI message {"messageType":"main_input","data":{"input":"/test"}}
[2023-09-24 11:25:14,833] [DEBUG] Received GUI message {"messageType":"add_model_for_role","data":{"role":"*","model":{"model":"gpt-4","title":"GPT-4 Free Trial"},"model_class":"OpenAIFreeTrial"}}
[2023-09-24 11:25:48,050] [DEBUG] Received GUI message {"messageType":"main_input","data":{"input":"/edit"}}
[2023-09-24 11:25:48,119] [ERROR] Error while running step:
Please highlight some code and try again.
No Code Selected
[2023-09-24 11:26:09,404] [DEBUG] Received GUI message {"messageType":"main_input","data":{"input":"/edit"}}
[2023-09-24 11:26:09,463] [ERROR] Error while running step:
Please highlight some code and try again.
No Code Selected
[2023-09-24 11:30:28,342] [DEBUG] Received GUI message {"messageType":"main_input","data":{"input":"When I type the slash command /edit I see the message "No code selected" but I have highlighted code in the editor."}}
[2023-09-24 11:31:21,943] [DEBUG] Received GUI message {"messageType":"main_input","data":{"input":"/comment"}}
[2023-09-24 11:31:22,043] [ERROR] Error while running step:
Please highlight some code and try again.
No Code Selected

I think I figured it out. I save the new file with a filename. Select the code and hit Ctrl+M. Now I can use the slash commands without the "No Code Selected error.

Responding in Discord, but I'll leave this open until I feel the root cause, discoverability-wise, is solved. Hopefully we can make this requirement more obvious

We've now changed the first step in the tutorial to cover this topic and the error message will also explain cmd+m, so going to close the issue

authors: samuraicobra sestinj

repo: continuedev/continue


text:
CF_TRACE=true causes b0rk on Windows

With a customer using the plugin, and when CF_TRACE was set to true after the 200 OK from the initial push, there was an "unexpected end of JSON" error. Was only fleeting and I'm supposed to be pairing with the chap now, so will investigate more later if I get time.

Probably because this line returns that output too. I'm going to cowardly claim that this is a CLI bug and to bring it up with them.
Maybe it's fixed in a newer version of the CLI library we compile against?

authors: DanielJonesEB xoebus

repo: contraband/autopilot


text:
🛑 MPS - TESTPROCESS is down

In aefeba8, MPS - TESTPROCESS ($TESTPROCESS_URL) was down:

HTTP code: 200
Response time: 665 ms

Resolved: MPS - TESTPROCESS is back up in f87611f after 2 hours, 13 minutes.

repo: conuti-das/status-lfrcs


text:
Some clarifications needed

I have just read through all the documentation, but not yet paid the $ to install a Rack. A few things aren't clear in my mind, which may be the case to other new users.
It says it's safe to delete the IAM convox user. Does uninstalling convox still work if that user is gone? Btw, Using the CLI Installer mentions the AWS credentials but doesn't elaborate on how to do that or people very new to AWS, likely using aws login (brew install awscli).
It's not entirely clear if run and exec run on the Rack or against a local Docker development environment. I'm presuming the former, but it could be stated more plainly.
Developing Locally uses Docker images convox/postgres and convox/redis for local development. There is also documentation on RDS and ElastiCache services. It's not clear if it's possible to setup a development environment that uses both in combination, as I presume Convox will attempt to deploy those containers as well?

Hi @nathany, thanks for the feedback and sorry about the delayed reply.
It's not entirely clear if run and exec run on the Rack or against a local Docker development environment. I'm presuming the former, but it could be stated more plainly.
I've just submitted a PR to clarify the run and exec commands, so that documentation should be much clearer soon.
Regarding the rest, I think this has gotten better since this issue was created. If not, we can take a look.

 convox/site issue triage

authors: nathany soulshake

repo: convox/site


text:
fix bug in fillTables

PTAL @coocood

LGTM

authors: bobotu coocood

repo: coocood/badger


text:
fix: Deployment running for - without "ago"

Before:

After:

And since I have your attention on this screen now. Like many other programmers, I have red-green color vision deficiency. I always wondered why finished and running deployments have the same color. Only when taking the screenshots for this PR, I saw that there is indeed a difference 🤣
Would you be open to suggestions for improved designs? Nothing big. Just making the border 2 or 3 pixels instead of 1. If the colors get to bright, then add some opacity. And maybe make the border only dashed for pending deployments but solid for successful ones?

P.S.: No worries, I won't be mad if you like your own design more ;)

And since I have your attention on this screen now. Like many other programmers, I have red-green color vision deficiency. I always wondered why finished and running deployments have the same color. Only when taking the screenshots for this PR, I saw that there is indeed a difference 🤣
Would you be open to suggestions for improved designs? Nothing big. Just making the border 2 or 3 pixels instead of 1. If the colors get to bright, then add some opacity. And maybe make the border only dashed for pending deployments but solid for successful ones?

P.S.: No worries, I won't be mad if you like your own design more ;)

Thanks for the PR!
This is a good idea! border-2 is good.
I am open for design suggestions, but before releasing v4.0, I probably only change smaller things.

authors: TimKochDev andrasbacsai

repo: coollabsio/coolify


text:
Stream comunication between JavaScript and guest OS

Hi, thank you so much for the fantastic project!
I'd like to comunicate or stream data between JavaScript and guest OS.  I know emulator.serial0_send() and "serial0-output-line" event, using in the Lua intepreter, but the output might have noises.
For example, when we have device files such as /dev/jsread and /dev/jswrite, we can compress in a guest OS and use in JavaScript by using cat /dev/jsread | gzip | /dev/jswrite. You can also  do cat /dev/jsread | lua | /dev/jswrite.
Another my idea is to use named pipes (FIFO). I tried to use them, but unfortunelly they don't use FS.prototype.Read  orFS.prototype.Write, so I could not give or obtain data to the named pipe from JavaScript.
Could you tell me how to comunicate between JavaScript and guest OS streamingly?
poor workaround
The script as follows create a large file/root/myjsread and emulator.fs9p.Read is modified to give arbitrary data to guest OS from JavaScript.
    var emulator = new V86Starter({...});

    const rootId = emulator.fs9p.SearchPath("/root").id;
    const filename = "myjsread";
    const parentid = rootId;
    const x = emulator.fs9p.CreateInode();
    x.uid = emulator.fs9p.inodes[parentid].uid;
    x.gid = emulator.fs9p.inodes[parentid].gid;
    x.qid.type = S_IFREG >> 8;
    x.mode = (emulator.fs9p.inodes[parentid].mode & 0x1B6) | S_IFREG;
    emulator.fs9p.PushInode(x, parentid, filename);
    emulator.fs9p.NotifyListeners(emulator.fs9p.inodes.length-1, 'newfile');
    var id = emulator.fs9p.inodes.length-1;
    x.size = Number.MAX_SAFE_INTEGER;

    const originalRead = emulator.fs9p.Read.bind(emulator.fs9p);

    console.log("ID", id);
    emulator.fs9p.Read = async function (nodeid, offset, count) {
        if (id === nodeid) {
            console.log("!! READ HOOK !! reading ", arguments);
            // You can return bytes what you want, but I just streams infinite "A"
            return new Uint8Array(Array(count).fill(65));
        }
        return originalRead(nodeid, offset, count);
    };

An example usage in a guest OS is as follows.
$ cat myjsread
AAAAAAAAAAAA...
AAAAAAAAAAAA...
...

In my experiment, reading the /root/myjsread stopped arround 2^32 bytes.

I finally made it, but it has a problem. I specified uartN: true bellow, then we can read/write /dev/ttyS1 and/dev/ttyS2 in guest OS.
var emulator = new V86Starter({
        ...
        uart1: true,
        uart2: true,
        uart3: true,
        ...
});

JavaScript → guest OS
//  JavaScript → guest OS
setInterval(() => {
        console.log("send now!");
        emulator.bus.send("serial1-input", 65);
        emulator.bus.send("serial1-input", 10); // "\n" needed because of line buffer
}, 1000);

cat /dev/ttyS1

guest OS → JavaScript
echo hello > /dev/ttyS2

    emulator.add_listener("serial2-output-char", function(char)
    {
        console.log("outchar2", char);
    });

The problem is the line buffer.

I found this very, very useful. Thanks!

I'm glad to heear that!

This is very helpful, thank you for sharing!

this is what I wanted.
I'm so happy somebody pointed me in https://github.com/copy/v86/issues/1140 to this issue.
Yesterday I gave up hacking on .Read() as I got weird javascript errors about incorrect size/offsets.
Seeing this example makes me realize I was unaware of multiple ttys, as well as using a real inode with a large size ❤

Small update about the serial port method: the serialX-output-char event is deprecated (https://github.com/copy/v86/commit/4928c9165d106f21fdf85f1a851e19564a91516b), so you need to use serialX-output-byte + String.fromCharCode/TextDecoder instead if you need to get a character:
    emulator.add_listener("serial2-output-byte", function(byte)
    {
        console.log("outchar2", String.fromCharCode(byte));
    });

Also you can use a virtio-console device (https://github.com/copy/v86/commit/7660cbfb6414f1be31ce9b3ccdb6ac969b0b3cd4), if you are using self-built Linux or Buildroot, you need to enable CONFIG_VIRTIO_CONSOLE in make menuconfig/linux-menuconfig (some Linux distributions have this module by default).
var emulator = new V86Starter({
        ...
        virtio_console: true,
        ...
});

JavaScript → guest OS
//  JavaScript → guest OS
setInterval(() => {
    console.log("send now!");
    emulator.bus.send("virtio-console0-input-bytes", Uint8Array.from([65]));
}, 1000);

stty raw < /dev/hvc0
microcom /dev/hvc0

guest OS → JavaScript
// guest OS → JavaScript
emulator.add_listener("virtio-console1-output-bytes", function(bytes)
{
    console.log("out", new TextDecoder("utf-8").decode(bytes));
});

stty raw < /dev/hvc1
echo hello > /dev/hvc1

Could you have a node.js server in the guest OS listening for inputs from the external Javascript?

Could you have a node.js server in the guest OS listening for inputs from the external Javascript?

Currently, no, there is some implementation on a custom network stack: https://github.com/copy/v86/discussions/1048#discussioncomment-9883237

authors: Molnfront SuperMaxusa ZXMushroom63 coderofsalvation farhan-ct nwtgck


text:
Linux with apt-get/composer support.

Is there any possibility to run some small Linux image which can support apt-get or composer, to extend for extra packages for testing purposes? Or if this won't work.
What needs to be accomplish to make it working?
I've tried to use wget to download anything (or install composer), but it seems I couldn't make any network on any provided Linux distributions.

It should work, but it's not the best way to do it, because networking is very slow and all data is lost when you refresh the page.
Some ways to do this are:

If the guest OS supports 9p (the default Arch Linux profile does), use 9p to transfer the files you're interested in. There's a box to transfer files in the user interface. Files appear in the root directory
Include a cdrom or hard drive with the files. This is theoretically, but not currently, possible
If the files aren't gigantic, let me know and I'll include them. The Arch Linux profile loads files lazily, so there's no extra cost for other users

I'm closing this, feel free to reopen if you have another question.

authors: copy kenorb


text:
Forking Coracle while still keeping up to date with new releases

Hi,
I'm contemplating using this repo for a project of mine (arcmpabtc.com).
I'm wondering what you'd recommend the best method, development wise, would be to use the repo, add my own customisations, but still be able to update to future releases of Coracle if I like later on while keeping my own customisations?
How would that dev process work from a Svelte point of view?
The customisations I'm thinking would be to

pull specific kinds of notes filtered by tag to get geographic locations used in arcmapbtc.com.
add a map which displays these notes as points.
Maybe do some customisations around adding 'screens' or popups or pages pages it is in Svelte. For eg the map might be on a new page or popup for eg.

Thanks! Coracle looks great!

Thanks! I found a method where using git I van just keep an upstream branch
and a mychanges branch and merge in as a new release is made. Think that
should work. Thanks! The app looks really cool and playing with the code
now:)
On Thu, 25 Jan 2024, 6:38 am hodlbod, @.***> wrote:

It depends on how deeply you want to customize things. If you're just
adding a new screen, you should be able to keep your code mostly separate
from the base project's. I would probably try to touch as few files as
possible, adding your own separate files with custom functionality to the
project instead of editing existing ones. Hope that helps!
—
Reply to this email directly, view it on GitHub
https://github.com/coracle-social/coracle/issues/249#issuecomment-1909102977,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AL5FM6WEVYSYAC4D7K4WZX3YQGLOPAVCNFSM6AAAAABCIBENWOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMBZGEYDEOJXG4
.
You are receiving this because you authored the thread.Message ID:
@.***>

repo: coracle-social/coracle


text:
Make protodepUp a dependency of PB.generate

This change will ensure protoDepUp runs when running protocGenerate to generate sources, and without compiling.

Nice, thank you!
Please merge master, as I fixed the GH Action that broke on PRs from forks.

Nice, thank you!
Please merge master, as I fixed the GH Action that broke on PRs from forks.

authors: thesamet vigoo

repo: coralogix/sbt-protodep


text:
🛑 Guangdianyun Consoles is down

In fe38a07, Guangdianyun Consoles (https://consoles.guangdianyun.tv) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Guangdianyun Consoles is back up in a3c411d.

repo: corcd/charlotte


text:
CORE-3151 Replace membership group reader with the real implementation in the link manager

Integrate the MembershipGroupReader with the LinkManager. By default the stub component is still used, the real Membership Group Reader can be turned on using the option --without-stubs.
The real MembershipGroupReader had a slightly different API to the one used by our stub component (StubMembershipGroupReader): it needs to know the looking up member's holding identity, as different members can have a different view of the Membership group reader. To save time, because the stub code will soon be removed, I did not update the stub to behave in the same way. The stub ignores the looking up member's holding identity and always returns the same MemberInfo for a given lookupIdentity.
This API change meant I also needed to change the AuthenticationProtocol API. As there was no way to extract both members session public key hashes. I added a Lambda parameter as a part of validatePeerHandshakeMessage which does the pessary lookup. Data can be returned from the lambda to the layer which calls validatePeerHandshakeMessage via a template parameter. This was a simplest way I could find to prevent duplicate lookups in the LinkManager.

just a couple of comments - also, have you tried to run the link manager with stubs to confirm everything is wired up and starts successfully? I've noticed some components outside p2p do not start their child component themselves, so the it has to be done on our side. Not sure if there's anything like that here, but this would be an easy way to confirm.

I checked it and it started correctly. Deployed the corda cluster by helm charts ran sudo kubefwd svc -n corda  and java -jar ./applications/p2p-link-manager/build/bin/corda-p2p-link-manager-5.0.0.0-SNAPSHOT.jar  --without-stubs -mbootstrap.servers=prereqs-kafka:9092.
From logs:
2022-07-11 18:03:52.174 [lifecycle-coordinator-13] INFO  ForwardingMembershipGroupReader-1 - Status change: child net.corda.membership.read.MembershipGroupReaderProvider went up.

repo: corda/corda-runtime-os


text:
Migrate Kubernetes examples from cloud-config to Ignition

k8s-rkt.yaml
k8s-docker.yaml

authors: crawford dghubble

repo: coreos/coreos-baremetal


text:
Can I judge a member is isolated from the cluster based on Self Statistics?

If my client connected to a etcd member, but unfortunately it is isolated from the cluster, then the client may retrieve outdated data. As we all know, we can get a number of internal statistics by run:
curl http//hostip:2379/v2/ststs/self

It seems that recvAppendRequestCnt and sendAppendRequestCnt will never change if the member is isolated from the cluster. On the other hand, those two number will change frequently if the member is healthy. Can we judge whether a member is isolated based on those information? If we can, what is the change frequency of those two numbesr?

You can use the experimental health endpoint to get the health status of this member: https://github.com/coreos/etcd/blob/804d80387d3fc75cdd5481039095df56268afe6f/Documentation/admin_guide.md#health-monitoring . It can tell whether member is connected with the majority of the cluster. Could this satisfy your requirements?
/cc @xiang90

Oh, I know there is an experimental health endpoint after release 2.1.0, which is very helpful. But unfortunately, we use 2.0 version.
BTW, I read the source code of command etcdctl cluster-health to see how it implement heath monitoring. However, according to my experiment, the result of command etcdctl cluster-health is not stable, there are three possible result we can get when a member is ioslated:

cluster is unhealthy
cluster may be unhealthy: fail to connect
cluster is healthy: member XXX is healthy; member YYY is unhealthy....

It seems that the experimental health endpoint is available after release 2.1.0. Unfortunately, we use v2.0
BTW, I read the implementation of command etcdctl cluster-health in v2.0, but the method it used is not stable, there are three possible response we can get if a member is isolated:

cluster is unhealthy
cluster may be unhealthy: failed to connect
cluster is healthy:  member XXX is healthy; healthy YYY is unhealthy, etc

Is there any method can return a stable and definite response? Is my idea which based on recvAppendRequestCnt and sendAppendRequestCntidea feasible?

@mqliang We best suggestion is to upgrade to 2.1. Your idea is not feasible since some low level transportation constrains: if one side dies without finishing TCP closing, it might takes a long time to detect the failure. We fix it in 2.1.

authors: mqliang xiang90 yichengq

repo: coreos/etcd


text:
Flannel PublicIP is matching eth0, instead of the given eth1 argument

Related to #216, I've found that in my flannel subnet, I have a subnet w/ publicIP 10.0.2.15.
{"PublicIP":"10.0.2.15","BackendType":"vxlan","BackendData":{"VtepMAC":"8a:eb:23:bd:1b:4a"}}```

However, looking deeper into the subnet, the public IP above (10.0.2.15) corresponds to **eth0**.

```[root@kube0 vagrant]# ip a | grep eth1
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    inet 192.168.4.100/24 brd 192.168.4.255 scope global eth1```

Oddly, though, I have launched flannel with the eth1 argument:

[root@kube0 vagrant]# ps -ax | grep fla
16332 ?        Ssl    0:00 /usr/bin/flanneld -etcd-endpoints=http://127.0.0.1:2379 -etcd-prefix=/coreos.com/network eth1

I'm assuming that normally, the flannel publicIP should always match the **eth** interface which flannel is launched on, but maybe there are situations where flannel **falls back** to eth0 even if another nic is specified?

Diving deeper, it appears that the IP Addresses in the flannel subnet aren't actually written to etcd anywhere, instead, I only see
[root@kube0 vagrant]# etcdctl ls /coreos.com/network/subnets/
/coreos.com/network/subnets/99.0.30.0-24

However, I've already allocated a few containers.

Should each container have an entry somewhere in ETCD for its IP address?
Is flannel responsible, on startup, to ensure that IP allocations will indeed be recorded properly in ETCD?

If so, maybe this is a "bug" of some sort, i.e. the fact that its possible for docker to allocate flannel  addresses without registering them in etcd?

NEVERMIND I foud that the eth1 argument being sent requires a --iface= option. Meanwhile, i still have other issues, but now im getting two subnets properly provisioned by flannel to different VM's container spaces.
For anyone curious, you have to be careful to make sure you properly use the iface option when starting flannel with vagrant provisioned VMs on a bridged network (eth0 is the bridge in some cases, which can lead to two separate machines trying to use IPs in the same subnet)

REopening because, flannel should provide an error if you give it an unused/invalid commandline option.     Will change the name shortly...

I think https://github.com/coreos/flannel/pull/223 fixes this. Can it be closed? With latest Go (1.4), bad command line options should result in an error.

repo: coreos/flannel


text:
refactoring: Extract cloudformation specific code into its own package

for the preparation to reuse it in the upcoming node pools feature

Current coverage is 62.54% (diff: 80.95%)

Merging #104 into master will increase coverage by 5.94%

@@             master       #104   diff @@
==========================================
  Files             3          3
  Lines           970        793   -177
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
- Hits            549        496    -53
+ Misses          351        229   -122
+ Partials         70         68     -2

Powered by Codecov. Last update c413d9d...10217ee

authors: codecov-io mumoshu

repo: coreos/kube-aws


text:
Node-Exporter Issue

Unable to get nods data in grafana, confused because of daemon set...
Why nodes data is not showing in grafana?

Closing this due to inactivity, but feel free to continue to comment or open a new issue should there still be an issue :slightly_smiling_face:

authors: brancz salman-hayder

repo: coreos/prometheus-operator


text:
*: Cut v0.23.1 back to master

Let me know if you want a full merge instead of the cherry-pick.

@brancz @squat should I also update kube-prometheus?


text:
contrib/kube-prometheus fix KubeQuotaExceeded potential division by zero

This fixes an issue with the KubeQuotaExceeded alert when having some hard limit set to 0 (for instance services.loadbalancers set to 0).
The alert was triggering with +Inf or NaN results.

Thanks for the PR! That alert is actually defined in the kubernetes monitoring mixin, meaning we have to do the change there first: https://github.com/kubernetes-monitoring/kubernetes-mixin/blob/770d35207fdfebf23cfaa178049e684674fec387/alerts/resource_alerts.libsonnet#L80
Then we can update the kubernetes-mixin dependency we use here and re-generate the alert. Would you like to take care of that?

If you want to do the PR against the other repo soonish I also happy with leaving this one open and just updating it once the PR lands in the kubernetes-mixin.

Already merged: https://github.com/kubernetes-monitoring/kubernetes-mixin/pull/95

I've just merged https://github.com/kubernetes-monitoring/kubernetes-mixin/pull/95 so this PR should be good to update.
Please run jb update(where jb is https://github.com/jsonnet-bundler/jsonnet-bundler) in contrib/kube-prometheus and then run make generate in the root of this repo.
Thanks.

authors: brancz lefeverd metalmatze


text:
list: return more pod info in JSON output

In the context of CRI, in order to make cAdvisor work in a standalone way without resorting to api-service, we need to expose more information related to pods and apps directly in the JSON output of rkt list and rkt status.
Looking at current cadvisor implementation, it looks like we are currently missing at least the following fields:

pod IPs (on non-running pods)
pod cgroups
per-app rootfs directory

Do IPs for non-running pods even exist? What would be holding the network namespace for them to have an IP? Or if you mean what the IP was when the container was running, do we hold on to that information?

@dgonyeo They're held by files in /var/run/netns.
They exist when a pod is exited but not rm/gc'd. You can still enter into those network namespaces etc.
e.g.:
$ sudo rkt run docker://busybox -- -c 'ifconfig'
busybox[5]: eth0      Link encap:Ethernet  HWaddr 16:AB:D6:0D:C4:AF
busybox[5]:           inet addr:172.16.28.70  Bcast:0.0.0.0  Mask:255.255.255.0
busybox[5]:           inet6 addr: fe80::14ab:d6ff:fe0d:c4af/64 Scope:Link
busybox[5]:           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
busybox[5]:           RX packets:1 errors:0 dropped:0 overruns:0 frame:0
busybox[5]:           TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
busybox[5]:           collisions:0 txqueuelen:0
busybox[5]:           RX bytes:90 (90.0 B)  TX bytes:90 (90.0 B)
busybox[5]: lo        Link encap:Local Loopback
busybox[5]:           inet addr:127.0.0.1  Mask:255.0.0.0
busybox[5]:           inet6 addr: ::1/128 Scope:Host
busybox[5]:           UP LOOPBACK RUNNING  MTU:65536  Metric:1
busybox[5]:           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
busybox[5]:           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
busybox[5]:           collisions:0 txqueuelen:1
busybox[5]:           RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
$ sudo ip netns list
cni-7f55b210-aae3-ac82-e541-3eeb3c13a310 (id: 0)
$ sudo ip netns exec cni-7f55b210-aae3-ac82-e541-3eeb3c13a310 ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
3: eth0@if11: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default
    link/ether 16:ab:d6:0d:c4:af brd ff:ff:ff:ff:ff:ff link-netnsid 0
    inet 172.16.28.70/24 scope global eth0
       valid_lft forever preferred_lft forever
    inet6 fe80::14ab:d6ff:fe0d:c4af/64 scope link
       valid_lft forever preferred_lft forever
$ sudo rkt gc --grace-period=0
gc: moving pod "099671c1-a89b-4c89-8981-97be466a4876" to garbage
Garbage collecting pod "099671c1-a89b-4c89-8981-97be466a4876"
$ sudo ip netns list
$

Ah ok, awesome. Just wanted to confirm that my mental model wasn't lining up right before digging in, I had assumed it had to be a process that was holding the namespace.

authors: dgonyeo euank lucab

repo: coreos/rkt


text:
run: add a "tmpfs" volume type

When specifying volumes to rkt run, there should be a type that is essentially a new empty/temporary volume created for the container.

related: appc/spec#183

Fixed by #1040


text:
getting started guide is outdated

https://github.com/coreos/rkt/blob/v0.5.3/Documentation/getting-started-ubuntu-trusty.md
Seems like this should be updated in sync with the release.  In particular, trusting the signing key can be done with rkt trust --prefix coreos.com/etcd.  The actual output is different, too, but that's not a huge deal unless you expect the shas to be the same. :-)

Thanks for catching, fixed via #781

authors: blalor jonboulle


text:
cant see if mod security installed

I would like to ask if someone can help me to check that the install is working ok with a basic rule please, is there code to use for my ubuntu 19.04 pi4 terminal that will tell me if the mod security is up and running, i had an issue earlier and renamed my apache2 server which caused me to have it not running, the apache2 is running fine and is the lastest version.

Apache tells you whether ModSec is loaded or not in the error.log during startup. You can then issue a
curl http://localhost/index.html?exec=/bin/bash

This should trigger a ModSecurity alert in the Apache error.log.
If you have that, everything is fine and working.
For anything else, please refer to the Apache / ModSecurity tutorials at https://netnea.com.
I'm closing this now.

Apache tells you whether ModSec is loaded or not in the error.log during startup. You can then issue a
curl http://localhost/index.html?exec=/bin/bash

This should trigger a ModSecurity alert in the Apache error.log.
If you have that, everything is fine and working.
For anything else, please refer to the Apache / ModSecurity tutorials at https://netnea.com.
I'm closing this now.

repo: coreruleset/coreruleset


text:
replaces #2052 RCE bypass uninitialized vars

this replaces #2052 and adds comments and tests

Meeting decision August 2021: @lifeforms  will review and test this PR.

I'm going to test out the new rule on live traffic. If there are no problems with false positives, I merge.

Any problems with FPs? Time to merge @lifeforms?

authors: dune73 franbuehler lifeforms theMiddleBlue


text:
Build CoreUI in Laravel 5.7 with javascript error

Hi all, how to fix my problem below?
I copy src folder CoreUI to E:/xampp/htdocs/laravel56/resources/assets/js and rename to admin, config package.json....
I run "npm run dev" error in file:
E:/xampp/htdocs/laravel56/resources/assets/js/admin/router/index.js
Error in row:
const DefaultContainer = () => import('@/containers/DefaultContainer')
Error:
ERROR in ./resources/assets/js/admin/router/index.js
Module build failed: SyntaxError: E:/xampp/htdocs/laravel56/resources/assets/js/admin/router/index.js: Unexpected token (5:31)

@mrholek  You have to make a small guide to integrate this awesome template with laravel!
Please sir!

There is no documentation to implement this template

Hello!
We would recommend have separated laravel and coreui projects and use laravel only as a RESTful API, because in SPA frontend approach you can't really utilize laravel blade templates.
This solution also brings more flexibility and is making frontend of the app reusable for other backend solutions.

authors: eduditurbide eleazarpuntonet htn woothu

repo: coreui/coreui-free-vue-admin-template


text:
Setup sample double-countable requirement data

Summary
Attach a field called allowCourseDoubleCounting to requirements that allow it. I also setup the rule to ensure that all non-first major, and minors are automatically double countable.
Test Plan
Testing on these courses and console log the illegallyDoubleCountedCourses list.

The list is empty as expected.

For the src/requirements/decorated-requirements.json file diff, is there a reason it was deleted and readded? Otherwise it could be an accidental change and need to be reverted.
Otherwise everything looks great!

This is intentional. We decided to check in this generated file a long time ago.

repo: cornell-dti/course-plan


text:
FIx: Pop Up in Contact Journal (EXPOSUREAPP-11079)

Testing

Go to Contact Journal
Create two Persons and choose both
Click on time, mask notes etc. for both persons
uncheck one person (you have to have fast fingers, this error is hard to reproduce)
same behavior also in "places"

Jira Link
https://jira-ibs.wbs.net.sap/browse/EXPOSUREAPP-11079

Hi! I can reproduce it reliably on my device. It happens when the focus is on the circumstances textbox with some text filled in and then deselect the person/location. This is because the deselection triggers the deletion of the person/location before the afterTextChangedListener of the textfield fires which tries to update the person/location, but it got deleted already.
Your fix works fine.

authors: LukasLechnerDev jurajkusnier

repo: corona-warn-app/cwa-app-android


text:
Build on Emulator failing (starting at branch release/2.4.x)

Avoid duplicates

[X] Bug is not mentioned in the FAQ
[X] Bug is specific for iOS only, for general issues / questions that apply to iOS and Android please raise them in the documentation repository
[X] Bug is not already reported in another issue

Technical details

Device name: Emulator
iOS version: 14.5
App version: 2.4

Describe the bug
The App does not build.
The console shows this output:
2021-06-07 21:02:37.515427+0200 ENA[28946:4750169] [ENA/Globals.swift:33] [fatalError(_:file:line:)] 💥 Fatal Error: Error parsing server environments: keyNotFound(CodingKeys(stringValue: "dccURL", intValue: nil), Swift.DecodingError.Context(codingPath: [CodingKeys(stringValue: "environments", intValue: nil), _JSONKey(stringValue: "Index 0", intValue: 0)], debugDescription: "No value associated with key CodingKeys(stringValue: \"dccURL\", intValue: nil) (\"dccURL\").", underlyingError: nil))
ENA/Globals.swift:34: Fatal error: Error parsing server environments: keyNotFound(CodingKeys(stringValue: "dccURL", intValue: nil), Swift.DecodingError.Context(codingPath: [CodingKeys(stringValue: "environments", intValue: nil), _JSONKey(stringValue: "Index 0", intValue: 0)], debugDescription: "No value associated with key CodingKeys(stringValue: \"dccURL\", intValue: nil) (\"dccURL\").", underlyingError: nil))
2021-06-07 21:02:37.516357+0200 ENA[28946:4750169] ENA/Globals.swift:34: Fatal error: Error parsing server environments: keyNotFound(CodingKeys(stringValue: "dccURL", intValue: nil), Swift.DecodingError.Context(codingPath: [CodingKeys(stringValue: "environments", intValue: nil), _JSONKey(stringValue: "Index 0", intValue: 0)], debugDescription: "No value associated with key CodingKeys(stringValue: \"dccURL\", intValue: nil) (\"dccURL\").", underlyingError: nil))
(lldb)

Steps to reproduce the issue

Clone the repository.
Open the project in Xcode
Build the app
See the issue after the "device" can already be seen on the screen

Expected behaviour
App should build as intended.
Additional context
The build is working with the release/2.3.x branch, but release/2.4.x & release/2.5.x are not working.

I also cannot build at release/2.4.x branch, as of yesterday evening.
It seems to miss the HealthCertificateToolkit in the package loading step. But I see the sources of this package.
Error message: Package loading: Misding package product 'HealthCertificateToolkit'
Do I miss a specific build step / setup / preparation / or configuration?

You have to delete the Enviroments.json a new one with the correct config will be generated on the next build.

Deleting (or updating) the Environments.json file. We don't do a 'migration' of your personal local configuration and ended up with this situation for every developer.
The other issue @ndegendogo described is something completely different and more related to the discussion in #2880. @Ein-Tim I see build errors for the community build because the swift package seems to be created with testability = false. This results in errors when using @testable in our configuration… Nasty thing but I'm on this.

Can you guys please check if

deleting/updating the Environments.json helps AND
if the fix/community-build-june-edition branch does solve the errors in case 1.) failed?

Thanks in advance!

I'm still seeing the same error @whiskey 😕

Ok @Ein-Tim, this is what Marcus mentioned.
If you check the Environments.json file in your Project it should NOT have that dccURL which is required since release 2.4. Deleting this json file would trigger the create_default_env.sh script (via the Load default environment build phase). The default environments file does contain that dccURL and should run fine.

@whiskey
yes, the fix/community-build-june-edition branch does fix the build for me.
Thanks again for your fast support!

Thanks for the feedback @ndegendogo!
@whiskey Thank you for the quick fix and your support! Same goes to @marcussc!
Closing as fixed.

authors: Ein-Tim marcussc ndegendogo whiskey

repo: corona-warn-app/cwa-app-ios


text:
Why is there no estimated waiting time?

Your Question
Other hotlines offer the service that while one is in the waiting line, the computer voice does not only tell that all available staff is already in talks with other customers, but also how long the estimated waiting time is.
Why is the CWA hotline not offering this service?

@Ein-Tim I have forwarded this question. Stand by, please, thanks.

@Ein-Tim
I'm not sure whether this issue was about the Technical or the TAN hotline. If it was only about the TAN hotline then it could be closed.

authors: Ein-Tim MikeMcC399 dsarkar

repo: corona-warn-app/cwa-hotline


text:
test

test

test

test

test

input

test

test

repo: corona-warn-app/cwa-website


text:
Add text to Settings to guide user to Transnational Exposure Logging details

Current Implementation
In CWA Android 1.5.0. 2.2.1
It is not obvious how to access the list of countries participating in Transnational Exposure Logging when the Settings menu is opened. Text in the Settings menu does not mention this aspect.

Settings menu

Exposure logging

List of countries

Suggested Enhancement
In the Settings menu, section Exposure Logging, add text after "Allow creation and sharing of COVID-19 random IDs." to indicate that selecting the Exposure Logging item will show a sub-item "Transnational Exposure Logging / Participating Countries". For instance add the text: "Show details and participating countries for Transnational Exposure Logging."
Expected Benefits
Increases user satisfaction concerning finding information about the EU and Swiss federated sharing of exposure information. Without this enhancement users may have trouble finding it.

Internal Tracking ID: EXPOSUREAPP-3409

Good catch @MikeMcC399 as always!
I've created a Jira ticket for this. The devs will pick it up now and decide how to handle it.
Thanks for the feedback
CH

Corona-Warn-App Open Source Team

I'm going to withdraw this enhancement request. Most major EU countries and all neighboring countries to Germany, except France, are participating in transnational exposure logging. The list of countries is also quite stable now.
The need to find out which countries have only just joined has therefore been reduced and in general I believe there is less interest in the exact list of countries.
A user who taps of "EXPOSURE LOGGING ACTIVE" on the Start Screen in CWA Android, then on "Transnational Exposure Logging / Participating Countries" will be shown the list of countries. I now think that is easy enough for an interested user.

@MikeMcC399 forwarded internally.

authors: MikeMcC399 dsarkar heinezen

repo: corona-warn-app/cwa-wishlist


text:
32-bit Windows support

Does devd support 32-bit Windows 8?
I'm running devd and getting following error on git bash:
bash: /c/Windows/system32/devd: cannot execute binary file: Exec format error
Also, cmd.exe even doesn't see the executable.
I was using  devd-0.4-windows64.zip. And devd-0.4-linux64.tgz for git bash additionaly.

Yes, as the name suggests, that binary was compiled for 64-bit Windows. I haven't tested it, but it should be reasonably easy to just cross-compile for 32-bit Windows (have a look at the build script). I wonder how common 32-bit Windows is nowadays?

I find myself needing 32bit windows exe. The build script link is broken and I don't see it in repo under a name I recognize. New link or filename?

@maphew Hi there - could you please look at the build scripts here. I've just added a 32-bit Windows distribution there, and you should be able to just run the script from the top-level of the devd project to build it. I might include a 32-bit build in the next release if there's a call for it.
I'm curious - under what circumstances might one encounter a 32-bit Windows system nowadays?

The virtual desktop infrastructure (VDI) our organization uses has Win7
32bit machines as the default image. There are 64bit ones too, but they're
slower for some reason.
The VDI are not used for serious work, but some of the people I need to
share development snapshots with use them.
I have a real webserver I can throw snapahot pages up on, so the need for
32bit devd.exe is not great.
It was just easier for me to send an email around saying "go to (here) and
run a batch file" than copy pages to the server. Or at least I thought it
was until I discovered devd I had was 64bit only. ;-)
Matt
On Dec 11, 2016 11:10 AM, "Aldo Cortesi" notifications@github.com wrote:

@maphew https://github.com/maphew Hi there - could you please look at
the build scripts here https://github.com/cortesi/godist. I've just
added a 32-bit Windows distribution there, and you should be able to just
run the script from the top-level of the devd project to build it. I might
include a 32-bit build in the next release if there's a call for it.
I'm curious - under what circumstances might one encounter a 32-bit
Windows system nowadays?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/cortesi/devd/issues/47#issuecomment-266300736, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAdrOPeH4WRgLEDnLH6fhqaa7RqntA7Xks5rHEq_gaJpZM4Hm-hO
.

authors: cortesi maphew tsutsarin

repo: cortesi/devd

license: mit


text:
documentation: typo setHeaders

What this PR does:
Fix a small typo in values.yaml which can lead to a misconfigured header if someone copy/paste the example
Which issue(s) this PR fixes:
N/A

ah cool you will need to run https://github.com/norwoodj/helm-docs to update the README.md as well (generated)
also DCO

authors: Eraac ShuzZzle

repo: cortexproject/cortex-helm-chart


text:
Add modal image preview to file module field

The following changes are implemented
TODO: Summary
Changes in the user interface:
TODO: Add screenshots, recordings or remove this section
Checklist when submitting a final (!draft) PR

[ ] Commits are tidied up, squashed if needed and follow guidelines in CONTRIBUTING.md
[ ] Code builds
[ ] All existing tests pass
[ ] All new critical code is covered by tests
[ ] PR is linked to the relevant issue(s)
[ ] Rebased with the target branch

2 issues and 2 suggestions
Issues:

padding in page builder and view

file is hidden if option to hide file name is enabled

Suggestions (please discuss with Jože):

make cursor default if the image can't be zoomed
select a default mode in file module field configuration

LGTM

repo: cortezaproject/corteza


text:
Create the main game screen

Index the game and create the basis for the graphics view.

Render the main screen: done

Render the main screen: done


text:
Put best practice in place to use "save exact" for npm packages.

@coryhouse, here's a suggestion to put the best practice in place to use save-exact=true for npm packages.

Thanks Nick. Great call!

@coryhouse Awesome starter kit and documentation.
@nickytonline I like this suggestion. Could you elaborate why this is best practice?

@DannyDelott please see issue #4 for links explaining this.

authors: DannyDelott coryhouse nickytonline

repo: coryhouse/react-slingshot


text:
Add support for varying thickness

The user should be able to change the thickness of the stroke maybe by using a slider.

@bhavyaagg just as an update, I combined the text and slider elements into one bootstrap element (which also helps with the compact feel). Once I convert the custom CSS to bootstrap CSS I will let you know. Should be done by some point today.

Great @JesseKuntz . All the best.

authors: JesseKuntz bhavyaagg

repo: coslos/LiveWhiteboard-Website


text:
Test shfmt for formatting shell scripts

One option for https://github.com/CosmWasm/cosmwasm/issues/652
Testing the script here as we have a good amount of scripts in this repo.

Added one commit, which add this to the CI

repo: cosmos/cosmjs


text:
Implement ValidateBasic function for packetV2

in packet-server's SendPacket, after https://github.com/cosmos/ibc-go/pull/7254 is merged

@bznein can I work on this issue?

Hi @chandiniv1 apologies but this has actually be already done (https://github.com/cosmos/ibc-go/blob/feat/ibc-eureka/modules/core/04-channel/v2/types/packet.go#L34-L61) and whoever worked on it forgot to close the issue

repo: cosmos/ibc-go


text:
imp: remove code id key from genesis contract

Description

closes: #3959
Commit Message / Changelog Entry
type: commit message

see the guidelines for commit messages. (view raw markdown for examples)

Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

[x] Targeted PR against correct branch (see CONTRIBUTING.md).
[x] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
[ ] Code follows the module structure standards and Go style guide.
[ ] Wrote unit and integration tests.
[ ] Updated relevant documentation (docs/) or specification (x/<module>/spec/).
[ ] Added relevant godoc comments.
[ ] Provide a commit message to be used for the changelog entry in the PR description for review.
[x] Re-reviewed Files changed in the Github PR explorer.
[x] Review Codecov Report in the comment section below once CI passes.

The MaxWasmByteSize is defined as 3 * 1024 * 1024, something around 3MB or so? Do we have any info or data on what size we could expect? Is this a reasonable limit?

The current contracts are less than 300 KB, so I guess 10 times that size should be more than enough.


text:
NPE... Error while waiting for pending futures [1.4-3]

E/Batcher: com.couchbase.lite.support.Batcher@41b82ec0: Error while waiting for pending futures
java.util.concurrent.ExecutionException: java.lang.NullPointerException
    at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:223)
    at java.util.concurrent.FutureTask.get(FutureTask.java:82)
    at com.couchbase.lite.support.Batcher.waitForPendingFutures(Batcher.java:256)
    at com.couchbase.lite.replicator.ReplicationInternal.waitBatcherCompleted(ReplicationInternal.java:1965)
    at com.couchbase.lite.replicator.PullerInternal.waitDownloadsToInsertBatcherCompleted(PullerInternal.java:1026)
    at com.couchbase.lite.replicator.PullerInternal.waitForAllTasksCompleted(PullerInternal.java:1021)
    at com.couchbase.lite.replicator.ReplicationInternal.waitForPendingFutures(ReplicationInternal.java:1920)
    at com.couchbase.lite.replicator.PullerInternal$14.run(PullerInternal.java:935)
    at java.lang.Thread.run(Thread.java:856)
 Caused by: java.lang.NullPointerException
    at com.couchbase.lite.replicator.PullerInternal.insertDownloads(PullerInternal.java:560)
    at com.couchbase.lite.replicator.PullerInternal$2.process(PullerInternal.java:127)
    at com.couchbase.lite.support.Batcher.processNow(Batcher.java:396)
    at com.couchbase.lite.support.Batcher.access$300(Batcher.java:29)
    at com.couchbase.lite.support.Batcher$2.run(Batcher.java:330)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
    at java.util.concurrent.FutureTask.run(FutureTask.java:137)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:150)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:264)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
    at java.lang.Thread.run(Thread.java:856)

Any chance you can get us some logs?

sorry, this hasn't come back since.

OK, closing. Feel free to reopen if you hit it again.

authors: djpongh npomfret

repo: couchbase/couchbase-lite-android