Copy and Publish Build Artifacts task is not supported within Release

2016-02-24T14:05:56.9290788Z Agent Name: Hosted Agent
2016-02-24T14:05:56.9300798Z ==============================================================
2016-02-24T14:05:56.9300798Z Entering OnPrepareEnvironment
2016-02-24T14:05:57.9804351Z Agent name: Hosted Agent, version: 1.95.0, OSVersion: Microsoft Windows NT 6.2.9200.0
2016-02-24T14:05:57.9814347Z SkipArtifactsDownload=False, ReleaseId=22, TeamProjectId=9871b294-99e1-48d0-a606-47a86c210f8e
2016-02-24T14:05:57.9869527Z Release folder: 8acfd1d8a
2016-02-24T14:05:57.9946425Z Environment variables available are below.  Note that these environment variables can be referred to in the task (in the ReleaseDefinition) by replacing "_" with "." e.g. AGENT_NAME environment variable can be referenced using Agent.Name in the ReleaseDefinition:
2016-02-24T14:05:57.9956047Z 				[AGENT_NAME] --> [Hosted Agent]
2016-02-24T14:05:57.9958223Z 				[AGENT_ROOTDIRECTORY] --> [C:\a]
2016-02-24T14:05:57.9958223Z 				[AGENT_HOMEDIRECTORY] --> [C:\LR\MMS\Services\Mms\TaskAgentProvisioner\Tools\agents\default]
2016-02-24T14:05:57.9968459Z 				[AGENT_SERVEROMDIRECTORY] --> [C:\LR\MMS\Services\Mms\TaskAgentProvisioner\Tools\agents\default\agent\worker]
2016-02-24T14:05:57.9968459Z 				[AGENT_ID] --> [1]
2016-02-24T14:05:57.9978392Z 				[AGENT_MACHINENAME] --> [TASKAGENT5-0048]
2016-02-24T14:05:57.9978392Z 				[AGENT_JOBNAME] --> [Release]
2016-02-24T14:05:57.9988455Z 				[AGENT_WORKFOLDER] --> [C:\a]
2016-02-24T14:05:57.9988455Z 				[SYSTEM] --> [release]
2016-02-24T14:05:57.9998408Z 				[SYSTEM_DEBUG] --> [true]
2016-02-24T14:05:57.9998408Z 				[RELEASE_RELEASEID] --> [22]
2016-02-24T14:05:58.0008391Z 				[RELEASE_RELEASENAME] --> [Release-8]
2016-02-24T14:05:58.0008391Z 				[RELEASE_RELEASEDESCRIPTION] --> []
2016-02-24T14:05:58.0008391Z 				[RELEASE_DEFINITIONNAME] --> [acp-gas-live-6.38]
2016-02-24T14:05:58.0018401Z 				[RELEASE_RELEASEURI] --> [vstfs:///ReleaseManagement/Release/22]
2016-02-24T14:05:58.0018401Z 				[RELEASE_ENVIRONMENTURI] --> [vstfs:///ReleaseManagement/Environment/50]
2016-02-24T14:05:58.0028406Z 				[RELEASE_ENVIRONMENTNAME] --> [QA]
2016-02-24T14:05:58.0028406Z 				[RELEASE_SKIPARTIFACTSDOWNLOAD] --> [False]
2016-02-24T14:05:58.0038403Z 				[RELEASE_REQUESTEDFOR] --> [Alexander Kovalev]
2016-02-24T14:05:58.0038403Z 				[RELEASE_REQUESTEDFORID] --> [7782d29d-d561-4fca-a243-257e88d2c325]
2016-02-24T14:05:58.0038403Z 				[SYSTEM_HOSTTYPE] --> [release]
2016-02-24T14:05:58.0048398Z 				[SYSTEM_COLLECTIONID] --> [7ca298fe-0375-43ed-a418-90a0ad2a198a]
2016-02-24T14:05:58.0048398Z 				[SYSTEM_TEAMPROJECTID] --> [9871b294-99e1-48d0-a606-47a86c210f8e]
2016-02-24T14:05:58.0058393Z 				[SYSTEM_TEAMPROJECT] --> [Connect 6.X]
2016-02-24T14:05:58.0058393Z 				[SYSTEM_CULTURE] --> [en-US]
2016-02-24T14:05:58.0058393Z 				[SYSTEM_TEAMFOUNDATIONCOLLECTIONURI] --> [https://arkadiumarena.visualstudio.com/DefaultCollection/]
2016-02-24T14:05:58.0068411Z 				[SYSTEM_TASKDEFINITIONSURI] --> [https://arkadiumarena.visualstudio.com/DefaultCollection/]
2016-02-24T14:05:58.0073598Z 				[BUILD_DEFINITIONNAME] --> [acp-gas-live-6.38-rm]
2016-02-24T14:05:58.0073598Z 				[BUILD_DEFINITIONID] --> [119]
2016-02-24T14:05:58.0083825Z 				[BUILD_BUILDNUMBER] --> [20160220.2]
2016-02-24T14:05:58.0083825Z 				[BUILD_BUILDID] --> [2500]
2016-02-24T14:05:58.0093858Z 				[BUILD_REPOSITORY_NAME] --> [Connect 6.X]
2016-02-24T14:05:58.0103826Z 				[BUILD_SOURCEBRANCH] --> [refs/heads/live-v6.38]
2016-02-24T14:05:58.0103826Z 				[BUILD_SOURCEBRANCHNAME] --> [live-v6.38]
2016-02-24T14:05:58.0103826Z 				[BUILD_SOURCEVERSION] --> [2b2914a65654bc77ecd3670fcafcb830c50e2b91]
2016-02-24T14:05:58.0114088Z 				[BUILD_BUILDURI] --> [vstfs:///Build/Build/2500]
2016-02-24T14:05:58.0114088Z 				[BUILD_REQUESTEDFORID] --> [7782d29d-d561-4fca-a243-257e88d2c325]
2016-02-24T14:05:58.0123823Z 				[BUILD_REPOSITORY_PROVIDER] --> [TfsGit]
2016-02-24T14:05:58.0133801Z 				[BUILD_REQUESTEDFOR] --> [Alexander Kovalev]
2016-02-24T14:05:58.0133801Z 				[BUILD_TYPE] --> [Build]
2016-02-24T14:05:58.0143798Z 				[SYSTEM_TEAMFOUNDATIONSERVERURI] --> [https://arkadiumarena.vsrm.visualstudio.com/DefaultCollection/]
2016-02-24T14:05:58.0182406Z 				[SYSTEM_WORKFOLDER] --> [C:\LR\MMS\Services\Mms\TaskAgentProvisioner\Tools\agents\default_work]
2016-02-24T14:05:58.0183797Z 				[AGENT_WORKINGDIRECTORY] --> [C:\a\SourceRootMapping\7ca298fe-0375-43ed-a418-90a0ad2a198a\Job-1dab8c20-19a7-4d4c-9396-6cb9939b355a]
2016-02-24T14:05:58.0466987Z 				[AGENT_RELEASEDIRECTORY] --> [C:\a\8acfd1d8a]
2016-02-24T14:05:58.0466987Z 				[SYSTEM_ARTIFACTSDIRECTORY] --> [C:\a\8acfd1d8a]
2016-02-24T14:05:58.0477611Z 				[SYSTEM_DEFAULTWORKINGDIRECTORY] --> [C:\a\8acfd1d8a]
2016-02-24T14:06:00.0077950Z ##[section]Cleaning artifacts directory: C:\a\8acfd1d8a…
2016-02-24T14:06:00.0227953Z ##[section]Cleaned artifacts directory: C:\a\8acfd1d8a
2016-02-24T14:06:00.0257951Z Number of linked artifacts to download: 1
2016-02-24T14:06:00.0267979Z Starting artifacts download...
2016-02-24T14:06:00.0487945Z Downloading linked artifact: acp-gas-live-6.38-rm...
2016-02-24T14:06:00.0498124Z Downloading artifact of type: Build
2016-02-24T14:06:00.0508452Z Created artifact folder C:\a\8acfd1d8a\acp-gas-live-6.38-rm
2016-02-24T14:06:00.1103645Z Preparing to get the list of available artifacts from build.
2016-02-24T14:06:00.3327954Z Preparing to download artifact: Live
2016-02-24T14:06:00.3629675Z Artifact Type: ServerDrop
2016-02-24T14:06:00.3639698Z The artifact is of older version: False
2016-02-24T14:06:01.1974475Z Caching items under 'Live' in the file container...
2016-02-24T14:06:01.6317794Z Caching complete. (432 ms)
2016-02-24T14:06:02.2541641Z Downloading files.
2016-02-24T14:06:02.2551628Z Proxy server  is disabled!. Download speed will be impacted.
2016-02-24T14:06:02.3381638Z Proxy  has been disabled.
2016-02-24T14:06:07.3156111Z Downloads complete.
2016-02-24T14:06:07.3949278Z 123 placed file(s): 123 downloaded, 0 empty and new, 0 preserved.
2016-02-24T14:06:07.3959351Z 6 MB downloaded at 1112 KB/sec. Download time: 00:00:05.0567703. Parallel download limit: 8.
2016-02-24T14:06:07.3959351Z Proxy server  was unavailable for some or all downloads.
2016-02-24T14:06:07.3969328Z Download breakdown:
2016-02-24T14:06:07.3979278Z 123 file(s) are new.
2016-02-24T14:06:07.3979278Z Preparing to download artifact: Dev
2016-02-24T14:06:07.3989295Z Artifact Type: ServerDrop
2016-02-24T14:06:07.3989295Z The artifact is of older version: False
2016-02-24T14:06:07.3999272Z Caching items under 'Dev' in the file container...
2016-02-24T14:06:07.5270060Z Caching complete. (126 ms)
2016-02-24T14:06:07.5318411Z Downloading files.
2016-02-24T14:06:07.5328411Z Proxy server  is disabled!. Download speed will be impacted.
2016-02-24T14:06:07.5517490Z Proxy  has been disabled.
2016-02-24T14:06:12.5395889Z Downloads complete.
2016-02-24T14:06:12.5415479Z 123 placed file(s): 123 downloaded, 0 empty and new, 0 preserved.
2016-02-24T14:06:12.5420952Z 6 MB downloaded at 1123 KB/sec. Download time: 00:00:05.0060379. Parallel download limit: 8.
2016-02-24T14:06:12.5420952Z Proxy server  was unavailable for some or all downloads.
2016-02-24T14:06:12.5431157Z Download breakdown:
2016-02-24T14:06:12.5431157Z 123 file(s) are new.
2016-02-24T14:06:12.5441159Z Preparing to download artifact: QA
2016-02-24T14:06:12.5441159Z Artifact Type: ServerDrop
2016-02-24T14:06:12.5451232Z The artifact is of older version: False
2016-02-24T14:06:12.5451232Z Caching items under 'QA' in the file container...
2016-02-24T14:06:12.6605159Z Caching complete. (114 ms)
2016-02-24T14:06:12.6665301Z Downloading files.
2016-02-24T14:06:12.6675311Z Proxy server  is disabled!. Download speed will be impacted.
2016-02-24T14:06:12.6765318Z Proxy  has been disabled.
2016-02-24T14:06:17.6727395Z Downloads complete.
2016-02-24T14:06:17.6744482Z 123 placed file(s): 123 downloaded, 0 empty and new, 0 preserved.
2016-02-24T14:06:17.6750378Z 6 MB downloaded at 1124 KB/sec. Download time: 00:00:05.0039908. Parallel download limit: 8.
2016-02-24T14:06:17.6750378Z Proxy server  was unavailable for some or all downloads.
2016-02-24T14:06:17.6760545Z Download breakdown:
2016-02-24T14:06:17.6760545Z 123 file(s) are new.
2016-02-24T14:06:17.6780331Z Downloaded linked artifact acp-gas-live-6.38-rm
2016-02-24T14:06:17.6790508Z Finished artifacts download
2016-02-24T14:06:17.6812276Z Leaving OnPrepareEnvironment
2016-02-24T14:06:17.8467948Z Running tasks
2016-02-24T14:06:17.8837981Z Starting task: Copy Publish Artifact: Service.Api
2016-02-24T14:06:18.0767942Z Executing the powershell script: C:\LR\MMS\Services\Mms\TaskAgentProvisioner\Tools\agents\default\tasks\CopyPublishBuildArtifacts\1.0.18\CopyPublishBuildArtifacts.ps1
2016-02-24T14:06:18.7836409Z ##[debug]Entering script Publish-BuildArtifacts.ps1
2016-02-24T14:06:18.7866419Z ##[debug]CopyRoot = C:\a\8acfd1d8a\acp-gas-live-6.38-rm
2016-02-24T14:06:18.7876584Z ##[debug]Contents = QA**
2016-02-24T14:06:18.7876584Z ##[debug]ArtifactName = Service.Api
2016-02-24T14:06:18.7886407Z ##[debug]ArtifactType = FilePath
2016-02-24T14:06:18.7896392Z ##[debug]TargetPath = \testserver\live-v6.38-rm
2016-02-24T14:06:18.8026405Z ##[debug]Loading module from path 'C:\LR\MMS\Services\Mms\TaskAgentProvisioner\Tools\agents\default\agent\worker\Modules\Microsoft.TeamFoundation.DistributedTask.Task.Internal\Microsoft.TeamFoundation.DistributedTask.Task.Internal.dll'.
2016-02-24T14:06:18.8396387Z ##[debug]Importing cmdlet 'Add-BuildAttachment'.
2016-02-24T14:06:18.8396387Z ##[debug]Importing cmdlet 'Convert-String'.
2016-02-24T14:06:18.8406400Z ##[debug]Importing cmdlet 'Get-IndexedSourceFilePaths'.
2016-02-24T14:06:18.8406400Z ##[debug]Importing cmdlet 'Get-JavaDevelopmentKitPath'.
2016-02-24T14:06:18.8416406Z ##[debug]Importing cmdlet 'Get-MSBuildLocation'.
2016-02-24T14:06:18.8416406Z ##[debug]Importing cmdlet 'Get-ServiceEndpoint'.
2016-02-24T14:06:18.8426406Z ##[debug]Importing cmdlet 'Get-TfsClientCredentials'.
2016-02-24T14:06:18.8426406Z ##[debug]Importing cmdlet 'Get-ToolPath'.
2016-02-24T14:06:18.8436407Z ##[debug]Importing cmdlet 'Get-TaskVariable'.
2016-02-24T14:06:18.8436407Z ##[debug]Importing cmdlet 'Get-VisualStudioPath'.
2016-02-24T14:06:18.8446414Z ##[debug]Importing cmdlet 'Get-VssConnection'.
2016-02-24T14:06:18.8446414Z ##[debug]Importing cmdlet 'Invoke-Ant'.
2016-02-24T14:06:18.8456407Z ##[debug]Importing cmdlet 'Invoke-BatchScript'.
2016-02-24T14:06:18.8456407Z ##[debug]Importing cmdlet 'Invoke-Maven'.
2016-02-24T14:06:18.8466404Z ##[debug]Importing cmdlet 'Invoke-MSBuild'.
2016-02-24T14:06:18.8466404Z ##[debug]Importing cmdlet 'Invoke-PublishSymbols'.
2016-02-24T14:06:18.8476402Z ##[debug]Importing cmdlet 'Invoke-Tool'.
2016-02-24T14:06:18.8486392Z ##[debug]Importing cmdlet 'Invoke-VSTest'.
2016-02-24T14:06:18.8486392Z ##[debug]Importing cmdlet 'Publish-BuildArtifact'.
2016-02-24T14:06:18.8496395Z ##[debug]Importing cmdlet 'Copy-BuildArtifact'.
2016-02-24T14:06:18.8496395Z ##[debug]Importing cmdlet 'Add-BuildArtifactLink'.
2016-02-24T14:06:18.8506395Z ##[debug]Importing cmdlet 'Register-XamarinLicense'.
2016-02-24T14:06:18.8506395Z ##[debug]Importing cmdlet 'Unregister-XamarinLicense'.
2016-02-24T14:06:18.8516396Z ##[debug]Importing cmdlet 'Get-X509Certificate'.
2016-02-24T14:06:18.8646377Z ##[debug]Loading module from path 'C:\LR\MMS\Services\Mms\TaskAgentProvisioner\Tools\agents\default\agent\worker\Modules\Microsoft.TeamFoundation.DistributedTask.Task.Common\Microsoft.TeamFoundation.DistributedTask.Task.Common.dll'.
2016-02-24T14:06:18.8776390Z ##[debug]Importing cmdlet 'Complete-Task'.
2016-02-24T14:06:18.8776390Z ##[debug]Importing cmdlet 'Get-LocalizedString'.
2016-02-24T14:06:18.8786405Z ##[debug]Importing cmdlet 'Set-TaskVariable'.
2016-02-24T14:06:18.8786405Z ##[debug]Importing cmdlet 'Set-TaskProgress'.
2016-02-24T14:06:18.8796406Z ##[debug]Importing cmdlet 'Add-TaskIssue'.
2016-02-24T14:06:18.8796406Z ##[debug]Importing cmdlet 'Write-TaskDetail'.
2016-02-24T14:06:18.8806404Z ##[debug]Importing cmdlet 'Find-Files'.
2016-02-24T14:06:18.9256402Z ##[error]System.Management.Automation.RuntimeException: Copy and Publish Build Artifacts task is not supported within Release ---> System.Management.Automation.RuntimeException: Copy and Publish Build Artifacts task is not supported within Release
2016-02-24T14:06:18.9266455Z ##[error]   --- End of inner exception stack trace ---
2016-02-24T14:06:18.9266455Z ##[error]   at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input)
2016-02-24T14:06:18.9276450Z ##[error]   at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke)
2016-02-24T14:06:18.9286400Z ##[error]   at System.Management.Automation.PowerShell.Worker.CreateRunspaceIfNeededAndDoWork(Runspace rsToUse, Boolean isSync)
2016-02-24T14:06:18.9286400Z ##[error]   at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection1 input, PSDataCollection1 output, PSInvocationSettings settings)
2016-02-24T14:06:18.9296398Z ##[error]   at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection1 input, PSDataCollection1 output, PSInvocationSettings settings)
2016-02-24T14:06:18.9306384Z ##[error]   at Microsoft.TeamFoundation.DistributedTask.Handlers.PowerShellHandler.Execute(ITaskContext context, CancellationToken cancellationToken)
2016-02-24T14:06:18.9306384Z ##[error]   at Microsoft.TeamFoundation.DistributedTask.Worker.JobRunner.RunTask(ITaskContext context, TaskWrapper task, CancellationTokenSource tokenSource)
2016-02-24T14:06:18.9756384Z Finishing task: CopyPublishBuildArtifacts
2016-02-24T14:06:18.9956392Z Skipping task PublishBuildArtifacts as it is disabled in the definition
2016-02-24T14:06:18.9986425Z ##[error]System.Exception: Task CopyPublishBuildArtifacts failed. This caused the job to fail. Look at the logs for the task for more details.
2016-02-24T14:06:18.9996382Z ##[error]   at Microsoft.TeamFoundation.DistributedTask.Worker.JobRunner.Run(IJobContext jobContext, IJobRequest job, IJobExtension jobExtension, CancellationTokenSource tokenSource)
same output for task Publish Artifact as well

This is by design, as you're not running a Build.  See the error message:
2016-02-24T14:06:18.9256402Z ##[error]System.Management.Automation.RuntimeException: Copy and Publish Build Artifacts task is not supported within Release ---> System.Management.Automation.RuntimeException: Copy and Publish Build Artifacts task is not supported within Release

Hm, but what is the diff between copy on build and release, what was the
matter of this behavior?
25 февр. 2016 г. 19:46 пользователь "scott dallamura" <
<EMAIL_ADDRESS>написал:

Closed #1292 https://github.com/Microsoft/vso-agent-tasks/issues/1292.
—
Reply to this email directly or view it on GitHub
https://github.com/Microsoft/vso-agent-tasks/issues/1292#event-565920360
.

I don't see why publishing artifacts is a build-only task.  I have a very specific use case that requires validation of dacpac generated scripts prior to deployment to each environment.  After these scripts are generated, I need to allow the user to download them, verify them, and then accept the release step and have it move to the next environment.
I can think of a whole bunch of other use cases where the release engineer needs to download the output of the release process, and the only real way to do that is through artifacts, as there is no way to access the generated files of a release.

Build creates the dacpac's and ispac's and then creates the artifacts that release consumes.  Release can then if you want verify the artifacts and then ask (via the approvals) to deploy the artifacts to the environment.  You can included the output of the verification in the approval request.

@DoranDouglas - I don't see how you can do this in TFS, there is nothing in the Approvals dialog that allows you select files for inclusion in the output for verification that I can find.  Can you explain this in more detail?


[Feature Request]: Add support for webpackInclude and webpackExclude magic comments

What problem does this feature solve?
Hi,
Webpack supports webpackExclude and webpackInclude magic comments as shown here : https://webpack.js.org/api/module-methods/#magic-comments
Is there some plan in progress to have it supported by rspack ?
What does the proposed API of configuration look like?
https://webpack.js.org/api/module-methods/#magic-comments
https://github.com/webpack/webpack/pull/5809
// Single target
import(
  /* webpackChunkName: "my-chunk-name" */
  /* webpackMode: "lazy" */
  /* webpackExports: ["default", "named"] */
  'module'
);

// Multiple possible targets
import(
  /* webpackInclude: /\.json$/ */
  /* webpackExclude: /\.noimport\.json$/ */
  /* webpackChunkName: "my-chunk-name" */
  /* webpackMode: "lazy" */
  /* webpackPrefetch: true */
  /* webpackPreload: true */
  `./locale/${language}`
);

Thank you

@IWANABETHATGUY should this be closed since #2367 is merged?

Thank a lot @IWANABETHATGUY 🙏

No, that pr is just a prerequisite of this feature.

HI @IWANABETHATGUY
Seems that this one can be closed or there is work left to do ?
Thanks

@hyf0 , can we close this?

Not supported yet<EMAIL_ADDRESS>

not sure why this issue was closed, support by https://github.com/web-infra-dev/rspack/pull/7055


'NoneType' object has no attribute 'group_add'

Exception inside application: 'NoneType' object has no attribute 'group_add'
Traceback (most recent call last):
  File "C:\Users\Naman Tamrakar\Desktop\channels-easy\example\.venv\lib\site-packages\channels\staticfiles.py", line 44, in __call__
    return await self.application(scope, receive, send)
  File "C:\Users\Naman Tamrakar\Desktop\channels-easy\example\.venv\lib\site-packages\channels\routing.py", line 71, in __call__
    return await application(scope, receive, send)
  File "C:\Users\Naman Tamrakar\Desktop\channels-easy\example\.venv\lib\site-packages\channels\sessions.py", line 47, in __call__
    return await self.inner(dict(scope, cookies=cookies), receive, send)
  File "C:\Users\Naman Tamrakar\Desktop\channels-easy\example\.venv\lib\site-packages\channels\sessions.py", line 263, in __call__
    return await self.inner(wrapper.scope, receive, wrapper.send)
  File "C:\Users\Naman Tamrakar\Desktop\channels-easy\example\.venv\lib\site-packages\channels\auth.py", line 185, in __call__
    return await super().__call__(scope, receive, send)
  File "C:\Users\Naman Tamrakar\Desktop\channels-easy\example\.venv\lib\site-packages\channels\middleware.py", line 26, in __call__
    return await self.inner(scope, receive, send)
  File "C:\Users\Naman Tamrakar\Desktop\channels-easy\example\.venv\lib\site-packages\channels\routing.py", line 150, in __call__
    return await application(
  File "C:\Users\Naman Tamrakar\Desktop\channels-easy\example\.venv\lib\site-packages\channels\consumer.py", line 94, in app
    return await consumer(scope, receive, send)
  File "C:\Users\Naman Tamrakar\Desktop\channels-easy\example\.venv\lib\site-packages\channels\consumer.py", line 62, in __call__
    await await_many_dispatch([receive], self.dispatch)
  File "C:\Users\Naman Tamrakar\Desktop\channels-easy\example\.venv\lib\site-packages\channels\utils.py", line 51, in await_many_dispatch
    await dispatch(result)
  File "C:\Users\Naman Tamrakar\Desktop\channels-easy\example\.venv\lib\site-packages\channels\consumer.py", line 73, in dispatch
    await handler(message)
  File "C:\Users\Naman Tamrakar\Desktop\channels-easy\example\.venv\lib\site-packages\channels\generic\websocket.py", line 173, in websocket_connect
    await self.connect()
  File "C:\Users\Naman Tamrakar\Desktop\channels-easy\example\channels_app\consumers.py", line 7, in connect
    await self.join("room1")
  File "C:\Users\Naman Tamrakar\Desktop\channels-easy\example\.venv\lib\site-packages\channels_easy\generic.py", line 75, in join
    await self.channel_layer.group_add(_room, self.channel_name)
AttributeError: 'NoneType' object has no attribute 'group_add'
WebSocket DISCONNECT /ws/test/ [<IP_ADDRESS>:9867]

This issue comes when we do not specify CHANNEL_LAYERS in settings.py. Visit channels docs for more info.
For channels-easy >=v0.2.2 It throws a warning with proper message


Collisions between 2 connected PhysicalBone3d

Godot version
v4.0.beta10.official [d0398f62f]
System information

OS: Arch Linux
Kernel: 6.0.12-zen1-1-zen
CPU: Intel i5-8300H (8) @ 4.000GHz
GPU: NVIDIA GeForce GTX 1050 Mobile
Vulkan

Issue description
When the collision shape of one PhysicalBone3d overlaps the collision shape of its parent, the physics simulation stops working properly and PhysicalBones start lagging and freaking out.

EDIT:
Tested the same setup on Godot 3.5.1 stable. Everything works fine. Connected PhysicalBones are excluded from collision with each other by default. Possible regression
Steps to reproduce

Import any 3d model with Skeleton
Add 2 physical bones
Add collision shapes, and let them overlap each other
Add ground (static body with collision shape)
Add GDscript somewhere that calls physical_bones_start_simulation() on Skeleton3D in _ready() function
Enjoy the show

Minimal reproduction project
Here is a simple reproduction project with an example worm model which has 3 bones
PhysicalBonesTest.zip
Suggestions
Either add the "Exclude Nodes From Collision" option to the PhysicalBone3d node the same way as in standard joint nodes (e.g. PinJoint3D) or make this a default behavior, because this is the way ragdolls are supposed to work

I've made a PR fixing this:
#70945


Make courses on index display in order of similarity when searching

The getSimilarCourses(searchStr) returns a list of elements in order from similar to not similar to the search query. Displaying them in this order would be beneficial

Note- This would take place most likely in the index.js file under client/public/js/index.js


Add webpage(s) for better public communication

Create a homepage for SourceMetrix and explain people coming along about the idea of SourceMetrix, listing the benefits, prerequisites, but also open issues.
May use github-pages. Cf. https://metrixplusplus.github.io/home.html as a good example.

Add screenshots like

Add screenshots like


Enable throttling for JSONP API requests.

@akatsoulas r?

Shouldn't you log the clients in order to determine which are going to be throttled?

tested locally and looks good. Let's merge this and test it further in dev
r+ :bear:


Add solc with widened addresses

Addresses are 256 bits as far as the typechecker is concerned
Address literals have to fit in a felt

Can we land this @DomHenderson @swapnilraj

Can we land this @DomHenderson @swapnilraj

Done


Note: running Kodi with access to host avahi to enable zeroconf

That was freaking tough.
TL;DR
Still using --hostnet (next step would be to setup isolated network)

-- -v /var/run/dbus/:/var/run/dbus/ -- (use host's system dbus-daemon, socket address is hardcoded in avahi-client at compile time)
--privileged (circumvent AppArmor docker profile)

Long story
First of all, Zeroconf just didn't work even if enabled in GUI/config. So did not AirPlay, obviously. The log was saying:
ERROR: CZeroconfAvahi::createClient() failed with -26
ERROR: CZeroconfAvahi::CZeroconfAvahi(): Could not create client

Quick googling got me to sources of Kodi at https://github.com/xbmc/xbmc/blob/b5a9c397662dbb1b0aa2281c06582ca2bf3538c0/xbmc/platform/linux/network/zeroconf/ZeroconfAvahi.cpp#L353 which used avahi-client library. So I resorted to look up error code in avahi's docs and sources, found it at https://github.com/lathiat/avahi/blob/e8a3dd0d480a754318e312e6fa66fea249808187/avahi-common/error.h#L59, then https://github.com/lathiat/avahi/blob/master/avahi-client/client.c said it is related to DBus.
As you wrote in Wiki https://github.com/mviereck/x11docker/wiki/How-to-connect-container-to-DBus-from-host I tried to user --dbus (no luck because no dbus package installed in container) and --hostdbus which didn't work also.
Manually mounting /run/user/1000/bus to container and setting DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus got me no further, still with error -26.
I checked with dbus-monitor --address unix:path=/run/user/1000/bus that DBus is available on the socket from host, but not available from container (according to Kodi logs), which seemed very strange.
So, the next option was try to use system dbus daemon through /var/run/dbus/system_bus_socket, I forwarded it with -- -v /var/run/dbus/system_bus_socket:/var/run/dbus/system_bus_socket -e DBUS_SESSION_BUS_ADDRESS=unix:path=/var/run/dbus/system_bus_socket -- to Kodi, and got:
ERROR: CZeroconfAvahi::createClient() failed with -20
ERROR: CZeroconfAvahi::CZeroconfAvahi(): Could not create client

So, looked up -20 equals AVAHI_ERR_ACCESS_DENIED, which equals DBUS_ERROR_ACCESS_DENIED (ha-ha, obvious thought I),
srw-rw-rw- 1 root root 0 Aug  6 19:19 /var/run/dbus/system_bus_socket

But no.
I'll skip a couple of iterations of trying with session DBus (always got -26, whatever I had done), after which I occasionally forgot to set -e DBUS_SESSION_BUS_ADDRESS=unix:path=/var/run/dbus/system_bus_socket and then boom, -20. So this revealed the magic behind -26 with session DBus: avahi-client library (?) just does not respect env and always connects to /var/run/dbus/system_bus_socket. As I found out socket address is discovered by autoconf at compile time.
Anyway, no luck connecting to DBus from container (access denied), but dbus-monitor --system works fine on host's shell even without sudo. After going through DBus' docs about authentication and all that stuff around, reading /etc/dbus-1/system.d/avahi-dbus.conf on host, confirming there were no rules that could potentially deny access, I still could not develop any plan to make it work.
I missed an obvious step -- look through syslog, and journalctl did show me the problem:
audit: type=1107 audit(1596733279.028:33): pid=823 uid=103 auid=4294967295 ses=4294967295 msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/org/freedesktop/DBus" interface="org.freedesktop.DBus" member="Hello" mask="send" name="org.freedesktop.DBus" pid=8046 label="docker-default" peer_label="unconfined"

AppArmor fenced all DBus request as docker runs with label="docker-default". So the trivial way was just disabling AppArmor on my container with --privileged. It did the trick and my Kodi is announced on local network.
Next steps
As --privileged is not the right way of doing things I plan to investigate how to create a special profile and use it with Kodi (or other avahi-enabled software).
Links

Docker's guide: https://docs.docker.com/engine/security/apparmor/
Someone who faced the same problem: https://github.com/edgexfoundry-holding/device-bluetooth-c#apparmor
And did it right way: https://github.com/edgexfoundry-holding/device-bluetooth-c/pull/15/files

PS
The most intriguing and misleading thing was that another container with Spotifyd perfectly announced itself through DNS SD, actually that was because an instance of avahi appeared to be compiled into spotifyd and it also listened on udp/5353.
udp        0      0 <IP_ADDRESS>:5353            <IP_ADDRESS>:*                           11430/spotifyd
udp        0      0 <IP_ADDRESS>:5353            <IP_ADDRESS>:*                           822/avahi-daemon: r

I was not sure if an this issue is the right place to share this information, but at least it is ok to have a track of process.

Thank you for this documentation! It is quite interesting.

As --privileged is not the right way of doing things I plan to investigate how to create a special profile and use it with Kodi (or other avahi-enabled software).

You can disable apparmor with docker run option --security-opt apparmor=unconfined. You could add this to the x11docker command between --  --

--security-opt apparmor=unconfined

It does also work.
Nevertheless I plan to make a profile for AppArmor at least for educational purpose :)

Closing due to inactivity. Thank you for sharing your investigation!

I've made a note of this thread in x11docker wiki: https://github.com/mviereck/x11docker/wiki/How-to-connect-container-to-DBus-from-host


gibberish in alt tag

http://www.firestormforum.org contains gibberish in some of its alt tags.  This produces unselectable noise in screen readers.  For example, the following two tags are used just before "An Open Source Phoenix-based forum and comment system":

Note: This issue was detected by Amanda Lacy and tracked down by Rich Morin, using Menu Bar > View > Developer > View Source in Google Chrome on a Mac Pro.

It looks like this issue should be closed and re-opened in the repo for the www.firestormforum.org homepage here: https://github.com/dailydrip/firestormforum.org


Masternode start command causes wallet to crash with underconfirmed output or invalid key/tx/ip

When starting a masternode (start-alias) the windows x64 wallet with .55 version will hang indefinitely under any of these conditions:

Masternode output(deposit) is less than 25 confirmations.  (It should give a warning and not crash like previous versions did.  This failed at 15 and 19 confirmations so it isn't just 15 required confirms like others have indicated.)
If masternode.conf file has a different key than remove server.
If local wallet can't connect to remote server(blocked ip, bad ip config).
If 2 ips are set for the same outputs or same keys in masternode.conf, the first node will start, but the second will hang.
Logfile: No information is available from the debug.log.  The hang isn't logged.
Suggestions:
Check masternode.conf for repeat ips, keys, or outputs and give warning.
For outputs with less the 25 confirms give a warning and don't try to start.
For the other errors, allow a 2 second hang and then stop trying and give a warning.

At this point this is obsolete, as <IP_ADDRESS> is ancient. If this is an issue with current software version, please feel free to report.


Healthcheck failing on plug install

After logging in via :SourcegraphLogin, checkhealth sg returns:
sg: require("sg.health").check()

- ERROR Failed to run healthcheck for "sg" plugin. Exception:
  function health#check, line 25
  Vim(eval):E5108: Error executing lua ...local/share/nvim/site/autoload/sg.nvim/lua/sg/health.lua:169: attempt to call field 'start' (a nil value)
  stack traceback:
  ...local/share/nvim/site/autoload/sg.nvim/lua/sg/health.lua:169: in function 'check'
  [string "luaeval()"]:1: in main chunk

Here is my init.vim:
call plug#begin('~/.local/share/nvim/site/autoload')

Plug 'sourcegraph/sg.nvim', { 'do': 'nvim -l build/init.lua' }
" Required for various utilities
Plug 'nvim-lua/plenary.nvim'
" Required if you want to use some of the search functionality
Plug 'nvim-telescope/telescope.nvim'

call plug#end()

Also, where does the configuration go?
require("sg").setup

Is that the full stack trace in the first item? What's your neovim version? Perhaps I used something from a newer version than you have.
The setup() can be added anywhere in your init.vim (you'll have to do it with lua, like:

lua << EOF
require("sg").setup()
EOF

or similar

@ryanjclark added the above setup as mentioned and Cody is now working.

cc @tjdevries

Great, will look into the other issue you mentioned though!


pip install error on python3.8

$ pip install  sanic-pydantic
Collecting sanic-pydantic
Using cached sanic-pydantic-1.2.0.tar.gz (3.4 kB)
ERROR: Exception:
Traceback (most recent call last):
File "/Users/jenuce/my_cms/venv/lib/python3.8/site-packages/pip/_internal/cli/base_command.py", line 180, in _main
status = self.run(options, args)
File "/Users/jenuce/my_cms/venv/lib/python3.8/site-packages/pip/_internal/cli/req_command.py", line 205, in wrapper
return func(self, options, args)
File "/Users/jenuce/my_cms/venv/lib/python3.8/site-packages/pip/_internal/commands/install.py", line 318, in run
requirement_set = resolver.resolve(
File "/Users/jenuce/my_cms/venv/lib/python3.8/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 127, in resolve
result = self._result = resolver.resolve(
File "/Users/jenuce/my_cms/venv/lib/python3.8/site-packages/pip/_vendor/resolvelib/resolvers.py", line 473, in resolve
state = resolution.resolve(requirements, max_rounds=max_rounds)
File "/Users/jenuce/my_cms/venv/lib/python3.8/site-packages/pip/_vendor/resolvelib/resolvers.py", line 341, in resolve
name, crit = self._merge_into_criterion(r, parent=None)
File "/Users/jenuce/my_cms/venv/lib/python3.8/site-packages/pip/_vendor/resolvelib/resolvers.py", line 172, in _merge_into_criterion
if not criterion.candidates:
File "/Users/jenuce/my_cms/venv/lib/python3.8/site-packages/pip/_vendor/resolvelib/structs.py", line 139, in bool
return bool(self._sequence)
File "/Users/jenuce/my_cms/venv/lib/python3.8/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 143, in bool
return any(self)
File "/Users/jenuce/my_cms/venv/lib/python3.8/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 129, in
return (c for c in iterator if id(c) not in self._incompatible_ids)
File "/Users/jenuce/my_cms/venv/lib/python3.8/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 33, in _iter_built
candidate = func()
File "/Users/jenuce/my_cms/venv/lib/python3.8/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 200, in _make_candidate_from_link
self._link_candidate_cache[link] = LinkCandidate(
File "/Users/jenuce/my_cms/venv/lib/python3.8/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 306, in init
super().init(
File "/Users/jenuce/my_cms/venv/lib/python3.8/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 151, in init
self.dist = self._prepare()
File "/Users/jenuce/my_cms/venv/lib/python3.8/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 234, in _prepare
dist = self._prepare_distribution()
File "/Users/jenuce/my_cms/venv/lib/python3.8/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 317, in _prepare_distribution
return self._factory.preparer.prepare_linked_requirement(
File "/Users/jenuce/my_cms/venv/lib/python3.8/site-packages/pip/_internal/operations/prepare.py", line 508, in prepare_linked_requirement
return self._prepare_linked_requirement(req, parallel_builds)
File "/Users/jenuce/my_cms/venv/lib/python3.8/site-packages/pip/_internal/operations/prepare.py", line 570, in _prepare_linked_requirement
dist = _get_prepared_distribution(
File "/Users/jenuce/my_cms/venv/lib/python3.8/site-packages/pip/_internal/operations/prepare.py", line 60, in _get_prepared_distribution
abstract_dist.prepare_distribution_metadata(finder, build_isolation)
File "/Users/jenuce/my_cms/venv/lib/python3.8/site-packages/pip/_internal/distributions/sdist.py", line 29, in prepare_distribution_metadata
self.req.load_pyproject_toml()
File "/Users/jenuce/my_cms/venv/lib/python3.8/site-packages/pip/_internal/req/req_install.py", line 493, in load_pyproject_toml
pyproject_toml_data = load_pyproject_toml(
File "/Users/jenuce/my_cms/venv/lib/python3.8/site-packages/pip/_internal/pyproject.py", line 62, in load_pyproject_toml
pp_toml = toml.load(f)
File "/Users/jenuce/my_cms/venv/lib/python3.8/site-packages/pip/_vendor/toml/decoder.py", line 156, in load
return loads(f.read(), _dict, decoder)
File "/Users/jenuce/my_cms/venv/lib/python3.8/site-packages/pip/_vendor/toml/decoder.py", line 362, in loads
raise TomlDecodeError("Unterminated string found."
pip._vendor.toml.decoder.TomlDecodeError: Unterminated string found. Reached end of file. (line 23 column 1 char 434)

will update the package and fix soon for python 3.8


The plugin call has been changed

The plugin call has been changed in aurelia.globalResources('./mdl');

last version fix this change


feat: add IsInPath, InPath, and IsRoot funcs to run.go

Suggest any changes in the names of the functions if you want.

Sorry, that's just not enough to justify IsInPath and InPath when using exec.Lookup is fine. Also, looking up Admin or Root permissions should be universal if we are going to do it at all and name it something like run.ExeHasAdmin instead.

@rwxrob I've made the suggested changes


Updated Readme file

Title and Issue number

Title : [Bug] - Update Readme file
Issue No. : #29
Code Stack :  Documentation
Close #29

Checklist:

[X] I have mentioned the issue number in my Pull Request.
[X] I have commented my code, particularly in hard-to-understand areas
[X] I have gone through the  contributing.md file before contributing

Additional context (Mandatory )
Are you contributing under any Open-source programme?
YES, JWOC 2024

@Surajit0573 put screen-shots/video of the readme in the comment box.

@sd012gfhkhhvh ....

issue #29 has beed resolved and pr#35 got merged into main


Modify fetch-configlet script

https://github.com/exercism/configlet/issues/173: Travis CI are fails because of fetch-configlet script failure while getting latest release URL. As described in https://github.com/exercism/haskell/pull/898#pullrequestreview-368719612 the problem was that  curl started to output headers in lowercase
Few days ago I was created PR which simply fixed the case (https://github.com/exercism/cpp/pull/344)
This PR provides possibility to get latest release of configlet script using GitHub API.

Should this file just be tracking a central fetch-configlet script that can be shared by all the tracks? Maybe https://github.com/exercism/configlet/blob/master/scripts/fetch-configlet?
It appears that the one in the configlet repo does a few things differently from this but it doesn't have the fix from https://github.com/exercism/configlet/issues/173 yet.

Fully agree. Script should be centralized, but it isn't. Each track maintaining it by itself.
The idea I came with to stop script being depended on case-sensitivity curl output and use standard GitHub API. Perhaps it makes sense to propose it to exercism/configlet#173.

Yea, I think the better solution here is to try to get the version in the configlet repo fixed and merge all the updates there into here.
This is a good change so I'll go ahead and merge, but the long term solution should be trying to herd everybody into sharing a single version. (You don't necessarily have to be the one to do that, but I'm just stating it here for future reference).
Thanks!


go version update to 1.20

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (172e1e9) 59.60% compared to head (fe7c2ef) 59.60%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main      #30   +/-   ##
=======================================
  Coverage   59.60%   59.60%
=======================================
  Files           9        9
  Lines         859      859
=======================================
  Hits          512      512
  Misses        336      336
  Partials       11       11

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

LGTM


snyk can hang

While testing out the new sca/Makefile in shadedetector, I ran make -j 4 on a fresh clone of this repo to run up to 4 tasks in parallel. However, the snyk task generating a report for CVE-2016-6802 hung:
wtwhite@wtwhite-vuw-vm:~$ ps auxwww -H|grep -C 999 make
USER         PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
--snip--
wtwhite   613387  0.0  0.0   9080  2948 pts/2    S+   14:30   0:00       make -k -f /home/wtwhite/code/shadedetector/sca/Makefile -j 4 --output-sync
wtwhite   613403  0.0  0.0   2888   952 pts/2    S+   14:30   0:00         /bin/sh -c cd CVE-2016-6802 && snyk test --json --json-file-output=scan-results/snyk/snyk-report.json
wtwhite   613413  0.0  0.0 1616588 39764 pts/2   Sl+  14:30   0:00           snyk test --json --json-file-output=scan-results/snyk/snyk-report.json
wtwhite   613784  0.0  0.2 11465252 143264 pts/2 Sl+  14:30   0:00             /home/wtwhite/.cache/snyk/snyk-cli/1.1228.0/snyk-linux test --json --json-file-output=scan-results/snyk/snyk-report.json
--snip--

strace shows it's waiting for some futex (not, e.g., for me to type something on stdin):
root@wtwhite-vuw-vm:/home/wtwhite/code/FRESH_xshady/CVE-2016-6802/scan-results/snyk# strace -p 613413
strace: Process 613413 attached
futex(0x6268ea8, FUTEX_WAIT_PRIVATE, 0, NULL

Several minutes later it had made some "progress" but was still waiting on the same futex:
root@wtwhite-vuw-vm:/home/wtwhite/code/FRESH_xshady/CVE-2016-6802/scan-results/snyk# strace -p 613413
strace: Process 613413 attached
futex(0x6268ea8, FUTEX_WAIT_PRIVATE, 0, NULL) = 0
futex(0x6268ea8, FUTEX_WAIT_PRIVATE, 0, NULL) = 0
futex(0x6269278, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x6268ea8, FUTEX_WAIT_PRIVATE, 0, NULL) = 0
futex(0x6269278, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0xc00057c148, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x6268ea8, FUTEX_WAIT_PRIVATE, 0, NULL) = 0
futex(0xc00007a948, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x6268ea8, FUTEX_WAIT_PRIVATE, 0, NULL	) = 0
futex(0x6268ea8, FUTEX_WAIT_PRIVATE, 0, NULL) = 0
futex(0x6268ea8, FUTEX_WAIT_PRIVATE, 0, NULL

This looks like a bug in snyk. I would have guessed that it's only likely to happen when multiple instances of snyk are running, but the futex() man page shows that FUTEX_WAIT_PRIVATE indicates a futex completely local to a single process, used to coordinate between threads.
Next step: Raise a ticket with them.

Rerunning snyk manually (while the original process was still hung) generated a normal-looking report in 8s.
After I killed the original process, snyk wrote the following to the report file:
wtwhite@wtwhite-vuw-vm:~/code/FRESH_xshady$ cat CVE-2016-6802/scan-results/snyk/snyk-report.json
{
  "ok": false,
  "error": "socket hang up",
  "path": "/home/wtwhite/code/FRESH_xshady/CVE-2016-6802"
}


load_ndjson with loadopt.upsert throws UniqueViolationError

pg-stac version - 0.4.3
pypgstac version - 0.4.5
When using load_ndjson with the method loadopt.upsert https://github.com/NASA-IMPACT/cmr-pgstac-loader/blob/main/lambdas/pgstac_loader/handler.py#L40 records with duplicate ids throw UniqueViolationError.   An example full stack trace
[ERROR] UniqueViolationError: duplicate key value violates unique constraint "items_p2022w11_id_pk"
DETAIL:  Key (id)=(HLS.S30.T49TCF.2022073T032539.v2.0) already exists.
Traceback (most recent call last):
  File "/var/task/aws_lambda_powertools/middleware_factory/factory.py", line 133, in wrapper
    response = middleware()
  File "/var/task/aws_lambda_powertools/utilities/data_classes/event_source.py", line 39, in event_source
    return handler(data_class(event), context)
  File "/var/task/handler.py", line 36, in handler
    asyncio.run(
  File "/var/lang/lib/python3.8/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "/var/lang/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
    return future.result()
  File "/var/task/pypgstac/load.py", line 246, in load_ndjson
    await load_iterator(f, table, conn, method)
  File "/var/task/pypgstac/load.py", line 234, in load_iterator
    await copy_upsert(iter, table, conn)
  File "/var/task/pypgstac/load.py", line 212, in copy_upsert
    await conn.copy_to_table(
  File "/var/task/asyncpg/connection.py", line 897, in copy_to_table
    return await self._copy_in(copy_stmt, source, timeout)
  File "/var/task/asyncpg/connection.py", line 1101, in _copy_in
    return await self._protocol.copy_in(
  File "asyncpg/protocol/protocol.pyx", line 529, in copy_in
    status_msg = await waiter

I can confirm that loadopt.upsert appears to work in pypgstac tests by modifying https://github.com/stac-utils/pgstac/blob/main/test/testdata/items.ndjson to include an item with a duplicate id and running the pypgstac LoadTest.
Inconsistently I am also seeing the following error immediately following
[ERROR] CardinalityViolationError: ON CONFLICT DO UPDATE command cannot affect row a second time
HINT:  Ensure that no rows proposed for insertion within the same command have duplicate constrained values.
Traceback (most recent call last):
  File "/var/task/aws_lambda_powertools/middleware_factory/factory.py", line 133, in wrapper
    response = middleware()
  File "/var/task/aws_lambda_powertools/utilities/data_classes/event_source.py", line 39, in event_source
    return handler(data_class(event), context)
  File "/var/task/handler.py", line 36, in handler
    asyncio.run(
  File "/var/lang/lib/python3.8/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "/var/lang/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
    return future.result()
  File "/var/task/pypgstac/load.py", line 246, in load_ndjson
    await load_iterator(f, table, conn, method)
  File "/var/task/pypgstac/load.py", line 234, in load_iterator
    await copy_upsert(iter, table, conn)
  File "/var/task/pypgstac/load.py", line 212, in copy_upsert
    await conn.copy_to_table(
  File "/var/task/asyncpg/connection.py", line 897, in copy_to_table
    return await self._copy_in(copy_stmt, source, timeout)
  File "/var/task/asyncpg/connection.py", line 1101, in _copy_in
    return await self._protocol.copy_in(
  File "asyncpg/protocol/protocol.pyx", line 529, in copy_in
    status_msg = await waiter

@bitner After some discussion with @edkeeble I've traced this issue to loading duplicate items with different datetime.  You can replicate this issue by modifying https://github.com/stac-utils/pgstac/blob/main/test/testdata/items.ndjson  to include
{"id": "pgstac-test-item-0003", "bbox": [-85.379245, 30.933949, -85.308201, 31.003555], "type": "Feature", "links": [], "assets": {"image": {"href": "https://naipeuwest.blob.core.windows.net/naip/v002/al/2011/al_100cm_2011/30085/m_3008506_nw_16_1_20110825.tif", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "roles": ["data"], "title": "RGBIR COG tile", "eo:bands": [{"name": "Red", "common_name": "red"}, {"name": "Green", "common_name": "green"}, {"name": "Blue", "common_name": "blue"}, {"name": "NIR", "common_name": "nir", "description": "near-infrared"}]}, "metadata": {"href": "https://naipeuwest.blob.core.windows.net/naip/v002/al/2011/al_fgdc_2011/30085/m_3008506_nw_16_1_20110825.txt", "type": "text/plain", "roles": ["metadata"], "title": "FGDC Metdata"}, "thumbnail": {"href": "https://naipeuwest.blob.core.windows.net/naip/v002/al/2011/al_100cm_2011/30085/m_3008506_nw_16_1_20110825.200.jpg", "type": "image/jpeg", "roles": ["thumbnail"], "title": "Thumbnail"}}, "geometry": {"type": "Polygon", "coordinates": [[[-85.309412, 30.933949], [-85.308201, 31.002658], [-85.378084, 31.003555], [-85.379245, 30.934843], [-85.309412, 30.933949]]]}, "collection": "pgstac-test-collection", "properties": {"gsd": 1, "datetime": "2011-08-25T01:00:00Z", "naip:year": "2011", "proj:bbox": [654842, 3423507, 661516, 3431125], "proj:epsg": 26916, "providers": [{"url": "https://www.fsa.usda.gov/programs-and-services/aerial-photography/imagery-programs/naip-imagery/", "name": "USDA Farm Service Agency", "roles": ["producer", "licensor"]}], "naip:state": "al", "proj:shape": [7618, 6674], "eo:cloud_cover": 28, "proj:transform": [1, 0, 654842, 0, -1, 3431125, 0, 0, 1]}, "stac_version": "1.0.0-beta.2", "stac_extensions": ["eo", "projection"]}

Which is identical to the first item in the file but with it's datetime value incremented by 1 second.  Now when running the pypgstac tests you'll receive
Traceback (most recent call last):
  File "/opt/src/pypgstac/tests/test_load.py", line 26, in test_load_testdata_succeeds
    asyncio.run(
  File "/usr/local/lib/python3.8/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "/usr/local/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
    return future.result()
  File "/opt/src/pypgstac/pypgstac/load.py", line 246, in load_ndjson
    await load_iterator(f, table, conn, method)
  File "/opt/src/pypgstac/pypgstac/load.py", line 234, in load_iterator
    await copy_upsert(iter, table, conn)
  File "/opt/src/pypgstac/pypgstac/load.py", line 212, in copy_upsert
    await conn.copy_to_table(
  File "/usr/local/lib/python3.8/site-packages/asyncpg/connection.py", line 859, in copy_to_table
    return await self._copy_in(copy_stmt, source, timeout)
  File "/usr/local/lib/python3.8/site-packages/asyncpg/connection.py", line 1041, in _copy_in
    return await self._protocol.copy_in(
  File "asyncpg/protocol/protocol.pyx", line 506, in copy_in
asyncpg.exceptions.UniqueViolationError: duplicate key value violates unique constraint "items_p2011w34_id_pk"
DETAIL:  Key (id)=(pgstac-test-item-0003) already exists.


Example token / oath key is no longer valid

Attempted to run the example project (on iOS if that matters) and received errors on both the v1 and v2 from an UNAUTHENTICATED token.

Seems this is an issue of Dialogflow itself. I had no problems to authorize my test project


Gets only http to work

Following the readme from the webproxy and the wordpress-readme in this repo, I get Wordpress only working on HTTP. Using HTTPS there is no response.
Do you have any idea how to troubleshoot this? I followed the steps several times but it seams to be every time the same (unknown) fault.
I've noticed the following running the start.sh script:
./start.sh: 10: ./start.sh: source: not found
"docker network create" requires exactly 1 argument.
See 'docker network create --help'.

Usage:  docker network create [OPTIONS] NETWORK [flags]

Create a network

within my nginx certs directory the certificate for the TLD was created correctly, so I assume the nginx/letsencrypt setup is correctly. But while running the test scripts, the same error is shown:
./test_start.sh: 13: ./test_start.sh: source: not found
I've already looked up this issue. I'm running ubuntu 16.04 with bin/bash available. But atm docker is set up to required sudo. Should I change this to work without sudo?
Thanks in advance
Andreas

In addition I've added my user to the docker group to prevent the sudo was the issue - but even without sudo, https is not working. I'm using both docker-compose.ym files from you repo and both .env files using the same network name:
for the proxy
#
# docker-compose-letsencrypt-nginx-proxy-companion
#
# A Web Proxy using docker with NGINX and Let's Encrypt
# Using the great community docker-gen, nginx-proxy and docker-letsencrypt-nginx-proxy-companion
#
# This is the .env file to set up your webproxy enviornment

#
# Your local containers NAME
#
NGINX_WEB=nginx-web
DOCKER_GEN=nginx-gen
LETS_ENCRYPT=nginx-letsencrypt

#
# Your external IP address
#
IP=<IP_ADDRESS>

#
# Default Network
#
NETWORK=webproxy

#
# Service Network (Optional)
#
# In case you decide to add a new network to your services containers you can set this
# network as a SERVICE_NETWORK
#
# [WARNING] This setting was built to use our `start.sh` script or in that special case
#           you could use the docker-composer with our multiple network option, as of:
#           `docker-compose -f docker-compose-multiple-networks.yml up -d`
#
#SERVICE_NETWORK=webservices

#
# NGINX file path
#
NGINX_FILES_PATH=/var/nginx/data

#
# NGINX use special conf files
#
# In case you want to add some special configuration to your NGINX Web Proxy you could
# add your files to ./conf.d/ folder as of sample file 'uploadsize.conf'
#
# [WARNING] This setting was built to use our `start.sh`.
#
# [WARNING] Once you set this options to true all your files will be copied to data
#           folder (./data/conf.d). If you decide to remove this special configuration
#           you must delete your files from data folder ./data/conf.d.
#
#USE_NGINX_CONF_FILES=true

#
# Docker Logging Config
#
# This section offers two options max-size and max-file, which follow the docker documentation
# as follow:
#
# logging:
#      driver: "json-file"
#      options:
#        max-size: "200k"
#        max-file: "10"
#
#NGINX_WEB_LOG_MAX_SIZE=4m
#NGINX_WEB_LOG_MAX_FILE=10

#NGINX_GEN_LOG_MAX_SIZE=2m
#NGINX_GEN_LOG_MAX_FILE=10

#NGINX_LETSENCRYPT_LOG_MAX_SIZE=2m
#NGINX_LETSENCRYPT_LOG_MAX_FILE=10

for wordpress
# .env file to set up your wordpress site

#
# Network name
#
# Your container app must use a network conencted to your webproxy
# https://github.com/evertramos/docker-compose-letsencrypt-nginx-proxy-companion
#
NETWORK=webproxy

#
# Database Container configuration
# We recommend MySQL or MariaDB - please update docker-compose file if needed.
#
CONTAINER_DB_NAME=db

# Path to store your database
DB_PATH=/var/docker-data/prod/mysql/some-wp/

# Root password for your database
MYSQL_ROOT_PASSWORD=****

# Database name, user and password for your wordpress
MYSQL_DATABASE=******
MYSQL_USER=******
MYSQL_PASSWORD=******

#
# Wordpress Container configuration
#
CONTAINER_WP_NAME=some-wp

# Path to store your wordpress files
WP_CORE=./files
WP_CONTENT=./wp-content

# Table prefix
WORDPRESS_TABLE_PREFIX=wp_

# Your domain (or domains)
DOMAINS=myTLD.it,www.myTLD.it

# Your email for Let's Encrypt register
<EMAIL_ADDRESS>

Please keep things sepparated.
Your webproxy is working? Did you test with our very simple script?

Check the nginx file (`/var/nginx/data/conf/defult.conf``) and see if it recognize your ssl and it is forwading to your container using https.

If the nginx file has the opptions to ssl to your domain, check the logs for nginx-web when you access it.

If there is no errors... you got something wrong in your wp container. what is the logs on wp container?

Hi @evertramos
thank you very much for the quick answer and helpful steps.
Using the tests scripts does fail for test and test_ssl:
both show the following out:

test_start.sh: 13: test_start.sh: source: not
test_start_ssl.sh: 13: test_start_ssl.sh: source: not found

But the container is starting in both cases.
Browsing the url, for HTTP I've get a 503, Service Temporarily Unavailable, for HTTPS there is no response.
I assume there is something wrong with the nginx setup. The config does only shows the listings on port 80. Therefore https requests will not answers correctly. Am I right?
As shown, the ssltest.my-tld.com was added, but does not work correctly for neither http nor https.
All domains and subdomains were set up as A Records and pointing all to the same IP (as http is working I guess it's not a routing issue)
# If we receive X-Forwarded-Proto, pass it through; otherwise, pass along the
# scheme used to connect to this server
map $http_x_forwarded_proto $proxy_x_forwarded_proto {
  default $http_x_forwarded_proto;
  ''      $scheme;
}
# If we receive X-Forwarded-Port, pass it through; otherwise, pass along the
# server port the client connected to
map $http_x_forwarded_port $proxy_x_forwarded_port {
  default $http_x_forwarded_port;
  ''      $server_port;
}
# If we receive Upgrade, set Connection to "upgrade"; otherwise, delete any
# Connection header that may have been passed to this server
map $http_upgrade $proxy_connection {
  default upgrade;
  '' close;
}
# Apply fix for very long server names
server_names_hash_bucket_size 128;
# Default dhparam
# Set appropriate X-Forwarded-Ssl header
map $scheme $proxy_x_forwarded_ssl {
  default off;
  https on;
}
gzip_types text/plain text/css application/javascript application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript;
log_format vhost '$host $remote_addr - $remote_user [$time_local] '
                 '"$request" $status $body_bytes_sent '
                 '"$http_referer" "$http_user_agent"';
access_log off;
# HTTP 1.1 support
proxy_http_version 1.1;
proxy_buffering off;
proxy_set_header Host $http_host;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $proxy_connection;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $proxy_x_forwarded_proto;
proxy_set_header X-Forwarded-Ssl $proxy_x_forwarded_ssl;
proxy_set_header X-Forwarded-Port $proxy_x_forwarded_port;
# Mitigate httpoxy attack (see README for details)
proxy_set_header Proxy "";
server {
	server_name _; # This is just an invalid value which will never trigger on a real hostname.
	listen 80;
	access_log /var/log/nginx/access.log vhost;
	return 503;
}
# my-tld.com
upstream my-tld.com {
				## Can be connected with "webproxy" network
			# wp_container_name
			server <IP_ADDRESS>:80;
}
server {
	server_name my-tld.com;
	listen 80 ;
	access_log /var/log/nginx/access.log vhost;
	include /etc/nginx/vhost.d/default;
	location / {
		proxy_pass http://my-tld.com;
	}
}
# ssltest.my-tld.com
upstream ssltest.my-tld.com {
}
server {
	server_name ssltest.my-tld.com;
	listen 80 ;
	access_log /var/log/nginx/access.log vhost;
	include /etc/nginx/vhost.d/default;
	location / {
		proxy_pass http://ssltest.my-tld.com;
	}
}
# www.my-tld.com
upstream www.my-tld.com {
				## Can be connected with "webproxy" network
			# wp_container_name
			server <IP_ADDRESS>:80;
}
server {
	server_name www.my-tld.com;
	listen 80 ;
	access_log /var/log/nginx/access.log vhost;
	include /etc/nginx/vhost.d/default;
	location / {
		proxy_pass http://www.my-tld.com;
	}
}

Is it possible the certs were not generated correctly?
within the certs dir I'm missing all the key files :/
sudo ls -l /var/nginx/data/certs/
total 16
drwxr-xr-x 3 root root 4096 Mar 10 19:36 accounts
-rw-r--r-- 1 root root  424 Mar 10 19:36 dhparam.pem
drwxr-xr-x 2 root root 4096 Mar 10 19:40 my-tld.it
drwxr-xr-x 2 root root 4096 Mar 10 19:38 ssltest.my-tld.it

Sorry for being so late. Thank you for the hints. I'll update the issue as soon as possible, please be patient.

I will close for now but we can keep the discussion. ok?

Hi @evertramos,
please find below the error that is thrown by the mentioned container:
2018-03-17 19:46:06,249:INFO:simp_le:1538: Retrieving Let's Encrypt latest Terms of Service.
2018-03-17 19:46:08,607:INFO:simp_le:1455: Generating new certificate private key
2018-03-17 19:46:22,525:ERROR:simp_le:1421: CA marked some of the authorizations as invalid, which likely means it could not access http://example.com/.well-known/acme-challenge/X. Did you set correct path in -d example.com:path or --default_root? Are all your domains accessible from the internet? Please check your domains' DNS entries, your host's network/firewall setup and your webserver config. If a domain's DNS entry has both A and AAAA fields set up, some CAs such as Let's Encrypt will perform the challenge validation over IPv6. If you haven't setup correct CAA fields or if your DNS provider does not support CAA, validation attempts after september 8, 2017 will fail.  Failing authorizations: https://acme-v01.api.letsencrypt.org/acme/authz/Upg49cIDqK-iGi6ECUkQxAat_4dDEq_dCR7_Vmv-5YE
Challenge validation has failed, see error log.

Please note, for all subdomains it just works fine, even if I create wordpress container from scratch, and using not the latest tag, I prefer the php7.1-apache tag. You can find some more details within the log file mentioned within the logs. I assume there is something wrong with the DNS?

@am-webdev,
Lets Encrypt has some limits that you must keep an eye on it. In your fist log message:
2018-03-17 19:46:06,249:INFO:simp_le:1538: Retrieving Let's Encrypt latest Terms of Service.
2018-03-17 19:46:08,607:INFO:simp_le:1455: Generating new certificate private key
2018-03-17 19:46:22,525:ERROR:simp_le:1421: CA marked some of the authorizations as invalid, which likely means it could not access http://example.com/.well-known/acme-challenge/X. Did you set correct path in -d example.com:path or --default_root? Are all your domains accessible from the internet? Please check your domains' DNS entries, your host's network/firewall setup and your webserver config. If a domain's DNS entry has both A and AAAA fields set up, some CAs such as Let's Encrypt will perform the challenge validation over IPv6. If you haven't setup correct CAA fields or if your DNS provider does not support CAA, validation attempts after september 8, 2017 will fail.  Failing authorizations: https://acme-v01.api.letsencrypt.org/acme/authz/Upg49cIDqK-iGi6ECUkQxAat_4dDEq_dCR7_Vmv-5YE
Challenge validation has failed, see error log.

It seems that you might already had this domain but do not have the keys to retrieve your certificate.
And the last one you just overload your limit among with lets encrypt.
I believe in our messages I suggested you to test with our test script of the webproxy, this discussion should not be here as I thinkg. The wordpress container works just fine, This is not a wordpress issue.
Please take a step back if you could, start new environment, clone webproxy, fix a new test dns for your domain and run our test_ssl from webproxy. If it works, the webproxy and letsencrypt is working fine.
stop the test cotainer with our script test_stop.
aftwards (after you stop the test) you clone this repo and just start the way it is, just set your domain and you will probably see that it is working.
In some cases if you use Azure servers you must set the database in your drive, which is mandatory for Azure server setup. But besides that I am not sure what could be happening. What server provider do you have today?

Hi @evertramos ,
i've tested ab bit around within the last days.
The issue seems to be the TLD which could not be approved:
2018-03-22 17:38:00,058:INFO:simp_le:1479: Generating new certificate private key
2018-03-22 17:38:14,228:ERROR:simp_le:1446: CA marked some of the authorizations as invalid, which likely means it could not access http://example.com/.well-known/acme-challenge/X. Did you set correct path in -d example.com:path or --default_root? Are all your domains accessible from the internet? Please check your domains' DNS entries, your host's network/firewall setup and your webserver config. If a domain's DNS entry has both A and AAAA fields set up, some CAs such as Let's Encrypt will perform the challenge validation over IPv6. If your DNS provider does not answer correctly to CAA records request, Let's Encrypt won't issue a certificate for your domain (see https://letsencrypt.org/docs/caa/). Failing authorizations: https://acme-v01.api.letsencrypt.org/acme/authz/N2xz8gJVlWx2zLE6ggGN4rMwxzvUnLO1gqYroDle96o
Challenge validation has failed, see error log.

In addition If I try to run the test scripts from your companion, the test also failed for http:
sh ./test_start.sh mytld.com
./test_start.sh: 13: ./test_start.sh: source: not found
Unable to find image 'httpd:alpine' locally
alpine: Pulling from library/httpd
605ce1bd3f31: Pull complete
6e4ededbced2: Pull complete
03b3c72c9962: Pull complete
39d3bcfb9091: Pull complete
f9f4be83e401: Pull complete
Digest: sha256:4b4721bb209909d745efaab33f343fdcc2d4a3e405e91b9dde832274b7cb9d53
Status: Downloaded newer image for httpd:alpine
045af350f843ce3bd748f2c63ee234ef7c5c3ffc3254b1c1b001cdbbd7a189c5

Browsing the url with HTTP it only responses with "503 Service Temporarily Unavailable"
if I run the test with SSL, it also fires the error "source: not found" and does not response correctly.
I guess I have to find out why lets-encrypt does not work with the root domain but works well for all sub domains. So even with your tests scrips failing, a basic httpd container with the env settings for lets-encrypt do not work for the root domain - all sub domains are working.

Did you have another certificate for this domain before?

Hi @evertramos
I've found the issue on the letsencrypt github project. If I remove the IPv6 / AAAA DNS Records for the domain, it works. I assume the reverse proxy is not set up for IPv6

In that case @am-webdev the Docker Compose version 3 does not support yet IPv6 also, we must wait until version 4 to see if it will support it. We are following up here:
https://github.com/evertramos/docker-compose-letsencrypt-nginx-proxy-companion/issues/45


[CP Staging] Revert "Fix padding for edit composer suggestions"

Reverts Expensify/App#41071 (see this discussion)
Will fix blocker https://github.com/Expensify/App/issues/50373

Since it's just a revert PR, no author nor reviewer checklists are needed. Removing the emergency label.

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.


update major components/libraries

We're using relatively outdated versions of Angular itself and ui-bootstrap. UI-bootstrap has gone through several major updates w/ breaking API changes so it's likely some refactoring will be required.

Aaron completed these component upgrades, closing.


Allow packages with NULL package names to appear in search results

Fixes #1442
Does not address https://github.com/SwiftPackageIndex/SwiftPackageIndex-Server/issues/1441#issuecomment-1000579168 which is now logged as #1466.

Screenshot from a database where the Firestarter package name is NULL:

The screenshot is great to confirm that a nil package won't break the search display. I think we should add that case to the snapshot test test_SearchShow. I'm in the middle of changes which I can't easily stash right now but I can add that later on in case you're not around.

The screenshot is great to confirm that a nil package won't break the search display. I think we should add that case to the snapshot test test_SearchShow. I'm in the middle of changes which I can't easily stash right now but I can add that later on in case you're not around.

Added an extra case to the snapshot.


chore: Run integration tests in child process.

Codecov Report

Merging #6 (f49785d) into main (cfb6882) will increase coverage by 0.08%.
The diff coverage is 100.00%.

:exclamation: Current head f49785d differs from pull request most recent head c1db514. Consider uploading reports for the commit c1db514 to get more accurate results

@@            Coverage Diff             @@
##             main       #6      +/-   ##
==========================================
+ Coverage   98.72%   98.81%   +0.08%
==========================================
  Files          14       10       -4
  Lines         236      507     +271
  Branches       12        0      -12
==========================================
+ Hits          233      501     +268
- Misses          3        6       +3

Impacted Files
Coverage Δ

lib/index.js
100.00% <100.00%> (ø)

lib/utils/isFile.js
100.00% <0.00%> (ø)

lib/utils/assertType.js
100.00% <0.00%> (ø)

lib/tasks/bundleTypes.js
100.00% <0.00%> (ø)

lib/utils/createLogger.js
100.00% <0.00%> (ø)

lib/tasks/bundleBrowserESM.js
100.00% <0.00%> (ø)

lib/tasks/bundleGitHubAction.js
100.00% <0.00%> (ø)

lib/manifests/findActionYML.js
96.55% <0.00%> (+0.55%)
:arrow_up:

lib/manifests/findPackageJSON.js
96.87% <0.00%> (+1.04%)
:arrow_up:

... and 1 more

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 cfb6882...c1db514. Read the comment docs.


Duplication of some instances by subdomain

In particular, test.switter.at appears as well as switter.at, they are clearly the same instance because they have the same number of users. I suggest maybe deduping based on subdomain.
With ALTERNATE_DOMAIN and WEB_DOMAIN, some instances indeed are reachable through different domains....

So assuming we have an instance y.z in database, and we're seing a new instance x.y.z, we would skip it entirely. That's doable. In the meantime, I'll exclude test.switter.at manually from the stats.


camel-kOperator Install

Hi,
Can anyone help me out please?
I'm installing camel-k in Linux. I uninstalled the tar package and used the below command to install kamel.
However, I don't see camel-k-operator pod in the pods list in my current namespace where I installed camel-k?
Could anyone please let me know how I can install camel-k-operator in my Kubernetes cluster?
Thanks in advance!

Thanks! Am I missing any step? Could you please check my steps above and let me know if I'm missing anything? Is there a bug. I believe not as no one reported on the issue yet.

https://camel.apache.org/camel-k/latest/installation/installation.html
Those are the list of installation guide we currently support.

So at first I would try one of these platforms.

If I'm correct, the list doesn't have Kubernetes. So, Kubernetes is not supported for camel-k and kamel?

I do not know how are you running yoyr kubernetes. Camel-k is for kubernetes. My suggestion is trying it on one of the listed platform like for example minikube. We cannot know how you're running your kubernetes and where. I also encourage you to read a bit more the documentation

Closing this, re-open in case of more questions.


local Jest testing fails

Jest tests for next-drupal fail when run locally.
Expected behavior
The TESTING.md documentation tells a developer how to run the tests and the local tests run successfully.
Steps to reproduce:

git clone this repo.
Run yarn install
Running yarn test fails all tests with:

FAIL  packages/next-drupal/tests/crud.test.ts
  ● Test suite failed to run

    The 'baseUrl' param is required.

      125 |   constructor(baseUrl: BaseUrl, options: DrupalClientOptions = {}) {
      126 |     if (!baseUrl || typeof baseUrl !== "string") {
    > 127 |       throw new Error("The 'baseUrl' param is required.")
          |             ^
      128 |     }

 FAIL  packages/next-drupal/tests/client.test.ts
  ● Test suite failed to run

    The 'baseUrl' param is required.

      125 |   constructor(baseUrl: BaseUrl, options: DrupalClientOptions = {}) {
      126 |     if (!baseUrl || typeof baseUrl !== "string") {
    > 127 |       throw new Error("The 'baseUrl' param is required.")
          |             ^
      128 |     }

Additional context
It's obvious from the Jest failure messages that there are some missing environment variables. It's also clear from looking at the Jest snapshot file, that the Jest tests are being run against a specific live environment, https://tests.next-drupal.org, and are using specific authentication credentials. So we can't allow developers to have those environment variables.
Developers should be able to have local test fixtures to run tests locally.

The current tests.nextdrupal.org instance is running Drupal 9.4.x and 99% of the test content is just the Umami demo content. That's good news since it means it might be possible to generate a local test instance (after we figure out what the 1% non-Umami content is). And it means we'll be able to update it to Drupal 10.1 easily too.
One complication is the jest snapshots are generated from the JSON:API data and are polluted with the absolute URL of the test environment and with content UUIDs from that specific instance of the Umami demo.
Alternatively, we could mock a Drupal JSON:API instance and have the Jest tests run against that. Though we'd want to generate the mocks using a live Drupal instance (and then commit the mocks to git) so it might make sense to do both here.

@JohnAlbin have been poking at these tests a bit. Short term to run these tests against tests.nextdrupal.org the only suite that requires valid auth credentials seems to be NextDrupal/crud-methods.test.ts unsurprisingly. Having just that suite run with mocks would probably go a long way in the short term. In the Drupal API client we did something similar using MSW I'd be wiling to take a shot at that here if that would help.


[CSS] Support - AZD log files with some rotation policy

CSS team requested to have file based logs with some rotation policies
FYI, Az CLI has file logging - https://learn.microsoft.com/en-us/cli/azure/azure-cli-configuration

What's left here? Is this required for 5/9 or just GA? I'm going to move it to GA release milestone but chime in if you disagree

Not required for GA.


feat(api): added api for request, cancel and send user consent code to AMT

AMT
AB#3455

Codecov Report

Merging #332 (cf7aec3) into master (06c9f5b) will increase coverage by 0.09%.
The diff coverage is 30.58%.

:exclamation: Current head cf7aec3 differs from pull request most recent head 0185187. Consider uploading reports for the commit 0185187 to get more accurate results

@@            Coverage Diff             @@
##           master     #332      +/-   ##
==========================================
+ Coverage   26.45%   26.55%   +0.09%
==========================================
  Files          56       60       +4
  Lines        3534     3619      +85
  Branches      641      648       +7
==========================================
+ Hits          935      961      +26
- Misses       2378     2437      +59
  Partials      221      221

Impacted Files
Coverage Δ

src/routes/amt/userConsent/sendUserConsentCode.ts
20.68% <20.68%> (ø)

...rc/routes/amt/userConsent/cancelUserConsentCode.ts
21.73% <21.73%> (ø)

...c/routes/amt/userConsent/requestUserConsentCode.ts
21.73% <21.73%> (ø)

src/routes/amt/index.ts
100.00% <100.00%> (ø)

src/routes/amt/userConsent/userConsentValidator.ts
100.00% <100.00%> (ø)

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 06c9f5b...0185187. Read the comment docs.


fixing issue 40

This appears to fix issue 40 somewhat.

Stumbled into issue #40, managed to get it working :smile:
Below is the grunt config I'm using this with:
postcss: {
      options: {
        map: true,
        processors: [
          module.require('postcss-import')({
          }),
          module.require('postcss-nested')({
          }),
          module.require('cssnext')({
            features: {
              rem: {
                rootvalue: '14px',
              },
            },
          }),
        ],
      },
      templateScratchpad: {
        files: [{
          'template-scratchpad/css/style.min.css': 'template-scratchpad/css/style.css',
        }]
      }
    }

Don't you think we have to introduce breaking changes, and no longer support old way. If so, your commits are a bit out of scope. What do you think about that?
I'm asking: for now, there's no way to set rootValue from cssnext's pixrem options?
/cc @MoOx

There is a dirty way, but not documented at all. Using a rootValue seems a better idea and will fit the process() method that postcss 4.2 bring on plugins https://github.com/postcss/postcss/issues/337


Create presenter for new Help schema

As part of mainstream format migration, we've created a content-schema
for help pages.
To support this, and future content schemas, we've created a small
number of classes:
A Format::HelpPagePresenter which converts a HelpPageEdition into the
correct format for Publishing-API
An EditionPresenterFactory which chooses and configures the correct
Format Presenter class for the type of content.
https://trello.com/c/1zlDYRH8/625-migrate-help-page-format-to-rendered-1-3-3
Note: The tests will only pass once https://github.com/alphagov/govuk-content-schemas/pull/500 has been merged (and deployed!)

@boffbowsh new content schema is deployed so we are now green on ci.integration.
@timblair Any thoughts on @boffbowsh's comment about the json api?

Given that we'll catch up on the JSON routes work subsequently, I think this is great. 👍


Request for assistance with dataset access

Hello,
I hope this message finds you well. I wanted to express my appreciation for your work on the dataset.
I've encountered some issues while trying to access the data. The annotation download link (huggingface) seems to be inactive, and there might be a problem with the dataset on Kaggle.
If you could check on this when you have a moment, it would be very helpful.
Thanks in advance for your help.
Best,

+1

Hello,
I hope this message finds you well. I wanted to express my appreciation for your work on the dataset.
I've encountered some issues while trying to access the data. The annotation download link (huggingface) seems to be inactive, and there might be a problem with the dataset on Kaggle.
If you could check on this when you have a moment, it would be very helpful.
Thanks in advance for your help.
Best,

+1

Hello,
I hope this message finds you well. I wanted to express my appreciation for your work on the dataset.
I've encountered some issues while trying to access the data. The annotation download link (huggingface) seems to be inactive, and there might be a problem with the dataset on Kaggle.
If you could check on this when you have a moment, it would be very helpful.
Thanks in advance for your help.
Best,

I just retry to download the dataset from kaggle, on my side there is no problem downloading. Could you please provide more details of the errors you encountered?
To download the dataset correctly, you should press the download button on the top right shown in the screenshot below to ensure you download the whole dataset.

Hello, I am able to download the dataset from Kaggle without any issues. However, when I open the data:

All the images appear as black images.
The annotation count for coconut_b is only 117,378.

Could you please check if there is a problem with these aspects? Thank you!

Hello,
I hope this message finds you well. I wanted to express my appreciation for your work on the dataset.
I've encountered some issues while trying to access the data. The annotation download link (huggingface) seems to be inactive, and there might be a problem with the dataset on Kaggle.
If you could check on this when you have a moment, it would be very helpful.
Thanks in advance for your help.
Best,

I just retry to download the dataset from kaggle, on my side there is no problem downloading. Could you please provide more details of the errors you encountered?
To download the dataset correctly, you should press the download button on the top right shown in the screenshot below to ensure you download the whole dataset.

Hello, I am able to download the dataset from Kaggle without any issues. However, when I open the data:

All the images appear as black images.
The annotation count for coconut_b is only 117,378.

Could you please check if there is a problem with these aspects? Thank you!

Thanks for checking the data.

for the black images, they area panoptic masks with discrete continuous numbers required panopticapi for visualization.
the split size for coconut-b, is actually the the extra split size substract coconut-s, so I will update the script to merge the provided coconut-b and coconut-s to build the ready-to-use coconut-b. The other option will be directly upload the ready-to-use version. Sorry about that, I am working on this.

Hello,
I hope this message finds you well. I wanted to express my appreciation for your work on the dataset.
I've encountered some issues while trying to access the data. The annotation download link (huggingface) seems to be inactive, and there might be a problem with the dataset on Kaggle.
If you could check on this when you have a moment, it would be very helpful.
Thanks in advance for your help.
Best,

I just retry to download the dataset from kaggle, on my side there is no problem downloading. Could you please provide more details of the errors you encountered?
To download the dataset correctly, you should press the download button on the top right shown in the screenshot below to ensure you download the whole dataset.

Hello, I am able to download the dataset from Kaggle without any issues. However, when I open the data:

All the images appear as black images.
The annotation count for coconut_b is only 117,378.

Could you please check if there is a problem with these aspects? Thank you!

Thanks for checking the data.

for the black images, they are panoptic masks with discrete continuous numbers required panopticapi for visualization.
the split size for coconut-b, is actually the the extra split size subtract coconut-s, so I will update the script to merge the provided coconut-b and coconut-s to build the ready-to-use coconut-b in the paper. The other option will be directly upload the ready-to-use version. Sorry about that, I am working on this.

Thank you for your prompt response.
All of my questions have been answered, so I will close this issue.
Once again, thank you for creating the dataset.

Hello,
I hope this message finds you well. I wanted to express my appreciation for your work on the dataset.
I've encountered some issues while trying to access the data. The annotation download link (huggingface) seems to be inactive, and there might be a problem with the dataset on Kaggle.
If you could check on this when you have a moment, it would be very helpful.
Thanks in advance for your help.
Best,

I just retry to download the dataset from kaggle, on my side there is no problem downloading. Could you please provide more details of the errors you encountered?
To download the dataset correctly, you should press the download button on the top right shown in the screenshot below to ensure you download the whole dataset.

Hello, I am able to download the dataset from Kaggle without any issues. However, when I open the data:

All the images appear as black images.
The annotation count for coconut_b is only 117,378.

Could you please check if there is a problem with these aspects? Thank you!

Thanks for checking the data.

for the black images, they are panoptic masks with discrete continuous numbers required panopticapi for visualization.
the split size for coconut-b, is actually the the extra split size subtract coconut-s, so I will update the script to merge the provided coconut-b and coconut-s to build the ready-to-use coconut-b in the paper. The other option will be directly upload the ready-to-use version. Sorry about that, I am working on this.

Thank you for your prompt response. All of my questions have been answered, so I will close this issue. Once again, thank you for creating the dataset.

Hi, I've just updated the dataset where COCONut-B is ready to use once you download from Kaggle, please check this out.  Please feel free to leave your questions here.


Update pipeline descriptor

As a Pipeline Builder I want to be able to update pipeline descriptor which exists in the pipeline's Repository.
User Story implementation details:

The update of pipeline descriptor will affect only on new requests for this pipeline.
Upon reception of update pipeline request, HKube will perform the following validation checks:
2.1 Verify that there exists a pipeline descriptor with the name in the request.
2.2 Verify that all of the algorithms which are used in the pipeline descriptor are installed in the system.
If one of the validation checks will fail, HKube will response with error and appropriate error description.
If all the validation checks will pass, HKube will update the pipeline descriptor in the P.L repository.

TID 320


Failed to upgrade the cluster because of image repository

Sealos Version
4.3.7 to 5.0 rc 4
How to reproduce the bug?
I previously generated a Clusterfile, modified the svc pod network segment, node resource retention policy, closed kube-proxy, and ran a 1.27.7 cluster.
When using sealos v5.0rc4 to update the cluster, it failed because the foreign image could not be pulled.
Although you can pull the domestic image locally and modify the image name through tags.
But I can’t understand why the old cluster uses the image source sealos.hub, but when upgrading, kubeadm will use the original foreign image address.
Attempting to add imageRepository to the ClusterConfiguration fragment in .sealos/${clusterName}/Clusterfile to specify the image source failed to solve the problem. kubeadm fixedly selected foreign images.
After checking, there is no parameter to specify the image source in sealos run.
I think you can add this flag to specify the mirror source.
What is the expected behavior?
Use the default sealos.hub:5000 when upgrading
What do you see instead?
kubeadm pulls foreign images by default
Operating environment
- Sealos version: 4.3.7 upgrade to 5.0.0 rc4
- Kubernetes version: 1.27.7 to 1.28.8
- Operating system: openeuler 22.03

Additional information
No response

It may be that the upgrade function is incompatible because the kubeadm image repo addresses of versions 1.27 and 1.28 have changed.

fixed by #4721

/close


optimal-ovgu-thesis:0.1.0

I am submitting

[x] a new package
[ ] an update for a package

Description: This is a thesis template that can be used by students of the Otto von Guericke University Magdeburg.

I have read and followed the submission guidelines and, in particular, I

[x] selected a name that isn't the most obvious or canonical name for what the package does
[x] added a typst.toml file with all required keys
[x] added a README.md with documentation for my package
[x] have chosen a license and added a LICENSE file or linked one in my README.md
[x] tested my package locally on my system and it worked
[x] excluded PDFs or README images, if any, but not the LICENSE

[x] ensured that my package is licensed such that users can use and distribute the contents of its template directory without restriction, after modifying them through normal use.

Thanks :)


Shell integration doesn't work on windows w screen reader mode enabled

Discovered in #172149

/closedWith 3912d68fdf20b25c003600513e64f0f20210e5e3

Switched to feature to make sure it's mentioned in release notes

I can't get shell integration working in VS Code stable (I just copied my insiders settings, but no luck) to confirm that I see the original bug, but I toggled on screen reader accessibility mode with "Toggle Screen Reader Accessibility Mode" then opened a terminal. The terminal had shell integration ✅


Search icon sb on the right side of the text field

It's currently on the left. It should be on the right.

title of ticket should say "sb on the left side"?

It should be on the right. Sorry, I often confuse left/right! It's getting late.

@astridu is there an example template that shows this bug? From what I see all of the searchable templates open up a modal and I do not see the search icon inside a search box.

My first comment has a screenshot of what it looks like right now. The search icon is on the left hand side of the text field. It should be on the right hand side.

wouldn't it be easier for it to be on the left hand side, because we are now navigating via the left nav, so if it's on the left side it's nice because you're already over on the left

Was trying to standardize all the controls in text fields to be on the left (like diacritics and this search icon). It will also help with those who tab through using keyboard to have everything consistent, but if you feel strongly, I'm not opposed to it.

I defer to your reasoning re putting everything on the same side. Assuming you mean "on the right"?

OMG, yes, on the RIGHT!! I keep getting it confused!! lol

Still, I cannot find a template where it shows up as appears in your screenshot, on the left, right or anywhere within a search box.. Can someone help point me in the right direction?

https://sinopia.io/editor/ld4p:RT:bf2:Monograph:Work:Un-nested
field = Subject of the work
magnifying glass is currently on left

Oh, it does not look like the screenshot as there is no actual search field. So I think that this depends on #2551.

i think the point is to move the magnifying glass to the right? @astridu ??

Yes

I personally don't think that makes sense until there is a search box there.

Let's just leave at is, given that we are at the end of the work cycle.

There is no more magnifying glass. It's a Lookup button. So closing this.


[Wallet] Allow skipping verification if ODIS is down

Description
ODIS is down in Alfajores right now and when doing the onboarding the app is stuck on the verification screen because there is a permanent loading screen and the skip verification modal doesn't show up. I copied the modal so that it's shown even if the screen is loading.
Note: This is blocking the wallet e2e tests.
Tested
Manually and added a unit test.
Related issues

Fixes #5437

@annakaz

Is this modal always going to be shown, or just when ODIS is down? Also has the e2e Android test been updated to use this skip modal?

The modal is now duplicated, once for the loading screen and once for the normal screen. So the modal should show up no matter if the loading screen is showing or not. It pops up when someone taps on the Skip button on the header.
The e2e tests should have no difference, they tap on the skip button and then press on the confirm button on the modal.

Hi @gnardini can you please provide more details to verify this task.
And AFAIK the latest builds are Android play store internal build v1.3.0(1004294316) & Test Flight build v1.3.0(27) connected with Mainet,
So, can you please provide a build details which connect to Alfajore network to verify this task if we need to verify this task on Alfajore network.

Hi @Lss-Ankit
It is a difficult task to verify. The way I could find is to test is the following:

Restore an account that has funds. The screen after putting in the Account Key is the verification screen. If you try to press the "Skip" button while the screen is still loading, the confirmation modal should pop up.

The screen should look like this:

This is the modal that should pop up when pressing the "Skip" button:

The problem used to be that the popup didn't show up when loading. Now it should show up even if the screen is still loading.

Hi @gnardini Verified issue on latest Test flight build v1.3.0(27) and Android play store internal build v1.3.0(1004294316) and observed that user is able to tap on Skip button when loading indicator is shown on Confirm screen.
Verified devices:

Google pixel Xl (8.1) , iPhone SE 2 (14.1)


WIP: Initial code push

Add all the basics to deploy CoreDNS.

create.sh can be removed and it lacks meta/main.yml file


V16

@expln - Hopefully I captured the key points!

Hmm, I'm realizing I unintentionally didn't include some things.
I'll need to add them.
See email subject line "[Metamath] Metamath-lamp version 16 released".


Revamp build system

Require Python 3 interpreter, update build system to directly call the decomped python file, and fix the regex causing issues.

Should we delete Build.exe, and Build.txt_extracted from the repo, now that we have the python scripts themselves?

Should we delete Build.exe, and Build.txt_extracted from the repo, now that we have the python scripts themselves?

Yes! I will push with that change one second.


youtube-dl: 2019.09.12 -> 2<IP_ADDRESS>

Motivation for this change
Bugfix release for ytdl-org/youtube-dl#22372.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Notify maintainers
cc @

Backported in

19.09 c3f8f7965e1346226740a1c8bed108a40d0a3a07
19.03 b8dc8b413ed324bbf17540862656be7e940a20c5


withDefaultPasswordEncoder() is deprecated

The guide suggests the following:

But the method is deprecated:

Never mind, didn't see the 'but is acceptable for demos and getting started'. I still don't know how I feel about official guides teaching things that are only intended for samples


xNN New Features - UI/UX discussion / suggestions

Change the color of the Frame (input training data set) from black to turquoise - like the frame of the sensor data view.
Possibility to change the size of the window for entering training data (enlarge / reduce).
Possibility to set random numbers only for weights (and not for biases)

If you are in the "Neuronal Networks Define" tab, the pop-up training data window should remain open as you enter the input data layer by layer.
It could be very helpful to show the formulas (or the methodes?) used for the calculation of the training loss and for the calculation of the edge weights + bias?

It could be very helpful if you could easily record sensor data and then use it as training data. This could be done via an extra block in the NEPO programme, for example. You could make settings here,

which sensor
Data rate (i.e. every second)
Type of data (raw data, ...)

Labelling the axes - for the training lock graphic


X9.24-3-2017 book

can you please share me this book?

For legal reasons it is forbidden to share it, you must buy it yourself or your company


Add easy access Tshirt sizing options

The CI failure can be fixed by merging master to tshirt-sizing first, but I'm pretty confident that it should succeed, so we may just complete this PR anyway.


Why do you require isolation?

In the init section it uses this
TransactionIsolation.apply_activerecord_patch
But there is no call of isolation() in the code.
Why is that needed?

That other gem does some except rewriting, and this one depends on the ActiveRecord::TransactionIsolationConflict exception, rather than the collection of other exceptions it wraps: https://github.com/qertoip/transaction_retry/blob/0cd0491a5ef2a8e1864522bb2760536da039cb55/lib/transaction_retry/active_record/base.rb#L33


Start work on global permissions; previous username/IP caching

Please only one change per PR :smile:


Integration not found in HACS

Describe the bug
I am trying to install the Integration to my Home Assistant but it is not found in HACS (V 1.33.0).
I am not firm enough to try a manual installation.
Your environment
HomeAssistant version: 2023.10.1
Hassio Version (if applicable): 10.5
Hardware environment: Raspberry PI 3B+ connected via LAN.

Weird...I'll take a look at the issue but I have no notice it was withdrawn recently ;)

Please let me know, if you need any information.
Your Integration is not the only one I have this problem with... I also tried meross-homeassist, I got the same issue there.
Other addons I can see in the HACS Store, so it's not an issue that I cannot retrieve anything via HACS.

I've checked the official HACS default repositories list and meross_lan is still there.
Looking at your snapshot I can't reproduce the same UI layout so I don't really know which search feature you are using (I'm testing on HACS 1.33 - HA 2023.9.3). In my setup, after entering the main HACS page, I go to 'Integrations' and then hit the 'Explore & Download repositories' button floating in the lower right corner of the UI...

Hi @pc-bastler, think posting also your HACS configuration could help, you can get it from HA integrations page.

@krahabb I just found this which is very odd! https://github.com/hacs/integration/issues/3325
Not sure why someone was requesting the removal of your integration, but looks like it was denied anyway.

@garysargentpersonal I don't think this is the reason, cause most of us can see the repo, and the request above was denied.

Go to Settings > Devices & services > HACS > Configuration > Filter with country code = select ALL


Added missing error checks in tests

Whenever we assign a value to err, check for it being nil.

Codecov Report

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

@@           Coverage Diff           @@
##           master    #7554   +/-   ##
=======================================
  Coverage   41.25%   41.25%
=======================================
  Files         469      469
  Lines       63620    63620
=======================================
  Hits        26244    26244
+ Misses      33955    33953    -2
- Partials     3421     3423    +2

Impacted Files
Coverage Δ

modules/process/manager.go
76.81% <0%> (-4.35%)
:arrow_down:

models/gpg_key.go
55.83% <0%> (-0.84%)
:arrow_down:

routers/repo/view.go
43.25% <0%> (+1.01%)
:arrow_up:

modules/log/event.go
65.64% <0%> (+1.02%)
:arrow_up:

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 cc384d7...e37c79a. Read the comment docs.


Add the ability to delete video on test success

It would be great, to avoid having too much data, to have to ability to have a checkbox in Jenkins (that could be parametrized in the xml file of a Carina project) that would register videos, but delete them when the test has passed.
It can be done manually by the user, but I always feel that it is a little bit risky to delete data that Zebrunner uses without knowing exactly how the data communicates in the Docker container.

cleanup.zip
let's review and provide ability to clean all kind of historical data

closing as won't fix because simple removal might be done manually. good one should include sync in reporting db which is not so simple...