mitmproxy icon indicating copy to clipboard operation
mitmproxy copied to clipboard

mitmproxy_rs CI: Upgrade swift-protobuf

Open mhils opened this issue 3 months ago • 1 comments

Problem Description

swift-protobuf 1.31.0 changes the generated Swift files so that they are incompatible with our current version of SwiftProtobuf. We need to update SwiftProtobuf and then re-enable swift-protobuf in our autofix CI job.

Details: https://github.com/mitmproxy/mitmproxy_rs/pull/282/

/Users/runner/work/mitmproxy_rs/mitmproxy_rs/mitmproxy-macos/redirector/ipc/mitmproxy_ipc.pb.swift:285:67: error: argument passed to call that takes no arguments
  static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}data\0\u{3}tunnel_info\0")
                                                       ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

mhils avatar Sep 08 '25 15:09 mhils

@mhils can i work on that ?

Rohankaf avatar Nov 26 '25 19:11 Rohankaf