Two factor authentication fails after 2.106.0

New Regression Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Regression Information

Breaking version: 2.106.0
Last working version: 2.105.2

Regression Description

I can 2-fa login to App Store connect with the session cookie generated by fastlane spaceauth 2.105.2, but
failed after 2.106.0 ( https://github.com/fastlane/fastlane/pull/13442 ).
Complete output when running fastlane, including the stack trace and command used

$ bundle exec fastlane ios beta
Sending anonymous analytics information
Learn more at https://docs.fastlane.tools/#metrics
No personal or sensitive data is sent.
You can disable this by adding `opt_out_usage` at the top of your Fastfile
+-------------------+------------------------------------+
|            Summary for Setup Jenkins Action            |
+-------------------+------------------------------------+
| output_directory  | /sd/Slave/output       |
| derived_data_path | /sd/Slave/derived_data |
| result_bundle     | false                              |
+-------------------+------------------------------------+
Set output directory path to: "/sd/Slave/output".
Set derived data path to: "/sd/Slave/derived_data".
$ cp adep_profiles/profiles_uuid/*.mobileprovision ~/Library/MobileDevice/Provisioning\ Profiles
$ rm -rf adep_profiles
--- Step: Verifying fastlane version ---
Your fastlane version 2.107.0 matches the minimum requirement of 2.102.0  ✅
--- Step: default_platform ---
Driving the lane 'ios beta' 🚀
--- Step: xcode_select ---
Setting Xcode version to /Applications/Xcode/Xcode_10.app for all build steps
Init simulators ...
--- Step: cocoapods ---
$ bundle exec pod install
▸ Analyzing dependencies
▸ Downloading dependencies
▸ Generating Pods project
▸ Integrating client project
▸ Sending stats
▸ Pod installation complete! There are 0 dependencies from the Podfile and 0 total pods installed.
▸ [!] The Podfile does not contain any dependencies.
▸ [!] Automatically assigning platform ios with version 9.3 on target FastlaneSample3 because no platform was specified. Please specify a platform for this target in your Podfile. See https://guides.cocoapods.org/syntax/podfile.html#platform.
▸ [!] Automatically assigning platform ios with version 9.3 on target FastlaneSample3Tests because no platform was specified. Please specify a platform for this target in your Podfile. See https://guides.cocoapods.org/syntax/podfile.html#platform.
▸ [!] Automatically assigning platform ios with version 9.3 on target FastlaneSample3UITests because no platform was specified. Please specify a platform for this target in your Podfile. See https://guides.cocoapods.org/syntax/podfile.html#platform.
▸ [!] Automatically assigning platform watchos with version 3.0 on target Watch because no platform was specified. Please specify a platform for this target in your Podfile. See https://guides.cocoapods.org/syntax/podfile.html#platform.
▸ [!] Automatically assigning platform watchos with version 3.0 on target Watch Extension because no platform was specified. Please specify a platform for this target in your Podfile. See https://guides.cocoapods.org/syntax/podfile.html#platform.
--- Step: dragon_carthage_cache ---
Generating .carthage_cache.yml file...
Checking Dragon for matching Carthage cache...
Downloading Carthage cache from Dragon...
$ cd /tmp && carthage_cache install '/Users/Shared/Jenkins/workspace/src/FastlaneSample3'
▸ Downloading archive with key '/sd/Slave/Library/Caches/carthage_cache/d397827ac5c12fbb2143fdfbe285e3a3235a6f8a9a8470071fd9c88df3c65fcd.zip'.
▸ Unarchiving '/sd/Slave/Library/Caches/carthage_cache/d397827ac5c12fbb2143fdfbe285e3a3235a6f8a9a8470071fd9c88df3c65fcd.zip' into '/Users/Shared/Jenkins/workspace/src/FastlaneSample3/Carthage/Build'.
--- Step: get_version_number ---

--- Step: latest_testflight_build_number ---
Login to App Store Connect<EMAIL_ADDRESS>Two Factor Authentication for account<EMAIL_ADDRESS>is enabled
Your session cookie has been expired.
Please enter the 6 digit code:
--- Step: upload_reports ---
+---------------------------+---------------------------------------------------------------+
|                                       mLane Context                                        |
+---------------------------+---------------------------------------------------------------+
| ORIGINAL_DEFAULT_KEYCHAIN | "/sd/Slave/Library/Keychains/ci-keychain-default" |
| DEFAULT_PLATFORM          | ios                                                           |
| PLATFORM_NAME             | ios                                                           |
| LANE_NAME                 | ios beta                                                      |
| VERSION_NUMBER            | 1.0                                                           |
+---------------------------+---------------------------------------------------------------+
+------+--------------------------------+-------------+
|                  fastlane summary                   |
+------+--------------------------------+-------------+
| Step | Action                         | Time (in s) |
+------+--------------------------------+-------------+
| 1    | import_from_git                | 0           |
| 2    | import_from_git                | 5           |
| 3    | Verifying fastlane version     | 0           |
| 4    | default_platform               | 0           |
| 5    | xcode_select                   | 0           |
| 6    | cocoapods                      | 4           |
| 7    | dragon_carthage_cache          | 2           |
| 8    | get_version_number             | 0           |
| 💥   | latest_testflight_build_number | 1           |
| 10   | upload_reports                 | 0           |
+------+--------------------------------+-------------+
fastlane finished with errors
Looking for related GitHub issues on fastlane/fastlane...
➡  mFastlane match template_name
https://github.com/fastlane/fastlane/issues/11881 [closed] 6 💬
22 May 2018
➡  mgym xcargs build-for-testing not working on scan xctestrun
https://github.com/fastlane/fastlane/issues/10471 [closed] 3 💬
24 Jan 2018
➡  msupported_platforms': [!] undefined method split' for nil:NilClass (NoMethodError)
https://github.com/fastlane/fastlane/issues/7141 [closed] 43 💬
07 Mar 2017
🔗  You can ⌘ + double-click on links to open them directly in your browser.
mbundler: failed to load command: fastlane (/Users/Shared/Jenkins/workspace/src/FastlaneSample3/.vendor/bundle/ruby/2.5.0/bin/fastlane)
NoMethodError: m[!] undefined method strip' for nil:NilClass Did you mean?  String Did you mean?  String   /Users/Shared/Jenkins/workspace/src/FastlaneSample3/.vendor/bundle/ruby/2.5.0/gems/highline-1.7.10/lib/highline/question.rb:413:in remove_whitespace'
/Users/Shared/Jenkins/workspace/src/FastlaneSample3/.vendor/bundle/ruby/2.5.0/gems/highline-1.7.10/lib/highline.rb:873:in get_line'   /Users/Shared/Jenkins/workspace/src/FastlaneSample3/.vendor/bundle/ruby/2.5.0/gems/highline-1.7.10/lib/highline.rb:891:in get_response'
/Users/Shared/Jenkins/workspace/src/FastlaneSample3/.vendor/bundle/ruby/2.5.0/gems/highline-1.7.10/lib/highline.rb:264:in ask'   /Users/Shared/Jenkins/workspace/src/FastlaneSample3/.vendor/bundle/ruby/2.5.0/gems/fastlane-2.107.0/spaceship/lib/spaceship/two_step_client.rb:67:in handle_two_factor'
/Users/Shared/Jenkins/workspace/src/FastlaneSample3/.vendor/bundle/ruby/2.5.0/gems/fastlane-2.107.0/spaceship/lib/spaceship/two_step_client.rb:43:in handle_two_step'   /Users/Shared/Jenkins/workspace/src/FastlaneSample3/.vendor/bundle/ruby/2.5.0/gems/fastlane-2.107.0/spaceship/lib/spaceship/client.rb:463:in send_shared_login_request'
/Users/Shared/Jenkins/workspace/src/FastlaneSample3/.vendor/bundle/ruby/2.5.0/gems/fastlane-2.107.0/spaceship/lib/spaceship/tunes/tunes_client.rb:124:in send_login_request'   /Users/Shared/Jenkins/workspace/src/FastlaneSample3/.vendor/bundle/ruby/2.5.0/gems/fastlane-2.107.0/spaceship/lib/spaceship/client.rb:667:in do_login'
/Users/Shared/Jenkins/workspace/src/FastlaneSample3/.vendor/bundle/ruby/2.5.0/gems/fastlane-2.107.0/spaceship/lib/spaceship/client.rb:363:in login'   /Users/Shared/Jenkins/workspace/src/FastlaneSample3/.vendor/bundle/ruby/2.5.0/gems/fastlane-2.107.0/spaceship/lib/spaceship/client.rb:71:in login'
/Users/Shared/Jenkins/workspace/src/FastlaneSample3/.vendor/bundle/ruby/2.5.0/gems/fastlane-2.107.0/spaceship/lib/spaceship/tunes/spaceship.rb:24:in login'   /Users/Shared/Jenkins/workspace/src/FastlaneSample3/.vendor/bundle/ruby/2.5.0/gems/fastlane-2.107.0/fastlane/lib/fastlane/actions/app_store_build_number.rb:23:in get_build_number'
/Users/Shared/Jenkins/workspace/src/FastlaneSample3/.vendor/bundle/ruby/2.5.0/gems/fastlane-2.107.0/fastlane/lib/fastlane/actions/app_store_build_number.rb:11:in run'   /Users/Shared/Jenkins/workspace/src/FastlaneSample3/.vendor/bundle/ruby/2.5.0/gems/fastlane-2.107.0/fastlane/lib/fastlane/actions/latest_testflight_build_number.rb:11:in run'
/Users/Shared/Jenkins/workspace/src/FastlaneSample3/.vendor/bundle/ruby/2.5.0/gems/fastlane-2.107.0/fastlane/lib/fastlane/runner.rb:253:in block (2 levels) in execute_action'   /Users/Shared/Jenkins/workspace/src/FastlaneSample3/.vendor/bundle/ruby/2.5.0/gems/fastlane-2.107.0/fastlane/lib/fastlane/actions/actions_helper.rb:50:in execute_action'
/Users/Shared/Jenkins/workspace/src/FastlaneSample3/.vendor/bundle/ruby/2.5.0/gems/fastlane-2.107.0/fastlane/lib/fastlane/runner.rb:232:in block in execute_action'   /Users/Shared/Jenkins/workspace/src/FastlaneSample3/.vendor/bundle/ruby/2.5.0/gems/fastlane-2.107.0/fastlane/lib/fastlane/runner.rb:227:in chdir'
/Users/Shared/Jenkins/workspace/src/FastlaneSample3/.vendor/bundle/ruby/2.5.0/gems/fastlane-2.107.0/fastlane/lib/fastlane/runner.rb:227:in execute_action'   /Users/Shared/Jenkins/workspace/src/FastlaneSample3/.vendor/bundle/ruby/2.5.0/gems/fastlane-2.107.0/fastlane/lib/fastlane/runner.rb:157:in trigger_action_by_name'
/Users/Shared/Jenkins/workspace/src/FastlaneSample3/.vendor/bundle/ruby/2.5.0/gems/fastlane-2.107.0/fastlane/lib/fastlane/fast_file.rb:149:in method_missing'   Fastfile:61:in block (2 levels) in parsing_binding'
/Users/Shared/Jenkins/workspace/src/FastlaneSample3/.vendor/bundle/ruby/2.5.0/gems/fastlane-2.107.0/fastlane/lib/fastlane/lane.rb:33:in call'   /Users/Shared/Jenkins/workspace/src/FastlaneSample3/.vendor/bundle/ruby/2.5.0/gems/fastlane-2.107.0/fastlane/lib/fastlane/runner.rb:49:in block in execute'
/Users/Shared/Jenkins/workspace/src/FastlaneSample3/.vendor/bundle/ruby/2.5.0/gems/fastlane-2.107.0/fastlane/lib/fastlane/runner.rb:45:in chdir'   /Users/Shared/Jenkins/workspace/src/FastlaneSample3/.vendor/bundle/ruby/2.5.0/gems/fastlane-2.107.0/fastlane/lib/fastlane/runner.rb:45:in execute'
/Users/Shared/Jenkins/workspace/src/FastlaneSample3/.vendor/bundle/ruby/2.5.0/gems/fastlane-2.107.0/fastlane/lib/fastlane/lane_manager.rb:56:in cruise_lane'   /Users/Shared/Jenkins/workspace/src/FastlaneSample3/.vendor/bundle/ruby/2.5.0/gems/fastlane-2.107.0/fastlane/lib/fastlane/command_line_handler.rb:36:in handle'
/Users/Shared/Jenkins/workspace/src/FastlaneSample3/.vendor/bundle/ruby/2.5.0/gems/fastlane-2.107.0/fastlane/lib/fastlane/commands_generator.rb:108:in block (2 levels) in run'   /Users/Shared/Jenkins/workspace/src/FastlaneSample3/.vendor/bundle/ruby/2.5.0/gems/commander-4.4.6/lib/commander/command.rb:182:in call'
/Users/Shared/Jenkins/workspace/src/FastlaneSample3/.vendor/bundle/ruby/2.5.0/gems/commander-4.4.6/lib/commander/command.rb:153:in run'   /Users/Shared/Jenkins/workspace/src/FastlaneSample3/.vendor/bundle/ruby/2.5.0/gems/commander-4.4.6/lib/commander/runner.rb:446:in run_active_command'
/Users/Shared/Jenkins/workspace/src/FastlaneSample3/.vendor/bundle/ruby/2.5.0/gems/fastlane-2.107.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:76:in run!'   /Users/Shared/Jenkins/workspace/src/FastlaneSample3/.vendor/bundle/ruby/2.5.0/gems/commander-4.4.6/lib/commander/delegates.rb:15:in run!'
/Users/Shared/Jenkins/workspace/src/FastlaneSample3/.vendor/bundle/ruby/2.5.0/gems/fastlane-2.107.0/fastlane/lib/fastlane/commands_generator.rb:333:in run'   /Users/Shared/Jenkins/workspace/src/FastlaneSample3/.vendor/bundle/ruby/2.5.0/gems/fastlane-2.107.0/fastlane/lib/fastlane/commands_generator.rb:41:in start'
/Users/Shared/Jenkins/workspace/src/FastlaneSample3/.vendor/bundle/ruby/2.5.0/gems/fastlane-2.107.0/fastlane/lib/fastlane/cli_tools_distributor.rb:108:in take_off'   /Users/Shared/Jenkins/workspace/src/FastlaneSample3/.vendor/bundle/ruby/2.5.0/gems/fastlane-2.107.0/bin/fastlane:23:in <top (required)>'
/Users/Shared/Jenkins/workspace/src/FastlaneSample3/.vendor/bundle/ruby/2.5.0/bin/fastlane:23:in load'   /Users/Shared/Jenkins/workspace/src/FastlaneSample3/.vendor/bundle/ruby/2.5.0/bin/fastlane:23:in <top (required)>'

Environment

🚫 fastlane environment 🚫
Stack

Key
Value

OS
10.14

Ruby
2.5.1

Bundler?
true

Git
git version 2.19.0

Installation Source
~/.ghq/FastlaneSample3/vendor/bundle/ruby/2.5.0/bin/fastlane

Host
Mac OS X 10.14 (18A391)

Ruby Lib Dir
~/.anyenv/envs/rbenv/versions/2.5.1/lib

OpenSSL Version
OpenSSL 1.0.2p  14 Aug 2018

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
10.0

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL

🚫

LANGUAGE

fastlane files:
`./fastlane/Fastfile`
fastlane_version "2.102.0"
default_platform :ios

platform :ios do
  scheme = "FastlaneSample3"
  workspace = "FastlaneSample3.xcworkspace"
  proj = "FastlaneSample3.xcodeproj"

  before_all do
    xcode_select ENV['XCODE_10_0'] if ENV['CI']

    cocoapods
  end

  desc "Submit a new Beta Build to Apple TestFlight"
  desc "This will also make sure the profile is up to date"
  lane :beta do
    target_version = get_version_number(xcodeproj: proj, target: "FastlaneSample3")
    latest_number = latest_testflight_build_number(version: target_version)
    increment_build_number(
      build_number: latest_number + 1
    )

    build_app(
      scheme: scheme,
      configuration: "Release",
      export_method: 'app-store'
    )

    pilot(skip_waiting_for_build_processing: true)
  end
end

`./fastlane/Appfile`
apple_id<EMAIL_ADDRESS>app_identifier "jp.co.my-app-dev.FastlaneSample3"
team_id = "XJP2NR4B5X"

[:beta, :release].each do |lane_name|
  for_lane lane_name do
    apple_id<EMAIL_ADDRESS>    app_identifier "jp.co.my-app-dev.FastlaneSample3.prod"
  end
end

fastlane gems

Gem
Version
Update-Status

fastlane
2.107.0
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

did_you_mean
1.2.0

bundler
1.16.5

CFPropertyList
2.3.6

concurrent-ruby
1.0.5

i18n
0.9.5

minitest
5.11.3

thread_safe
0.3.6

tzinfo
1.2.5

activesupport
4.2.10

public_suffix
2.0.5

addressable
2.5.2

curb
0.9.6

fastimage
2.1.4

babosa
1.0.2

colored
1.2

highline
1.7.10

commander-fastlane
4.4.6

dotenv
2.5.0

emoji_regex
0.1.1

excon
0.62.0

multipart-post
2.0.0

faraday
0.15.3

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20180417

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

faraday_middleware
0.12.2

gh_inspector
1.1.3

jwt
2.1.0

memoist
0.16.0

multi_json
1.13.1

os
1.0.0

signet
0.11.0

googleauth
0.6.7

httpclient
2.8.3

mime-types-data
3.2018.0812

mime-types
3.2.2

declarative
0.0.10

declarative-option
0.1.0

uber
0.1.0

representable
3.0.4

retriable
3.1.2

google-api-client
0.23.9

json
2.1.0

mini_magick
4.5.1

multi_xml
0.6.0

plist
3.4.0

rubyzip
1.2.2

security
0.1.3

naturally
2.2.0

simctl
1.6.5

slack-notifier
2.3.2

terminal-notifier
1.8.0

unicode-display_width
1.4.0

terminal-table
1.8.0

tty-screen
0.6.5

tty-cursor
0.6.0

tty-spinner
0.8.0

word_wrap
1.0.0

atomos
0.1.3

claide
1.0.2

colored2
3.1.2

nanaimo
0.2.6

xcodeproj
1.7.0

rouge
2.0.7

xcpretty
0.3.0

xcpretty-travis-formatter
1.0.0

badge
0.9.1

aws-sigv4
1.0.3

jmespath
1.4.0

aws-sdk-core
2.11.157

aws-sdk-resources
2.11.157

aws-sdk
2.11.157

commander
4.4.6

carthage_cache
0.9.1

git_diff_parser
2.3.0

thor
0.20.0

checkstyle_filter-git
1.1.0

fastlane-plugin-badge
1.1.0

fastlane-plugin-carthage_cache
0.1.1

trainer
0.8.0

fastlane-plugin-trainer
0.4.0

saddler-reporter-text
1.0.0

saddler
1.0.0

natural_number_string
1.0.1

env_pull_request
1.1.0

sawyer
0.8.1

octokit
4.13.0

nori
2.6.0

saddler-reporter-support
1.0.0

env_branch
1.3.0

git
1.5.0

uri-ssh_git
2.0.0

git_clone_url
2.0.0

saddler-reporter-support-git
2.0.1

saddler-reporter-github
2.0.0

xcode-install
2.4.4

clamp
0.6.5

fuzzy_match
2.0.4

nap
1.1.0

cocoapods-core
1.5.3

cocoapods-deintegrate
1.0.2

cocoapods-downloader
1.2.1

cocoapods-plugins
1.0.0

cocoapods-search
1.0.0

cocoapods-stats
1.0.0

netrc
0.11.0

cocoapods-trunk
1.3.1

cocoapods-try
1.1.0

escape
0.0.4

fourflusher
2.0.1

molinillo
0.6.6

ruby-macho
1.2.0

cocoapods
1.5.3

mini_portile2
2.3.0

nokogiri
1.8.4

slather
2.4.6

generated on: 2018-10-29

Any update on this?

I run fastlane with terminal is OK. but with Jenkins error with "Two factor authentication fails"

@taisukeh Heyyy 👋 I've been trying to replicate this issue for a while now I'm not having any luck 😕 Here is what I did to try to replicate:

Install fastlane version 2.105.2
rm -rf ~/fastlane/spaceship/<my_email>

To make sure I didn't have any other sessions from any other verions

Ran a lane that accessed my App Store Connect account (I used lastest_testflight_build_number)

Got a success
Got a cookie generated with 2.105.2 in ~/fastlane/spaceship/<my_email>

Switched to latest fastlane version 2.107.0
Ran a lane that accessed my App Store Connect account (I used lastest_testflight_build_number)

Got a success with cookie generated in 2.105.2

Possible coincidence in timing with upgrade and expired cookie?
It looks like in your output that it shows your cookie has expired - Your session cookie has been expired. Have you tried running rm -rf ~/fastlane/spaceship/<my_email> to re-authenticating with 2FA to see if this works?
I was not able to get that same Your session cookie has been expired. from my tests so maybe your cookie actually did expired? Do you know how long you have been using that cookie?
Sorry about not being able to help right away on this 😔 I will keep this tab open though to wait for your response to see if we can find either a solution to help you or a solution to help me replicate this 💪

@joshdholtz  Thanks for your review.
I face the similar problem as taisukeh.
I am troubled in Two factor authentication, I do as spaceship. I set FASTLANE_SESSION to EVN with Jenkins , but it always tell me:

Two Factor Authentication for account<EMAIL_ADDRESS>is enabled
Your session cookie has been expired.
Please enter the 6 digit code: +------------------+-------------+

Here is my fastlane config:
 lane :release do

        ENV["FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD"]= "lnjm-qvjy-wbsl-rscp"

 	 get_certificates
	 get_provisioning_profile(app_identifier: "com.worktile.lesschat")
	 get_provisioning_profile(app_identifier: "com.worktile.lesschat.shareextension")

   scheme_name = "Worktile"
   configuration = 'Release'
   output_directory = File.expand_path("..", Dir.pwd) + File::Separator + 'build'

	 gym(
		clean: true,
	 	scheme: scheme_name,
                export_method: "app-store",
                configuration: configuration,
                output_directory: output_directory
	 )
   upload_to_testflight(skip_waiting_for_build_processing: true)

Here is my cookie:
---
- !ruby/object:HTTP::Cookie
  name: aa
  value: 18AAF1782FBF2672840791A095F17F81
  domain: idmsa.apple.com
  for_domain: true
  path: "/"
  secure: true
  httponly: true
  expires:
  max_age:
  created_at: &1 2018-11-05 11:31:35.595067000 +08:00
  accessed_at: *1
- !ruby/object:HTTP::Cookie
  name: DES5b4a2f8442ef42444908e42ce98f7db9e
  value: HSARMTKNSRVTWFlaNbjg2EdWXEWMBg83pz3DU+hBca4qBkVyQq1UNTNnQgvj+1fKAnzSkmItYi1bvi+eYpgG9URX+5Exx8ljSE/CgxXalN/0JK7xNdvFtpeQk03ymlhZ7A==SRVT
  domain: idmsa.apple.com
  for_domain: true
  path: "/"
  secure: true
  httponly: true
  expires:
  max_age: 2592000
  created_at: 2018-10-26 15:12:29.409003000 +08:00
  accessed_at: 2018-11-05 11:31:33.497082000 +08:00
- !ruby/object:HTTP::Cookie
  name: dslang
  value: US-EN
  domain: apple.com
  for_domain: true
  path: "/"
  secure: true
  httponly: true
  expires:
  max_age:
  created_at: 2018-11-05 11:31:35.595228000 +08:00
  accessed_at: &2 2018-11-05 11:31:35.596738000 +08:00
- !ruby/object:HTTP::Cookie
  name: site
  value: USA
  domain: apple.com
  for_domain: true
  path: "/"
  secure: true
  httponly: true
  expires:
  max_age:
  created_at: 2018-11-05 11:31:35.595443000 +08:00
  accessed_at: *2
- !ruby/object:HTTP::Cookie
  name: acn01
  value: fda3WLFen1KEvQflA2opXceQ8X633G6aABs3sc1afEo=
  domain: apple.com
  for_domain: true
  path: "/"
  secure: true
  httponly: true
  expires:
  max_age: 31536000
  created_at: 2018-11-05 11:31:35.595784000 +08:00
  accessed_at: *2
- !ruby/object:HTTP::Cookie
  name: myacinfo
  value: DAWTKNV2d491610eba13941c051d772f9a3f9687cc35706e397d885f26e70633b1db1f391c68b18e37fe26d8036a4230637670d6445678482531dc13bf2b7c444d453348c74334f55bffb2d17d071891fda4794820d3fd6ac2f4291cb8f5380865dca3491661d54f0380a126248de576108ab4147f9b6be7f2cd5a7d6df37ef18d4689dbef39b54a0fa998fb1e4e2e9dffb4cd3e30ef77529fc8283aedc1460e70012eb97ff1202f18880a5dc144a5429f3cd0b39d79406c1c24df03ce813dca3a8db2924360b3a9bceeb84f40e88750aafe643058d9bb8aa5a77108c55f21563b152b77bd051ff6375ba6b406e876d58312870363643930316238393261386164633963633562653830323635393035326463333039663465306464MVRYV2
  domain: apple.com
  for_domain: true
  path: "/"
  secure: true
  httponly: true
  expires:
  max_age:
  created_at: 2018-11-05 11:31:35.595991000 +08:00
  accessed_at: *2
- !ruby/object:HTTP::Cookie
  name: itctx
  value: eyJjcCI6MjE5MDcyOSwiZHMiOjgwNDM4NDc3NTQsImV4IjoiMjAxOC0xMS01IDExOjMxOjM2In0|ns7ulm66e4568u9a1ji7vrqns0|54uc0eh_h3AAbx7nK6NLB55s8Bk
  domain: apple.com
  for_domain: true
  path: "/"
  secure: true
  httponly: true
  expires:
  max_age:
  created_at: &3 2018-11-05 11:31:36.577430000 +08:00
  accessed_at: *3
- !ruby/object:HTTP::Cookie
  name: itcdq
  value: '0'
  domain: apple.com
  for_domain: true
  path: "/"
  secure: true
  httponly: false
  expires:
  max_age:
  created_at: 2018-10-31 12:25:51.303721000 +08:00
  accessed_at: *2
- !ruby/object:HTTP::Cookie
  name: dc
  value: "-1"
  domain: itunes.apple.com
  for_domain: true
  path: "/"
  secure: false
  httponly: false
  expires:
  max_age: 3600
  created_at: &4 2018-11-05 11:31:36.577212000 +08:00
  accessed_at: *4
- !ruby/object:HTTP::Cookie
  name: dqsid
  value: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiJ0QVVHQVpHZnJmX09CTlN2WmVGdzhnIn0.YCp4t09azYSBMoLD05b2RD3mKEpTyWUwA4IH6PNlqds
  domain: olympus.itunes.apple.com
  for_domain: false
  path: "/"
  secure: true
  httponly: true
  expires:
  max_age: 1800
  created_at: &5 2018-11-05 11:31:36.577025000 +08:00
  accessed_at: *5

I don't know where I should to set. another? so sad.
THANKS.

I could reproduce this problem  in the following steps.

Install fastlane version 2.107.0
rm -rf ~/.fastlane/spaceship/
bundle exec fastlane spaceauth -u <my-email>
export export FASTLANE_SESSION=...
rm -rf ~/.fastlane/spaceship/

Remove cache generated by spaceauth

Ran a lane that accessed my App Store Connect account (I used lastest_testflight_build_number)

Got a failure

I suspect  this problem is FASTLANE_SESSION value affected by https://github.com/fastlane/fastlane/pull/13442.
With 2.105.2, got a success.

Install fastlane version 2.105.2
rm -rf ~/.fastlane/spaceship/
bundle exec fastlane spaceauth -u <my-email>
export export FASTLANE_SESSION=...
rm -rf ~/.fastlane/spaceship/

Remove cache generated by spaceauth

Ran a lane that accessed my App Store Connect account (I used lastest_testflight_build_number)

Got a success

Thanks for helping out in this issue 🙇

Same problem here. Confirmed that login with FASTLANE_SESSION worked on 2.105.2 but fails on 2.107.0, following the steps outlined by @taisukeh.

@jarrodparkes  Thanks for your response.
I do test as you reply follow @taisukeh  :

Install fastlane version 2.108.0
rm -rf ~/.fastlane/spaceship/
bundle exec fastlane spaceauth -u
export FASTLANE_SESSION=...
rm -rf ~/.fastlane/spaceship/
Remove cache generated by spaceauth
Ran a lane that accessed my App Store Connect account in CI (I used lastest_testflight_build_number)
Got a failure

These EVN I should set in CI FASTLANE_PASSWORD, FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD , FASTLANE_SESSION , but also failed with print
Starting login with user<EMAIL_ADDRESS>Two Factor Authentication for account 'xxx@ email.com' is enabled
Your session cookie has been expired.
Please enter the 6 digit code: +------------------+-------------+

And there is a 6 digit code in my device, but I can't input with CI.
All is good in local, but failed with CI(Jenkins).

@yuanjilee when you generated the FASTLANE_SESSION, what version of fastlane was running? based on your list of items, you would have been using v2.108.0. you should uninstall that version, and run v2.105.2 like @taisukeh recommended.
TL;DR - make sure you generate the FASTLANE_SESSION with fastlane v2.105.2

I rolled back Fastlane and regenerated the cookie with 2.105.2, but am now running into this error when running match. I've triple checked the FASTLANE_SESSION variable on BitRise. Anyone else still have problems? ```
INFO [2018-11-12 09:03:52.07]: Verifying that the certificate and profile are still valid on the Dev Portal...
Loading session from environment variable
Error loading session from environment
Make sure to pass the session in a valid format

Fixed by taking the entire output of ~/.fastlane/spaceship/[REDACTED]/cookie, replacing the newlines with \n and shoving it all into the FASTLANE_SESSION variable on bitrise.


Don't store classes in intermediate variables

Consider the following examples:
Flow example
Libraries/Animated/src/nodes/AnimatedValue.js.flow
declare class AnimatedValue {}
declare module.exports: typeof AnimatedValue;

Libraries/Animated/src/AnimatedMock.js.flow
declare var AnimatedValue: typeof $7;
const $7 = require("./nodes/AnimatedValue");

declare var someFunction: (
  value: AnimatedValue,
) => void;

Correct TypeScript conversion
Libraries/Animated/src/nodes/AnimatedValue.d.ts
declare class AnimatedValue {}
default export AnimatedValue;

Libraries/Animated/src/AnimatedMock.d.ts
import AnimatedValue from "./nodes/AnimatedValue";

declare var someFunction: (
  value: AnimatedValue,
) => void;

Fixed by doing resolving and deleting intermediate variables


File Target Query Logs

This update has been moved to https://github.com/kubecost/cost-model/pull/553


Optimized handling of scheduled collections for update and removal.

Q
A

Type
feature/improvement

BC Break
no

Fixed issues

Summary
Was updated handling of scheduled collections for update and delete. Added to CollectionPersister methods deleteAll and updateAll. In added methods query "per-collection" replaced on query "per-parent" where it is was possible.
I added tests only for deleteAll method of CollectionPersister. Functional tests is covers updateAll method. Should I also add separate functional tests for deleteAll method?

@watari: This looks like it incorporates all of #1880 and adds updateAll. We would like to target any new functionality to the master branch, and then manually backport it to 1.3 after the fact. This isn't a candidate for 1.2 because it's introducing new public API to CollectionPersister.
Can you please revise/rebase this PR so it targets the master branch? And then consider closing #1880 if it is indeed redundant.

@jmikola, there is discussion about this PR in Gitter.
In short, I implemented it in 1.2.x branch since I have project that use this version of ODM and can perform tests in it. So it is faster for me to make changes. Also my project will use my fork with branch 1.x or  your 1.3 (when it will be released) before 2.x will become stable.
When @alcaeus take a look at this PR and confirm that it can be used also for 2.x I will update https://github.com/doctrine/mongodb-odm/pull/1880 to reflect same changes (DocumentPersister and CollectionPersister is same in both branches).
I can revise/rebase PR for 1.3.x branch. this PR and https://github.com/doctrine/mongodb-odm/pull/1880 was intended provide same updates for different branches.

Close this PR. Proposed changes will be moved to PR https://github.com/doctrine/mongodb-odm/pull/1882 (for master).


has a ding now

the ding should only happen if certain tags happen.  this would be very annoying otherwise

now supports the 'ding' tag

@jgallen23:
-dings on 'error' by default
-lets you optionally pass in a list of tags that will trigger a ding
-updated tests that include the 'error' tag to be correct

@jgallen23 : finished the above-mentioned tasks

@jgallen23

tags are now optional, log("test") and log({test: 123}) work as expected


python310Packages.pyinsteon: 1.2.0 -> 1.3.0

Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 212436 run on x86_64-linux 1

1 package failed to build:

home-assistant-component-tests.insteon

2 packages built:

python310Packages.pyinsteon
python311Packages.pyinsteon

Result of nixpkgs-review pr 212436 run on x86_64-linux 1

1 package failed to build:

home-assistant-component-tests.insteon

2 packages built:

python310Packages.pyinsteon
python311Packages.pyinsteon

Part of #218614


[App Wide] Add Color Theme and Standardize Components

PR Checklist

[ ] 1. PR title (above) matches the name of a task on Notion
[ ] 3. Task on notion has PR # set to the number of this PR

Changes

Describe the changes (or additions) made by this PR at a high level.

Requirements
run setup script
Preview

Include any content which demonstrates new functionality, such as screenshots or video captures (for frontend features), links to staging, results of benchmarks.

Testing
Flag any screen/component that has not been standardized and coloured according to the design

[X] Manual

Blocked as this branch was merged into #125 The changes in this branch will be be merged into master with it


How would one use zsh-snap to install and configure powerlevel10k prompt

Thanks for your package. I was shocked when I saw how little code there actually was in your source file. I feel like with time I can come to understand it completely.
I use powerlevel10K for my prompt with antibody and I'm considering trying out your pluggin manager however I'm not sure how to configure powerlevel10K  in my .zshrc seeing that it's got a bit more to its configuration than pure prompt.

Run the following:
znap clone https://github.com/romkatv/powerlevel10k.git
echo 'znap source powerlevel10k' >> ~/.zshrc

Then restart your shell.


Remove templating in create_item_impl

The template types were unneeded and caused a compile error when used without initialization of said types.

👍


Fix failing test in submissions_controller_spec.rb

The memory repository version of files_at_path_helper didn't handle a the root directory, with path value .

@reidka I fixed the test yesterday, but I forgot to tag you. I'm not entirely sure about my fix though, so if you have another idea please go for it.


Add dynamic array folder and .py file

Related Issue
Solved issue number: #475  that will be closed through this PR
Describe the changes you've made
Create folder for dynamic array in hackerrank folder and added python program for the problem statement
Describe if there is any unusual behaviour of your code(Write NA if there isn't)
NA
Language used for coding
Python
Checklist:

[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have documented the code.
[x] New and existing unit tests pass locally with my changes.

Problem name on platform is "Dynamic Array". So change the name of your folder from Dynamic array to Dynamic Array
so that your folder collapse with others folder.


Server shuts down if memory usage exceeds a limit

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1533484
Previously, the server could slowly grow in memory usage and nothing was
monitoring this.  Now, we use the memory usage we already were
collecting and react to it by shutting down the server process if it
exceeds the configurable threshold.  We rely upon systemd, or kubernetes
in the future, to see our non-zero exit code and automatically start a
new server process within a few minutes.
Note, we are trying to be "graceful" in that we call shutdown_and_exit
with a non-zero exit code.  This will deactivate the roles on the
server and attempt to gracefully shutdown the workers.
Additionally, we create a notification so an administrator can look
into it and report any future leaks.
Steps for Testing/QA [Optional]
Change the memory_threshold in the :server section in advanced settings
From:
:memory_threshold: 2.gigabytes
To: a number a bit larger than the current process.
Wait for the server to grow and exceed that limit.
You'll see a notification in the UI after the server restarts:

You'll see this in the log:
Memory exceeding limit and shutdown started:
[----] W, [2018-01-11T17:22:08.078414 #25874:10d1140]  WARN -- : MIQ(MiqServer#monitor_myself) server(pid: 25874, name: EVM) memory usage [357347328] exceeded limit: [346030080].  Exiting server process.

[----] I, [2018-01-11T17:22:08.218757 #25874:10d1140]  INFO -- : MIQ(MiqQueue.put) Message id: [10840],  id: [], Zone: [default], Role: [], Server: [], Ident: [generic], Target id: [], Instance id: [], Task id: [], Command: [MiqEvent.raise_evm_event], Timeout: [600], Priority: [100], State: [ready], Deliver On: [], Data: [], Args: [["MiqServer", 1], "evm_worker_stop", {:event_details=>"Stopping Worker [MiqPriorityWorker] with ID: [388], PID: [26101], GUID: [b295b366-6fde-4955-8354-440418099937], status [started]...", :type=>"MiqPriorityWorker"}]
[----] I, [2018-01-11T17:22:08.221947 #25874:10d1140]  INFO -- : MIQ(MiqServer#worker_set_message) Worker [MiqPriorityWorker] with ID: [388], PID: [26101], GUID: [b295b366-6fde-4955-8354-440418099937] is being requested to exit
...

Worker rows are removed:
[----] I, [2018-01-11T17:22:13.347425 #25874:10d1140]  INFO -- : MIQ(MiqServer#clean_worker_records) SQL Record for Worker [MiqPriorityWorker] with ID: [388], PID: [26101], GUID: [b295b366-6fde-4955-8354-440418099937], Status: [stopped] is being deleted

MiqQueue rows worked on by those workers are cleared:
[----] I, [2018-01-11T17:22:23.566711 #25874:10d1140]  INFO -- : MIQ(MiqServer#quiesce_all_workers) Cleaning all active messages being processed by MiqServer

Startup of replacement server is done automatically by systemd:
[----] I, [2018-01-11T17:22:39.069802 #26467:9bd138]  INFO -- : MIQ(EvmApplication.start) EVM Startup initiated

adding fine backport since it was requested in https://bugzilla.redhat.com/show_bug.cgi?id=1537132

Fine backport details:
$ git log -1
commit ac5415750afe2fe2ee180beae4027fe3f0f4dc5b
Author: Nick Carboni<EMAIL_ADDRESS>Date:   Fri Jan 12 09:01:15 2018 -0500

    Merge pull request #16807 from jrafanie/exit_server_on_large_memory_usage

    Server shuts down if memory usage exceeds a limit
    (cherry picked from commit 39dfff4a5a9e8ee6f6b0d61ea945cdadb856620d)

    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1537132


feat: add new APIs and example

This PR surfaces webui.get_free_port(), from the latest build.
And to test it, a new example called, custom_spa_server_on_free_port.
Why this example?
I'm doing something like this with SvelteKit, so I built an example to test the approach. Use it or not, or alter it as you see fit.
Question: Is there something about my example that is causing click and navigation events to be dropped?
(This example does not need those events -- only EVENT_CONNECTED and EVENT_DISCONNECTED, which are working fine -- but I need to figure out whether it's my code or an API change or a break.)
Thanks.

Okay, good PR, but there are some problems with the code. Can you let me modify it directly on your PR?

p.s., I'll have to update this after your comments; does that mean that I should have created this as a "draft" PR?

I will update all the latest newly added APIs soon
No need to convert to draft

Your comment appeared after I submitted mine. Lol.
Sure. How do I give you permission?

Haha, actually you gave me permission

Any time I submit a PR, just tell me what changes you want and I'll take care of it.
I can do more after work tomorrow.
Thanks.

Also, if it's easy to a build step to copy all example .exe and supporting files (e.g., html) into their own subfolder -- it would be a good pattern across all webui platform builds, I think.

I think I should have fixed it, just use zig build run_custom_spa_server_on_free_port, it will work
But I'm not sure whether the running effect is what you need. You still need to confirm it.

Thank you. I guess I didn't need to write all that copy files code! I'm learning.
I'll keep future PRs clean of that kind of stuff, or mark them as drafts.

Add APIs:

webui_get_free_port
getPort
getMimeType

I have to get to sleep; I'll check back tomorrow.

@jinzhongjia would you like me to work on the spa/free_port example above? Just let me know if you want me to do anything. I don't want to spend time on it if you're doing it. Thanks.

so, you think this pr now is ok?
Then we can merge it

Do you mean the whole PR (surfacing getFreePort, the stuff you added, my example app)? Or just the new API stuff.
Can you selectively merge, or is it all-or-nothing?
I'm not familiar with git workflow when 2 people have worked on a single pull request.
Before it's merged, I need to remove that copy file junk that I put in build.zig; how can I do that without overwriting what you've done?
Sorry I don't know more git. I've worked alone most of the time.

When two people handle a pull request, it can be regarded as two people using a branch together. You only need to pull regularly. You only need to delete and then push.

Ok. I'll pull to get your edits. Then I'll clean up my stuff. Then push.

I removed my commented-out code in build.zig. So you can merge if you feel it's ready.
However, there may still be a problem that will show up again. It's not a problem with this PR, I don't think.
The problem:
Yesterday, @hassandraga fixed the missing events not being delivered to the handler (click, navigation) , which caused navigation to trigger a disconnect, which he then fixed. I pulled his changes, and at first it did not seemed fixed; so I cleaned zig-cache and zig-out and tried again, and still not fixed. Then I came back an hour later and ran it and it was fixed. And my own app (a SvelteKit SPA) is working fine like that.
Now, navigation seems to be again causing disconnect. E.g., in custom_web_server example, navigation to second.html disconnects and does not reconnect (to second.html's webui.js).
Anyway, try to run the custom_web_server example and see what you think.
Problems that come and go, in a multi-threaded system, make me worry. But I could not be paying attention closely enough to what I'm doing.

I can't work on it tomorrow, but Saturday I'll try to debug it. First, I'll see if it happens with other wrappers. Then I'll build webui in debug mode and see what I can figure out. I'd like to gain a deeper understanding of webui's internals, anyway.

I update zig-webui to the latest webui
is this ok?

@jinzhongjia it looks fixed. I think you can merge and then I'll pull and see if the problem is gone on my machine.

@jinzhongjia @hassandraga I just pulled this newly merged PR, just after the c_allocator commit. Results:

on WSL Ubuntu 20 (same machine), does NOT cause Disconnect, works fine.
on Windows 10, still causes Disconnect and crash on Navigate link. My machine:

I'll dig into it tomorrow.

aha,I do not have machine with windows,maybe I can not help more 😞

em...
I will try fix it tomorrow

This causes disconnect and crash, too, suggesting that it's the navigate call:
 switch (e.event_type) {
        .EVENT_CONNECTED => {
            std.debug.print("Connected. \n", .{});
        },
        .EVENT_DISCONNECTED => {
            std.debug.print("Disconnected. \n", .{});
        },
        .EVENT_MOUSE_CLICK => {
            std.debug.print("Click. \n", .{});
        },
        .EVENT_NAVIGATION => {
            const win = e.getWindow();
            win.navigate("http://localhost:8080/second.html");
        },
        else => {},
    }

@hassandraga forgive my memory, but after I run mingw32-make debug to generate the webui debug DLL, what else do I have to do to get zig-webui project to link it? I got it working once before but I forget what I did. I feel like I copied it to another folder...?

(Interesting: I've not spent much time on the C examples, but when I did, I've been running the command zig build examples and then copying the resulting .exe into the example folder. E.g., zig build examples results in a custom_web_server.exe that I can copy into that example's folder and run. I won't do that anymore!)
Anyway, here are the C make results for custom_web_server example on Windows 10:
mingw32-make debug:

main.exe runs fine: when you navigate, it disconnects but then instantly reconnects to the other page's webui.js
Also, I scanned the debug logs and saw no hint of any error or crash
Inspecting the browser console shows what you would expect, 200

mingw32-make:

When main.exe is run, it looks ok until I click the nav link. When I do that

browser console: WebUI -> CMD -> Navigation [http://localhost:8080/second.html]                webui.js: 2
nothing happens -- it does not go to second.html
(I suspect that it has disconnected and wait() has returned.)

So I click the same link (on page index.html) a second time, and it does go to second.html, but it is not connected:

And I click to navigate back to index.html and I get a similar result:

Ok,thanks.
Is there a way to printf in release mode?
What if webui had a C console.log method, that made a JS call?

the new commit of webui seems fix this problem

@jinzhongjia do you mean it's fixed on Windows?

@jinzhongjia do you mean it's fixed on Windows?
I didn't test with windows, but I found that custom_web_server will also experience disconnection behavior under linux. But now it works fine


Does Rename Tag still work?

Say I have a line of code:

foo

I want to be able to highlight the two occurrences of 'div' so as to change the tag.
It looks like it should be the Rename Tag shortcut - Shift+Ctrl+'  but that does nothing for me in Sublime 3 and there are no keyboard conflicts (checked with FindKeyConflicts).
Has the feature been removed.. or.. changed.. or some other crazy issue?

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/24066242-does-rename-tag-still-work?utm_campaign=plugin&utm_content=tracker%2F35867&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F35867&utm_medium=issues&utm_source=github).

Try to call this action from Command Palette. It’s not removed, should be in Emmet

Not to sound too dumb but.. how do I do that?
ctrl-shift-p and typing rename brings up nothing..
I've also tried adding this to my sublime keymap with no joy:
{ "keys": ["ctrl+alt+q"], "command": "rename_tag"},

Can you post your ST log here?

Actually there might be no need - I removed a plugin "AutoFileName" which had some errors and I can now see the command in the palette!
To change the keyboard shortcut, it looks like I'll have to record a macro as in this thread:
https://github.com/sergeche/emmet-sublime/issues/439
Thank you for your help sergeche, very quick debugging help!


error while starting global_planner_sitl_mavros.launch - px4 connection doesn't work

Hey guys
currently I started to work with px4 and ros - and if I start a px4_sitl with gazebo and a separate ROS node it works fine (see: https://dev.px4.io/en/ros/mavros_offboard.html)
While searching for additional code examples I found this px4 add-on and it looks really cool but I can't  start it :'(
I was able to spawn an the world-file without the drone (just the city) but right about now gazebo stays black and can't even load the city anymore. Other gazebo simulations run still fine - so my gazebo is ok. (I can even start the px4_sitl with the iris quad which seemed to not be found by the global_planner)
As far as I can determine - the problems occurs here - it's where the PX4 symbol would appear:

INFO  [px4] Creating symlink /home/mark/PX_4_GIT/catkin_ws/src/Firmware/ROMFS/px4fmu_common -> /home/mark/.ros/etc
0 WARNING: setRealtimeSched failed (not run as root?)
px4 starting.
INFO  [px4] Calling startup script: /bin/sh etc/init.d-posix/rcS 0
Error: Unknown model 'iris_obs_avoid'
ERROR [px4] Startup script returned with return value: 256

when the model of the drone is loaded it seems to time out

[INFO] [1554728601.062677, 0.000000]: Calling service /gazebo/spawn_sdf_model
[INFO] [1554728601.094324, 786.964000]: Spawn status: SpawnModel: Entity pushed to spawn queue, but spawn service timed out waiting for entity to appear in simulation under the name iris
[spawn_model-9] process has finished cleanly

at least I was not able to spawn a world with a drone - currently my gazebo stays completely black and does nothing (at least for about 5-7 mins afterwards I shut it down)
While searching for a fix - I stumbled on quite a lot of issues which seemed to be similar by setting the GAZEBO_MODEL_PATH... I set these in my bash.rc file (so they will be exported when I open a console)
source /opt/ros/kinetic/setup.bash
source /home/mark/catkin_ws/devel/setup.bash
source /home/mark/PX_4_GIT/catkin_ws/devel/setup.bash

echo "ROS and catkin_ws setup Bash is loaded"
echo "--------------------------------------"

export GAZEBO_RESOURCE_PATH=/usr/share/gazebo-7
export GAZEBO_PLUGIN_PATH=${GAZEBO_PLUGIN_PATH}:~/PX_4_GIT/Firmware/build/px4_sitl_default/build_gazebo
export GAZEBO_MODEL_PATH=${GAZEBO_MODEL_PATH}:~/PX_4_GIT/Firmware/Tools/sitl_gazebo/models
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:~/PX_4_GIT/Firmware/build/px4_sitl_default/build_gazebo
export GAZEBO_MODEL_PATH=${GAZEBO_MODEL_PATH}:~/PX_4_GIT/catkin_ws/src/avoidance/sim/models
export ROS_PACKAGE_PATH=${ROS_PACKAGE_PATH}:~/PX_4_GIT/Firmware

Yeah I don't use:
. ~/Firmware/Tools/setup_gazebo.bash ~/Firmware ~/Firmware/build/px4_sitl_default
Mostly because of the echo and I found one solved issue which said - that doing this directly helped him... but not for me I guess.
As you can see I have 2 catkin_ws and my workspace for the px4 is inside an additional folder. I don't know if this causes the error - but mavros/mavlink would cause issues if I ran them in my old catkin_ws so I created the new one. Usually it shouldn't be a problem because I adapted the correct PATH's and the rospackage find themselves - but maybe inside the .launch files is some hardcoded reference?
If it helps you: I'm using ubuntu 16.04 and ros-kinetic with gazebo7
I hope someone can help me out with my issue!

It seems that it doesn't find the vehicle model Error: Unknown model 'iris_obs_avoid' . This something that recently got changes in the PX4 Firmware. Either you can update the Firmware or you can revert the vehicle type to iris. The only difference between the two is that COM_OBS_AVOID is not enabled by default with the iris model.

It seems that it doesn't find the vehicle model Error: Unknown model 'iris_obs_avoid' . This something that recently got changes in the PX4 Firmware. Either you can update the Firmware or you can revert the vehicle type to iris. The only difference between the two is that COM_OBS_AVOID is not enabled by default with the iris model.oh yeah thx a lot that was a simpler fix then expected.

if anyone has the same problem - this is the path where you need to change the model description:
 ~/catkin_ws/src/avoidance/global_planner/launch/mavros_sitl.launch
it is the second code block:
    <include file="$(find px4)/launch/px4.launch">
      <arg name="vehicle" default="iris"/>
    </include>


Improve style of the resources popup tree

The list in the resources popup was replaced with a tree. However, the tree's design is still rather sparse:

The goal of this ticket is to develop and implement a meaningful icon style for the resources popup tree that hamonizes with the resources browser and does not lead to ambiguities.

contained in #1532


Arcane worbench dup fix

Does anyone know a fix for the arcane workbench dup??

https://www.curseforge.com/minecraft/mc-mods/dupefix-project

Thank you so much!


Odroid C1+

Trying to launch with:
sudo LD_LIBRARY_PATH=$PWD python main.py -d

Gives me:
Traceback (most recent call last):
  File "main.py", line 9, in <module>
    from connect import Connect
  File "/spotify-connect-web/connect.py", line 8, in <module>
    from console_callbacks import audio_arg_parser, mixer, error_callback, connection_callbacks, debug_callbacks, playback_callbacks, playback_setup
  File "/spotify-connect-web/console_callbacks.py", line 16, in <module>
    audio_arg_parser.add_argument('--mixer', '-m', help='alsa mixer name for volume control', default=alsa.mixers()[0])
IndexError: list index out of range

My audio configuration is:
cat /proc/asound/cards
 0 [ODROIDHDMI     ]: SOC-Audio - ODROID-HDMI
                      ODROID-HDMI
 1 [UD501          ]: USB-Audio - TEAC UD-501
                      TEAC Corporation TEAC UD-501 at usb-lm0-1, high speed
 2 [Set            ]: USB-Audio - C-Media USB Headphone Set
                      C-Media USB Headphone Set at usb-lm1-1.1, full speed

or with python
import alsaaudio
alsaaudio.cards()

return
[u'ODROIDHDMI', u'UD501', u'Set']

I precise that i don't know python.

what do you get when typing "amixer" in bash?

nothing

that explains the error. 2 choices: use a softvol mixer, see issue #11
2. choice: comment any line out using mixer in code in connect.py and console_callbacks.py, but then you can't change the volume.

Ok it's working.
I have the same problem that i have with 'scplayer' the sound is stuttering on my TEAC UD501 DAC (OTG). here
Do you think that it's a spotify embbed lib problem?
Because it's working fine with [this DAC](CM108AH DAC)

My output looks similar. Haven't had any stuttering ever. But I have no Odroid to test. Have used it on a pi 2 (internal chinch, internal HDMI, external cheap usb sound) with OSMC and also on a Cubox i2 with debian. For both devices I use the armhf lib.
I have no real idea what kind of problem it is. But because it's also a problem in scplayer I think it should be a lib problem or sound card compatibility problem.
Do you use the DAC otherwise with alsa?

Ok i've found! it's an os problem or os configuration problem.
Tried with another image and sounds good with scplayer and openal.
Great work guys! thanks.


Error on !raid command and !team (valor/mystic etc ) command

When i do a command like !raid or !valor i get the following error in console.
The command is deleted by delibot, but nothing happens ( i think it needs to PM the person that does the command but thats not happening )

Ignoring exception in command raid:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/discord/ext/commands/core.py", line 85, in wrapped
ret = await coro(*args, **kwargs)
File "/home/job-bais/DeliBot/delibot/cogs/raid.py", line 56, in raid
"RAID_CREATION TYPE_BELOW WHAT_POKEMON WHAT_TIME WHAT_LOCATION THANK_YOU RAID_TIME RAID_LOCATION RAID_TOTAL RAID_BY")
File "/home/job-bais/DeliBot/delibot/cogs/utils.py", line 88, in get_translation
(language_code, ) = await self.bot.db.execute(query, params, single=True)
TypeError: 'NoneType' object is not iterable
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/discord/ext/commands/bot.py", line 939, in invoke
await ctx.command.invoke(ctx)
File "/usr/local/lib/python3.6/dist-packages/discord/ext/commands/core.py", line 863, in invoke
await injected(*ctx.args, **ctx.kwargs)
File "/usr/local/lib/python3.6/dist-packages/discord/ext/commands/core.py", line 94, in wrapped
raise CommandInvokeError(exc) from exc
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: TypeError: 'NoneType' object is not iterable

When i have set a channel for ocr scan for my profile i get also an error

Ignoring exception in on_message
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/discord/client.py", line 343, in _run_event
await coro(*args, **kwargs)
File "/home/job-bais/DeliBot/delibot/cogs/ocr.py", line 82, in on_message
profile_channel_id, exraid_channel_id = await self.bot.db.execute(query, params, single=True)
TypeError: 'NoneType' object is not iterable

Can you check if there's any entry for your server in the database?
SELECT * FROM settings WHERE server_id = xxxxxxxxxxxxxxxxxx;
(User settings -> Advanced -> Developer Mode -> Right-click your server icon -> Copy ID)

Everything is empty in that table.

Same here, after i configured the channels I have no entries in the database.

Hmm, a wild guess would be that you invited the bot to the server before it was online?
While the bot is online, try kicking it from the server and then re-invite it 😄 After that, check if there's a new entry for your server

ah that might be it, i have now an entry in the database..
Well lets see how it works, i had the very very very very old version due being contributor but well never used it much :p

Because of https://github.com/Widdin/DeliBot/blob/master/delibot/cogs/utils.py#L24 then. Maybe I should add a function to check if the amount in settings is the same as the bot is in when it boots up to avoid this issue 😄

well it works now, i have posted in the feature request a spinoff of delibird.
Remember in the beginning where contributors got the sourcecode of the first delibird, this is a spinoff but mostly rewritten i think.
It might be worth to take a look on how to make the gymtable have a more functional way, since i think in my case it does not work, or at least i havent found out for what its being used.
I added a few gyms but thats it :p

Added a new function to check for missing entries in the settings-table (https://github.com/Widdin/DeliBot/commit/3636e765e491e0cd11686fbb2878859a776500f7)
I'm closing the Issue!


Including in Multiple Components

What's the best method here -- do I need to init a new tracker for each component like below?
import {
  GoogleAnalyticsTracker
} from 'react-native-google-analytics-bridge';

const gaTracker = new GoogleAnalyticsTracker(MY_TRACKER_ID)
gaTracker.trackEvent('testcategory', 'testaction');

Will this duplicate the event tracking if I have multiple trackers with the same ID spread across different components?
I've seen elsewhere in the issues section where people suggest you don't have to do this but I can't seem to figure out how.

I definitely recommend wrapping the tracker in its own file, and initializing it once.
This can be done as easily as
import {
  GoogleAnalyticsTracker
} from 'react-native-google-analytics-bridge';

const gaTracker = new GoogleAnalyticsTracker(MY_TRACKER_ID)
export default gaTracker;

In a file called MyTracker.js (or whatever). And then import MyTracker from './MyTracker' in another file and call the functions as normal. Then the tracker will be initialized only once.

Your solution works perfectly -- thanks!


Can we have an option to log/archive failed downloads?

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I remove or skip any mandatory* field

Checklist

[X] I'm requesting a feature unrelated to a specific site
[X] I've looked through the README
[X] I've verified that I'm running yt-dlp version 2022.11.11 (update instructions) or later (specify commit)
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Provide a description that is worded well enough to be understood
My use cases mostly involve downloading mass quantities of videos. Occasionally only one or a handful of videos will fail to download for one reason or another, most often in my case because the filename is too long.
Working with the output and/or logs can be a bit of a handful. What I'd really like is another command switch like --failed-download-archive <filename.txt> that only records failures for later review.
I cannot find an example to show off at the moment. It's very intermittent and I've manually intervened in the past so I don't know which of my videos were affected.
I'm aware that using %(title).ns is a solution for the particular problem above.
Provide verbose output that clearly demonstrates the problem

[ ] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
No response

Duplicate of https://github.com/yt-dlp/yt-dlp/issues/1761. Also see https://github.com/yt-dlp/yt-dlp/issues/3605#issuecomment-1114269461


split ilab model chat click cmds from functionality

Refactored click command handling into a dedicated cli module and moved the core chat functionality into a separate module. This restructing lays the groundwork for future API handlers and multi-processing work.

Checklist:

[ ] Commit Message Formatting: Commit titles and messages follow guidelines in the
conventional commits.
[ ] Changelog updated with breaking and/or notable changes for the next minor release.
[ ] Documentation has been updated, if necessary.
[ ] Unit tests have been added, if necessary.
[ ] Functional tests have been added, if necessary.
[ ] E2E Workflow tests have been added, if necessary.

@mbestavros I think you need to comment something before I can add you as a reviewer


Conservation, report and species layers

Changes

Added ConservationLayer.tsx which renders conservation areas from SYKE api
Added ReportLayer.tsx which renders markers in the Leaflet map (currently uses hard coded list of coordinates)
Added SpeciesLayer.tsx which renders markers on the Leaflet map (currently uses hard coded list of coordinates)
_MapComponent.client.tsx uses these layers inside LayersControl

Now uses MarkerClusterGroup to display the markers. Also uses CustomMarker-component which in the future will render different markers based on given props.


Provide fluent API to define Aggregate structure

Putting annotations on fields and methods is just one way of defining command and event handlers in an Aggregate. Some developers, however, prefer to keep the domain model free of any framework/infrastructure concerns, and to use a DSL outside of these domain classes to link the framework to the model object.
This DSL should work using convention over configuration. All methods with a specific naming convention (to be decided) and a first parameter whose type ends on Command should be recognized as a Command handler automatically. Any deviation from this convention means the method must be configured explicitly using the DSL.
The DSL should look as follows:
aggregate(Order.class) // class name of the aggregate
                .identifiedBy("orderId") // optional, if not "id" or "<simpleClassName>Id"
                .onCommand(CreateOrderCommand.class).validate(command -> assertTrue(command.getId) != null) // when Event Sourcing, check if state allows this command
                                                    .thenEmit(OrderCreatedEvent.class, () -> new OrderCreatedEvent()) // emit an event. The first parameter is used to be able to register an action (EventSourcingHandler) to this specific event type
                                                    .andCreate(e -> new Order(e.getId())) // the EventSourcingHandler, in this case creating a new instance
                .onCommand(UpdateOrderCommand.class).validate(c -> ...).thenEmit(c -> )
                                                    .andUpdate(event, aggregate) // the update handler, taking the event and current state as input

This DSL will create the same AggregateModel instance as the current ModelInspector class does.

Along this line, if I may suggest, something similar for sagas will also be great. Something like tram have (https://github.com/eventuate-tram/eventuate-tram-sagas), or maybe even better
that camunda integration :-) (https://twitter.com/berndruecker/status/968980140410753025)

This would be a killer feature and it would speed up development with Axon significantly. +1.

A proof of concept has been done to find a DSL that would be workable and more valuable than the current annotation-based approach. The result of that PoC was that the amount of effort required to build the DSL, combined with the end result is simply not worth it.
Instead, convention-based handler definitions (e.g. based on method and parameter names) provide a simpler means to implement an alternative to the annotation-based approach.


Start testing against Python 3.9

And fix a DeprecationWarning: "Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.9 it will stop working"

Ah. 3.9 isn't yet fully released on travis

we could try switching to github actions? 😉

Look at all those Python versions we support! 😁

Indeed. I'd like to start dropping support for the older versions, but we probably don't have time to schedule that work just yet, alas.


Japanese translation files

I misassigned one ID in my previous pull request, sorry.
Japanese translation added. It could be helpful for Japanese Steam Workshop users.

Hey - sorry for no response. I'm working on new version where I've added new texts, I presume it'd be better to update those in this pull request. What do you think?
Misassigned ID i will include in current changes, thanks for noticing that!

Okay then - I will push out newest version, 2.7.0, then you can, if you want, upload more translations.
I think I will just release cloned, separate version for Steam Workshop then? As in, nexus mods will stay on master, whereas translation one will have it's own branch. It's so people will still have to download your translation mod from nexus, but in case of Steam Workshop it will be in one package, just as you described. :)

It's best to include the translation files in both Nexus and Steam Workshop because I doubt the Vortex correctly installs the translation mods that require overwriting another mod. I won't claim authorship for this translation. However, I follow your decision. I should understand the difficulty of managing language files that you can't read.

Now, this PR contains only Japanese translation files.

Oops. I found another ID error.

It's best to include the translation files in both Nexus and Steam Workshop because I doubt the Vortex correctly installs the translation mods that require overwriting another mod. I won't claim authorship for this translation. However, I follow your decision. I should understand the difficulty of managing language files that you can't read.

This is totally valid reason, I can include it in both. I was mostly looking into your translation files being downloaded separately. Translating isn't easy so credit is always due. I will add gratitude towards you on mod page.


Broken textures in World of warcraft 3.3.5a

Software information

World of warcraft 3.3.5a

Configuration:
SET locale "esES"
SET realmList " "
SET hwDetect "0"
SET gxWindow "1"
SET gxMaximize "1"
SET gxResolution "1920x1080"
SET gxRefresh "144"
SET gxTripleBuffer "1"
SET gxMultisample "4"
SET gxMultisampleQuality "0.000000"
SET gxFixLag "0"
SET videoOptionsVersion "3"
SET windowResizeLock "1"
SET textureFilteringMode "4"
SET movie "0"
SET Gamma "1.000000"
SET readTOS "1"
SET readEULA "1"
SET readTerminationWithoutNotice "1"
SET showToolsUI "1"
SET Sound_OutputDriverName "System Default"
SET Sound_MusicVolume "0.40000000596046"
SET Sound_AmbienceVolume "0.60000002384186"
SET componentTextureLevel "9"
SET shadowLevel "0"
SET farclip "1057"
SET particleDensity "0.80000001192093"
SET groundEffectDensity "56"
SET groundEffectDist "130"
SET environmentDetail "1.25"
SET projectedTextures "1"
SET weatherDensity "0"
SET ffxGlow "0"
SET ffxDeath "0"
SET useUiScale "1"
SET uiScale "0.8"
SET mouseSpeed "1"
SET accounttype "LK"
SET realmName "  "
SET gameTip "50"

GPU: Nvidia GeForce RTX 3050 Ti Laptop GPU

Driver: 566.36

Windows 11 Home build 22631.4602

DXVK version: 2.5.2

Log file
info:  Game: Wow.exe
info:  DXVK: v2.5.2
info:  Build: x86 gcc 14.2.0
info:  Found config file: dxvk.conf
info:  Effective configuration:
info:    dxvk.enableMemoryDefrag = auto
info:    d3d9.supportVCache = true
info:    dxvk.enableCaptureMode = true
info:    d3d9.maxFrameRate = 141
info:    d3d9.maxFrameLatency = 3
info:    dxvk.enableAsync = true
info:    dxvk.allowMemoryOvercommit = true
info:    dxvk.numCompilerThreads = 0
info:    dxvk.numAsyncThreads = 0
info:    dxvk.maxChunkSize = 0
info:    d3d9.floatEmulation = true
info:    d3d9.numBackBuffers = 2
info:    d3d9.tearFree = auto
info:    dxvk.enableGraphicsPipelineLibrary = auto
info:    d3d9.maxAvailableMemory = 0
info:    dxvk.gplAsyncCache = true
info:    dxvk.useRawSsbo = true
info:  Vulkan: Found vkGetInstanceProcAddr in vulkan-1.dll @ 0x5cb916e0
info:  Built-in extension providers:
info:    Platform WSI
info:    OpenVR
info:    OpenXR
info:  OpenVR: could not open registry key, status 2
info:  OpenVR: Failed to locate module
info:  Enabled instance extensions:
info:    VK_EXT_surface_maintenance1
info:    VK_KHR_get_surface_capabilities2
info:    VK_KHR_surface
info:    VK_KHR_win32_surface
info:  D3D9: VK_FORMAT_D16_UNORM_S8_UINT -> VK_FORMAT_D24_UNORM_S8_UINT
info:  NVIDIA GeForce RTX 3050 Ti Laptop GPU:
info:    Driver : NVIDIA 566.36.0
info:    Memory Heap[0]:
info:      Size: 3962 MiB
info:      Flags: 0x1
info:      Memory Type[1]: Property Flags = 0x1
info:      Memory Type[2]: Property Flags = 0x1
info:      Memory Type[5]: Property Flags = 0x7
info:    Memory Heap[1]:
info:      Size: 7886 MiB
info:      Flags: 0x0
info:      Memory Type[0]: Property Flags = 0x0
info:      Memory Type[3]: Property Flags = 0x6
info:      Memory Type[4]: Property Flags = 0xe
info:  Process set as DPI aware
info:  Device properties:
info:    Device : NVIDIA GeForce RTX 3050 Ti Laptop GPU
info:    Driver : NVIDIA 566.36.0
info:  Enabled device extensions:
info:    VK_EXT_attachment_feedback_loop_layout
info:    VK_EXT_conservative_rasterization
info:    VK_EXT_custom_border_color
info:    VK_EXT_depth_bias_control
info:    VK_EXT_depth_clip_enable
info:    VK_EXT_extended_dynamic_state3
info:    VK_EXT_fragment_shader_interlock
info:    VK_EXT_full_screen_exclusive
info:    VK_EXT_graphics_pipeline_library
info:    VK_EXT_hdr_metadata
info:    VK_EXT_line_rasterization
info:    VK_EXT_memory_priority
info:    VK_EXT_non_seamless_cube_map
info:    VK_EXT_pageable_device_local_memory
info:    VK_EXT_robustness2
info:    VK_EXT_shader_module_identifier
info:    VK_EXT_swapchain_maintenance1
info:    VK_EXT_transform_feedback
info:    VK_EXT_vertex_attribute_divisor
info:    VK_KHR_external_memory_win32
info:    VK_KHR_external_semaphore_win32
info:    VK_KHR_maintenance5
info:    VK_KHR_pipeline_library
info:    VK_KHR_present_id
info:    VK_KHR_present_wait
info:    VK_KHR_swapchain
info:    VK_KHR_win32_keyed_mutex
info:    VK_NV_descriptor_pool_overallocation
info:    VK_NV_raw_access_chains
info:  Device features:
info:    robustBufferAccess                     : 1
info:    fullDrawIndexUint32                    : 1
info:    imageCubeArray                         : 1
info:    independentBlend                       : 1
info:    geometryShader                         : 1
info:    tessellationShader                     : 0
info:    sampleRateShading                      : 1
info:    dualSrcBlend                           : 0
info:    logicOp                                : 0
info:    multiDrawIndirect                      : 1
info:    drawIndirectFirstInstance              : 0
info:    depthClamp                             : 1
info:    depthBiasClamp                         : 1
info:    fillModeNonSolid                       : 1
info:    depthBounds                            : 1
info:    wideLines                              : 1
info:    multiViewport                          : 1
info:    samplerAnisotropy                      : 1
info:    textureCompressionBC                   : 1
info:    occlusionQueryPrecise                  : 1
info:    pipelineStatisticsQuery                : 1
info:    vertexPipelineStoresAndAtomics         : 1
info:    fragmentStoresAndAtomics               : 0
info:    shaderImageGatherExtended              : 0
info:    shaderClipDistance                     : 1
info:    shaderCullDistance                     : 1
info:    shaderFloat64                          : 0
info:    shaderInt64                            : 0
info:    variableMultisampleRate                : 1
info:    shaderResourceResidency                : 0
info:    shaderResourceMinLod                   : 0
info:    sparseBinding                          : 0
info:    sparseResidencyBuffer                  : 0
info:    sparseResidencyImage2D                 : 0
info:    sparseResidencyImage3D                 : 0
info:    sparseResidency2Samples                : 0
info:    sparseResidency4Samples                : 0
info:    sparseResidency8Samples                : 0
info:    sparseResidency16Samples               : 0
info:    sparseResidencyAliased                 : 0
info:  Vulkan 1.1
info:    shaderDrawParameters                   : 1
info:  Vulkan 1.2
info:    samplerMirrorClampToEdge               : 1
info:    drawIndirectCount                      : 1
info:    samplerFilterMinmax                    : 0
info:    hostQueryReset                         : 1
info:    timelineSemaphore                      : 1
info:    bufferDeviceAddress                    : 0
info:    shaderOutputViewportIndex              : 1
info:    shaderOutputLayer                      : 1
info:    vulkanMemoryModel                      : 1
info:  Vulkan 1.3
info:    robustImageAccess                      : 0
info:    pipelineCreationCacheControl           : 1
info:    shaderDemoteToHelperInvocation         : 1
info:    shaderZeroInitializeWorkgroupMemory    : 0
info:    synchronization2                       : 1
info:    dynamicRendering                       : 1
info:  VK_AMD_shader_fragment_mask
info:    extension supported                    : 0
info:  VK_EXT_attachment_feedback_loop_layout
info:    attachmentFeedbackLoopLayout           : 1
info:  VK_EXT_conservative_rasterization
info:    extension supported                    : 1
info:  VK_EXT_custom_border_color
info:    customBorderColors                     : 1
info:    customBorderColorWithoutFormat         : 1
info:  VK_EXT_depth_clip_enable
info:    depthClipEnable                        : 1
info:  VK_EXT_depth_bias_control
info:    depthBiasControl                       : 1
info:    leastRepresentableValueForceUnormRepresentation : 1
info:    floatRepresentation                    : 0
info:    depthBiasExact                         : 1
info:  VK_EXT_extended_dynamic_state3
info:    extDynamicState3AlphaToCoverageEnable  : 1
info:    extDynamicState3DepthClipEnable        : 1
info:    extDynamicState3RasterizationSamples   : 1
info:    extDynamicState3SampleMask             : 1
info:    extDynamicState3LineRasterizationMode  : 1
info:  VK_EXT_fragment_shader_interlock
info:    fragmentShaderSampleInterlock          : 0
info:    fragmentShaderPixelInterlock           : 0
info:  VK_EXT_full_screen_exclusive
info:    extension supported                    : 1
info:  VK_EXT_graphics_pipeline_library
info:    graphicsPipelineLibrary                : 1
info:  VK_EXT_line_rasterization
info:    rectangularLines                       : 1
info:    smoothLines                            : 1
info:  VK_EXT_memory_budget
info:    extension supported                    : 1
info:  VK_EXT_memory_priority
info:    memoryPriority                         : 1
info:  VK_EXT_non_seamless_cube_map
info:    nonSeamlessCubeMap                     : 1
info:  VK_EXT_pageable_device_local_memory
info:    pageableDeviceLocalMemory              : 1
info:  VK_EXT_robustness2
info:    robustBufferAccess2                    : 1
info:    robustImageAccess2                     : 1
info:    nullDescriptor                         : 1
info:  VK_EXT_shader_module_identifier
info:    shaderModuleIdentifier                 : 1
info:  VK_EXT_shader_stencil_export
info:    extension supported                    : 0
info:  VK_EXT_swapchain_colorspace
info:    extension supported                    : 0
info:  VK_EXT_swapchain_maintenance1
info:    swapchainMaintenance1                  : 1
info:  VK_EXT_hdr_metadata
info:    extension supported                    : 1
info:  VK_EXT_transform_feedback
info:    transformFeedback                      : 0
info:    geometryStreams                        : 0
info:  VK_EXT_vertex_attribute_divisor
info:    vertexAttributeInstanceRateDivisor     : 1
info:    vertexAttributeInstanceRateZeroDivisor : 1
info:  VK_KHR_external_memory_win32
info:    extension supported                    : 1
info:  VK_KHR_external_semaphore_win32
info:    extension supported                    : 1
info:  VK_KHR_maintenance5
info:    maintenance5                           : 1
info:  VK_KHR_present_id
info:    presentId                              : 1
info:  VK_KHR_present_wait
info:    presentWait                            : 1
info:  VK_NV_descriptor_pool_overallocation
info:    descriptorPoolOverallocation           : 1
info:  VK_NV_raw_access_chains
info:    shaderRawAccessChains                  : 1
info:  VK_NVX_binary_import
info:    extension supported                    : 0
info:  VK_NVX_image_view_handle
info:    extension supported                    : 0
info:  VK_KHR_win32_keyed_mutex
info:    extension supported                    : 1
info:  Queue families:
info:    Graphics : 0
info:    Transfer : 1
info:    Sparse   : 0
info:  Memory type mask for buffer resources: 0x3b, usage: 0x1ff
warn:  DXVK: No state cache file found
info:  DXVK: Graphics pipeline libraries supported
info:  D3D9DeviceEx::ResetSwapChain:
info:    Requested Presentation Parameters
info:      - Width:              1920
info:      - Height:             1080
info:      - Format:             D3D9Format::X8R8G8B8
info:      - Auto Depth Stencil: true
info:                  ^ Format: D3D9Format::D24X8
info:      - Windowed:           true
info:      - Swap effect:        1
info:  Presenter: Actual swap chain properties:
info:    Format:       VK_FORMAT_R8G8B8A8_UNORM
info:    Color space:  VK_COLOR_SPACE_SRGB_NONLINEAR_KHR
info:    Present mode: VK_PRESENT_MODE_IMMEDIATE_KHR (dynamic: yes)
info:    Buffer size:  1920x1080
info:    Image count:  3
info:  DXVK: Using 16 compiler threads
info:  D3D9: VK_FORMAT_D16_UNORM_S8_UINT -> VK_FORMAT_D24_UNORM_S8_UINT
info:  NVIDIA GeForce RTX 3050 Ti Laptop GPU:
info:    Driver : NVIDIA 566.36.0
info:    Memory Heap[0]:
info:      Size: 3962 MiB
info:      Flags: 0x1
info:      Memory Type[1]: Property Flags = 0x1
info:      Memory Type[2]: Property Flags = 0x1
info:      Memory Type[5]: Property Flags = 0x7
info:    Memory Heap[1]:
info:      Size: 7886 MiB
info:      Flags: 0x0
info:      Memory Type[0]: Property Flags = 0x0
info:      Memory Type[3]: Property Flags = 0x6
info:      Memory Type[4]: Property Flags = 0xe
info:  Process set as DPI aware
info:  Presenter: Actual swap chain properties:
info:    Format:       VK_FORMAT_R8G8B8A8_UNORM
info:    Color space:  VK_COLOR_SPACE_SRGB_NONLINEAR_KHR
info:    Present mode: VK_PRESENT_MODE_FIFO_KHR (dynamic: yes)
info:    Buffer size:  1920x1080
info:    Image count:  3
info:  Setting timer interval to 500 us
warn:  D3D9DeviceEx::SetRenderState: Unhandled render state 161

With version 2.5.1 it works fine.

Hi there. This has already been reported and fixed on master https://github.com/doitsujin/dxvk/issues/4532

Hi there. This has already been reported and fixed on master #4532
Try downloading this build https://github.com/doitsujin/dxvk/actions/runs/12435734651

That fixed the graphical issues but this version is really choppy. It's like the frame pacing is broken with it. If I use 2.5.1 with the same games they are buttery smooth. Still something funky going on with this build. The stutter is terrible.

I don't think i am reproducing. Could you make a video showing it?

Yeah I will make a video comparing 2.5.1 and this build in LoK Defiance. It's night and day. The build provided looks jittery when rotating a camera slowly.

I can't seem to record a video without OBS itself introducing some stutter of it's own that is not there when I'm actually playing during the recording, so IDK how else I can prove it. I promise you It is causing stutter that 2.5.1 is not causing at all.

Then please bisect it using git bisect. The bug fix yesterday pretty much cannot introduce any stuttering at all.

Could you try and see if this build is fine? https://github.com/doitsujin/dxvk/actions/runs/11982815392
And this build is bad? https://github.com/doitsujin/dxvk/actions/runs/11988497533

Well it is. Actually I figured out how to capture it properly so give me a minute to upload the proper recordings capturing it in two different games. Please be patient. I have proof now. Yes I will try it.

That still leaves about 30 commits, so it doesn't really help. 2.5.2 has the same stutter problem (if you just ignore the texture bugs for a moment), right?

That still leaves about 30 commits, so it doesn't really help. 2.5.2 has the same stutter problem (if you just ignore the texture bugs for a moment), right?

Let me confirm that for you. Yes 2.5.2 has the same stutter as this build.  https://github.com/doitsujin/dxvk/actions/runs/12435734651
Where as these two do not have stutter.
https://github.com/doitsujin/dxvk/actions/runs/11982815392
https://github.com/doitsujin/dxvk/actions/runs/11988497533

What about this one? https://github.com/doitsujin/dxvk/actions/runs/12362136474

Also fine.

Try this https://github.com/doitsujin/dxvk/actions/runs/12374388183

Try this https://github.com/doitsujin/dxvk/actions/runs/12374388183

Broken textures and still stutter in this one.

Try making a apitrace https://github.com/doitsujin/dxvk/wiki/Using-Apitrace
It might slow down a lot but just do what you normally do to reproduce the stutter and then exit. Even if it doesn't stutter meanwhile since you won't be using dxvk when making it.

That makes no sense. There's nothing in there that could cause stutter.

Give me a minute I'm gonna go through every version you guys have asked me to check just to make sure I didn't mix any up.

Ok here we go. Tested thoroughly. I may have originally mixed one up.
Version 2.5.1 = no stutter
Version 2.5.2 = stutter and broken graphics
Build 43b79bcb233b507127b1868e008c358474752094 = no stutter and no broken graphics - https://github.com/doitsujin/dxvk/actions/runs/11982815392
Build 9e1bc1db234ea27e5f8f7f84ffd4d28af11224ac = no stutter and no broken graphics - https://github.com/doitsujin/dxvk/actions/runs/11988497533
Build 67f4ec73aa98abf70ee63d7ec17ddb48adde04d5 = stutter and no broken graphics - https://github.com/doitsujin/dxvk/actions/runs/12362136474
Build acf93aa70a696253ae0e7e6fec7a9287f9970b37 = stutter and broken graphics - https://github.com/doitsujin/dxvk/actions/runs/12374388183
Build 1eb0c687a6748d8268dd84f466a1378de4fb3c10 = stutter and no broken graphics - https://github.com/doitsujin/dxvk/actions/runs/12435734651

This unfortunately still leaves a lot of changes as the possible culprits and it runs perfectly fine for all of us.

This unfortunately still leaves a lot of changes as the possible culprits and it runs perfectly fine for all of us.

I imagine in some games it's possible it runs fine for you but the fact is in specific games it no longer runs smooth in the builds specified above where as it ran fine before. I would imagine if you tested the games I'm running you would get the same results.

https://github.com/doitsujin/dxvk/actions/runs/12008516626/job/33471318226
What about this one?

I'm guessing if you tested the games I'm running you would get the same results.

@Blisto91 tested D3D9 WoW on a private server for example. That's what the issue was about.

Stutter and no broken graphics.

Most likely https://github.com/doitsujin/dxvk/commit/15db475edf99f04c0236a693be2f2c13c7554b0c then.
Looks like the Windows compositor is the issue here. Also make sure you're not running any weird overlays.

Most likely 15db475 then.
Looks like the Windows compositor is the issue here. Also make sure you're not running any weird overlays.

No overlays or any external frame limiters etc.

Could you attach a dxvk log? Should appear next to the exe

This is with 0 modifications to the game just with the dxvk 32bit d3d9.dll added to the game directory.
defiance_d3d9.log

Most likely 15db475 then.
Looks like the Windows compositor is the issue here. Also make sure you're not running any weird overlays.

@K0bin Any reason why that was disabled? I guess because most compositors should be smart enough to detect when an app is covering the whole screen and automatically give it direct scanout.
@BParks21 What compositor do you use? Like GNOME, KDE, Hyprland, etc.

Any reason why that was disabled? I guess because most compositors should be smart enough to detect when an app is covering the whole screen and automatically give it direct scanout.

On linux, exclusive fullscreen doesn't exist and never did anything anyways.


monitor.nixos.org is outdated since quite some time

monitor.nixos.org is outdated since quite some time now. Even some months if I am not mistaken. This time it doesn't seem to be some issue with nixpkgs-monitor but rather with the server. I tried to bring attention to this on the irc channel by pinging e.g. @rbvermaa. However it seems the people that are maintaining those servers are currently really busy. I would be happy to step up as a maintainer for the monitor server, but at least we should make explicit that monitor.nixos.org is out of date.

I will have some time the next week
to work on monitor as I'm about to
finish my current project. And it
would be nice indeed if we had a
backup maintainer, because the
current maintainers(including me)
aren't available even 90% of the time.

I really liked the service and it made me sad that it wasn't updating info for many months (I think).

@rbvermaa @edolstra What are the barriers to introduce a backup maintainer for monitor.nixos.org?

where is the code and how do you deploy it ?

The code should be on https://github.com/phreedom/nixpkgs-monitor/

Would it be feasible to run monitor on the nixos.org server?

Can we move this code to the nixos org ? It seems really useful and would be better community-supported.

:+1:  for moving the repository to the NixOS organization. I am not sure if it makes sense to run it on the nixos.org server. If we don't test-build updates (which isn't that useful anyways, at least for me) it could be feasible. A monitor instance would help a lot to give everyone a good feeling of the state of nixpkgs.

The biggest problem for monitor is
that it needs admin attention:
updated frequently, sometimes nix-
prefetch-url hangs and such stuff.
It's very similar to hydra for obvious
reasons. I run the dev instance on a
6-core machine at home.

btw the test-building of updates is in
fact very useful because it produces
diff logs. Although for some reasons
the format of logs on hydra is
different atm, when it was the same,
it was very easy to spot new or
missing dependencies.

Would it be possible to augment derivations metadata with an update checker ? It would be nice if each project could say: hey, look at this location with this heuristic to find if a new version has been released.

The monitor seems to manage that automatically for most packages already.

There's a set of algos which work
automatically somewhat well. Doing it by
hand ends up with update checkers
going stale in practice. I wrote about it in
the nix-dev ML long time ago. Probably
the only way you can help the monitor is
by setting meta.repositories.git and
hoping the tags have a sane naming
scheme.

Yeah makes sense, we don't want too much churn.
In a lot of cases we could deduce the meta.repositories.git from the source. What about something like this: https://github.com/zimbatm/nixpkgs/commit/f28f0132d0428b7461ec25c1bb01a215e56665e2 and then tweak mkDerivation so that the meta field is src.meta // meta ?

nixpkgs-monitor uses derivation's meta
attrs, nor derivation's src meta attrs.
either way it catches github urls already,
parses them and grabs tags to analyze
:) Personally I liked fetchgit days a bit
more because you could do src =
fetchgit {url = meta.repositories.git;}

This appears to be resolved now.

monitor.nixos.org is out of date since some time again.

builds phase seems to either
fail or hang
@rbvermaa

I guess this is still a problem. What is needed to get this going again?

monitor.nixos.org doesnt seem to exist any more can we close this issue? @pSub

"The service is looking for admin, I'd say."


Support Calico CNI for ambient

Bug Description

Have ambient profile installed on a single node k8s cluster as below:

NAME                                    READY   STATUS    RESTARTS   AGE
istio-cni-node-7h47k                    1/1     Running   0          5d18h
istio-ingressgateway-77ff84cdf6-2mdbp   1/1     Running   0          5d18h
istiod-576df488d5-j857h                 1/1     Running   0          5d18h
ztunnel-hd4wj                           1/1     Running   0          5d18h

Have deployed applications following the blog post in default ns

$ kubectl apply -f samples/bookinfo/platform/kube/bookinfo.yaml
$ kubectl apply -f https://raw.githubusercontent.com/linsun/sample-apps/main/sleep/sleep.yaml
$ kubectl apply -f https://raw.githubusercontent.com/linsun/sample-apps/main/sleep/notsleep.yaml

sleep pod can communicate with product page without issue before joined ambient mesh:

kubectl exec deploy/sleep -- curl -s http://productpage:9080/ | head -n1
<!DOCTYPE html>

Join default ns into ambient mesh:

kubectl label namespace default istio.io/dataplane-mode=ambient
namespace/default labeled

sleep pod CAN NOT communicate with product page :

kubectl exec deploy/sleep -- curl -s -vvv http://productpage:9080/ | head -n1
* Could not resolve host: productpage
* Closing connection 0
command terminated with exit code 6

sleep pod CAN NOT communicate with product page via pod ip:

kubectl exec deploy/sleep -- curl -s -vvv http://<IP_ADDRESS>:9080/
*   Trying <IP_ADDRESS>:9080...
* connect to <IP_ADDRESS> port 9080 failed: Operation timed out
* Failed to connect to <IP_ADDRESS> port 9080: Operation timed out
* Closing connection 0
command terminated with exit code 28

Version
istioctl version
client version: 0.0.0-ambient.191fe680b52c1754ee72a06b3e0d3f9d116f2e82
control plane version: 0.0.0
data plane version: 0.0.0-ambient.191fe680b52c1754ee72a06b3e0d3f9d116f2e82 (2 proxies)

Additional Information
No response

Thanks @howardjohn who pointed to me this is due to Calico CNI will revert IPtable rules.

@dhawton,  is there any detail or status update for supporting either calico or other bridging CNI plugin rather than kind CNI? Any materials or information could be shared will be appreciated.

@dhawton, is there any detail or status update for supporting either calico or other bridging CNI plugin rather than kind CNI? Any materials or information could be shared will be appreciated.

Not at this point. We do support the CNIs in GKE (non-Calico and non-DPv2) and EKS... but I do not have anything more I can share at this moment.

The default isn't calico unless you enable network policy when creating the
cluster. If you just use the defaults in the UI it will work
On Fri, Nov 25, 2022, 8:27 AM Daniel Wayne @.***> wrote:

I saw note that GKE with Calico does not work. I believe the default is
deployment is with calico. Is there an alternative that should be used in
Dev to test ambient with?
—
Reply to this email directly, view it on GitHub
https://github.com/istio/istio/issues/40973#issuecomment-1327678061, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEYGXNXNYY3OULM6XMQEYTWKDSHTANCNFSM6AAAAAAQL7ZUH4
.
You are receiving this because you were mentioned.Message ID:
@.***>

Hello,
Is there any way to use ambient with calico?

Hello,
Is there any way to use ambient with calico?

The following may help.

Modify chainInsertMode to Append and workloadSourceSpoofing to Any in Calico FelixConfiguration.
Add the annotation cni.projectcalico.org/allowedSourcePrefixes: '["<IP_ADDRESS>/0"]' to your workload.

I'm attempting to lay istio over calico in my clusters. Calico unfortunately only supports 1.15 - and it appears as though Ambient would solve a lot of the knitting that has to be done to integrate the two technologies.
Would be great if ambient supported the current calico project!

Hello,
Is there any way to use ambient with calico?

The following may help.

Upgrade the calico version to the latest.
Modify chainInsertMode to Append and workloadSourceSpoofing to Any in Calico FelixConfiguration.
Add the annotation cni.projectcalico.org/allowedSourcePrefixes: '["<IP_ADDRESS>/0"]' to your workload.

It works for me,
I see the annotation is included in https://github.com/istio/istio/blob/master/manifests/charts/ztunnel/templates/daemonset.yaml, so this step is not mandatory for the latest release.

Hello,
Is there any way to use ambient with calico?

The following may help.

Upgrade the calico version to the latest.
Modify chainInsertMode to Append and workloadSourceSpoofing to Any in Calico FelixConfiguration.
Add the annotation cni.projectcalico.org/allowedSourcePrefixes: '["<IP_ADDRESS>/0"]' to your workload.

It works for me, I see the annotation is included in https://github.com/istio/istio/blob/master/manifests/charts/ztunnel/templates/daemonset.yaml, so this step is not mandatory for the latest release.

Do you mean the 3rd step is not necessary?
The issue I encountered was not with ztunnel pods but with my workloads. Without the annotation added to my workloads, egress traffic of my workload pods were dropped due to RPF. I believe 103 ip rule and routes in table 100 were causing this RPF failure. So I had to add the annotation to my workloads to bypass the RPF check by calico.
ip rule
0:      from all lookup local
100:    from all fwmark 0x200/0x200 goto 32766
101:    from all fwmark 0x100/0x100 lookup 101
102:    from all fwmark 0x40/0x40 lookup 102
103:    from all lookup 100
...

ip route sh table 100
<IP_ADDRESS> dev cali30566341ea4 scope link
<IP_ADDRESS> via <IP_ADDRESS> dev istioin src <IP_ADDRESS>

I suppose this 103 ip rule should be modified as it makes all egress traffic of pods served in ambient mode fail the RPF check.

Hello,
Is there any way to use ambient with calico?

The following may help.

Upgrade the calico version to the latest.
Modify chainInsertMode to Append and workloadSourceSpoofing to Any in Calico FelixConfiguration.
Add the annotation cni.projectcalico.org/allowedSourcePrefixes: '["<IP_ADDRESS>/0"]' to your workload.

It works for me, I see the annotation is included in https://github.com/istio/istio/blob/master/manifests/charts/ztunnel/templates/daemonset.yaml, so this step is not mandatory for the latest release.

Do you mean the 3rd step is not necessary?
The issue I encountered was not with ztunnel pods but with my workloads. Without the annotation added to my workloads, egress traffic of my workload pods were dropped due to RPF. I believe 103 ip rule and routes in table 100 were causing this RPF failure. So I had to add the annotation to my workloads to bypass the RPF check by calico.
ip rule
0:      from all lookup local
100:    from all fwmark 0x200/0x200 goto 32766
101:    from all fwmark 0x100/0x100 lookup 101
102:    from all fwmark 0x40/0x40 lookup 102
103:    from all lookup 100
...

ip route sh table 100
<IP_ADDRESS> dev cali30566341ea4 scope link
<IP_ADDRESS> via <IP_ADDRESS> dev istioin src <IP_ADDRESS>

I suppose this 103 ip rule should be modified as it makes all egress traffic of pods served in ambient mode fail the RPF check.

Yes, I did not apply step 3 because I am using the ebpf redirection mode, so I think the ip rules is not a problem for me, maybe you could give it a try :)

Hello,
Is there any way to use ambient with calico?

The following may help.

Upgrade the calico version to the latest.
Modify chainInsertMode to Append and workloadSourceSpoofing to Any in Calico FelixConfiguration.
Add the annotation cni.projectcalico.org/allowedSourcePrefixes: '["<IP_ADDRESS>/0"]' to your workload.

It works for me, I see the annotation is included in https://github.com/istio/istio/blob/master/manifests/charts/ztunnel/templates/daemonset.yaml, so this step is not mandatory for the latest release.

Do you mean the 3rd step is not necessary?
The issue I encountered was not with ztunnel pods but with my workloads. Without the annotation added to my workloads, egress traffic of my workload pods were dropped due to RPF. I believe 103 ip rule and routes in table 100 were causing this RPF failure. So I had to add the annotation to my workloads to bypass the RPF check by calico.
ip rule
0:      from all lookup local
100:    from all fwmark 0x200/0x200 goto 32766
101:    from all fwmark 0x100/0x100 lookup 101
102:    from all fwmark 0x40/0x40 lookup 102
103:    from all lookup 100
...

ip route sh table 100
<IP_ADDRESS> dev cali30566341ea4 scope link
<IP_ADDRESS> via <IP_ADDRESS> dev istioin src <IP_ADDRESS>

I suppose this 103 ip rule should be modified as it makes all egress traffic of pods served in ambient mode fail the RPF check.

Yes, I did not apply step 3 because I am using the ebpf redirection mode, so I think the ip rules is not a problem for me, maybe you could give it a try :)

Thanks. I was using the default iptables mode and haven't tried ebpf mode.

Will https://github.com/istio/istio/issues/48212 address this?

Will #48212 address this?

Yes

This is resolved, please try latest master or release 1.21 build, or wait for the official 1.21 release.  see https://github.com/istio/istio/issues/48212

Sorry, just got confirmation from Eric that the change is not in beta 0 yet, but should be in -beta.1 since it was merged after beta.0 was released. I expect that the new build will be available in a day or 2.


Same step pattern, different step types are not allowed; additionally step type is ignored in feature files

Steps defining all step type like so:
    #[Given('/^I take a page screenshot(?: as (.+))?$/')]
    #[Then('/^I take a page screenshot(?: as (.+))?$/')]
    #[When('/^I take a page screenshot(?: as (.+))?$/')]
    public function takeScreenshot(?string $name = null): void
    {

are causing errors like so:
  Scenario: clicking on something  # features/something.feature:3
    Given that I do something
      Step "/^I take a page screenshot(?: as (.+))?$/" is already defined in <...>\Debug\Context::takeScreenshot()

      <...>\Debug\Context::takeScreenshot()
      <...>\Debug\Context::takeScreenshot()
    And I am on page 1
      Step "/^I take a page screenshot(?: as (.+))?$/" is already defined in <...>\Debug\Context::takeScreenshot()

The same thing is happening for PHPDoc-based step annotations.
If I remove the #[Given.. and #[Then.., the errors are gone, and behat doesn't complain that I have a step defined as When but is used as Given in the feature file, for example.
Why does this happen? What's the point of using the step type (e.g. @Given) if it is ultimately ignored? (why not just have a @Step annotation/attribute in that case?)
In my opinion, steps should be consider unique by step pattern AND step type. Additionally, misusing steps (defined as Given, but used as Then) should trigger a runtime warning.

The step type is purely indicative. It does not impact the matching at all.
And changing that would be a BC break so it cannot be done in Behat 3.x.
Note that the step type is also indicative in Cucumber, so the existing behavior is consistent.

Thanks for the reply!
From what you say, I think the only course of action is to relax the step duplicate check in cases where the annotations/attributes apply to the exact same step (and in which case it wouldn't be a BC break). Wdyt?
If I get some time, I'll see if I can make this happen.

Well, there is strictly no benefit of adding it multiple times on the same method

Well, there is strictly no benefit of adding it multiple times on the same method

That is true...in the short term at least.
In my opinion, I still don't like the ambiguity and I would rather have an @Step (if they are all treated equally) or be more strict about Given/When/Then.
The way I see it, there are two ideal cases (as already mentioned) and a middle-ground (which is where we're at), and unfortunately, even that middle-ground is not implemented as expected due to the aforementioned uniqueness problem.