Skip to content

Instantly share code, notes, and snippets.

View dio's full-sized avatar
💥

Dhi Aurrahman dio

💥
  • Bandung, Indonesia
View GitHub Profile
@dio
dio / a.diff
Created November 6, 2022 10:50
diff --git a/source/common/runtime/runtime_features.cc b/source/common/runtime/runtime_features.cc
index 4b3cce5d32..8de74ef6f0 100644
--- a/source/common/runtime/runtime_features.cc
+++ b/source/common/runtime/runtime_features.cc
@@ -43,6 +43,7 @@ RUNTIME_GUARD(envoy_reloadable_features_delta_xds_subscription_state_tracking_fi
RUNTIME_GUARD(envoy_reloadable_features_do_not_await_headers_on_upstream_timeout_to_emit_stats);
RUNTIME_GUARD(envoy_reloadable_features_do_not_count_mapped_pages_as_free);
RUNTIME_GUARD(envoy_reloadable_features_enable_compression_bomb_protection);
+RUNTIME_GUARD(envoy_reloadable_features_ext_authz_http_service_5xx_is_denied);
RUNTIME_GUARD(envoy_reloadable_features_fix_hash_key);
# This script produces SOURCE_VERSION file with content from current version commit hash. As a
# reminder,SOURCE_VERSION is required when building Envoy from an extracted release tarball
# (non-git). See: bazel/get_workspace_status for more information.
#
# The SOURCE_VERSION file is produced by reading current version tag from VERSION.txt file then
# fetch the corresponding commit hash from GitHub.
#
# Note: This script can only be executed from project root directory of an extracted "release"
# tarball.
@dio
dio / a.txt
Created October 27, 2022 02:50
DEBUG: Rule 'com_googlesource_chromium_base_trace_event_common' indicated that a canonical reproducible form can be obtained by modifying arguments shallow_since = "1662669790 -0700"
@dio
dio / envoy.rb
Last active October 27, 2022 10:41
class Envoy < Formula
desc "Cloud-native high-performance edge/middle/service proxy"
homepage "https://www.envoyproxy.io/index.html"
url "https://github.com/envoyproxy/envoy/archive/refs/tags/v1.24.0.tar.gz"
sha256 "31a81841447fbb51589a198d8e8998f2b8ad1fff4921e017fa37691015b3a9f9"
license "Apache-2.0"
head "https://github.com/envoyproxy/envoy.git", branch: "main"
stable do
patch do
# The Clang available on MacOS has a warning that isn't clean on MLIR code. The
# warning doesn't show up with more recent Clangs, so just disable for now.
build:generic_clang --cxxopt=-Wno-range-loop-analysis --host_cxxopt=-Wno-range-loop-analysis
@dio
dio / envoy.rb
Last active October 21, 2022 07:27
class Envoy < Formula
desc "Cloud-native high-performance edge/middle/service proxy"
homepage "https://www.envoyproxy.io/index.html"
url "https://github.com/envoyproxy/envoy/archive/refs/tags/v1.23.2.tar.gz"
sha256 "d4bef9f8c6f0307a0c18968109754771a0040867c8f42d2105e08b7fbd69c5e1"
license "Apache-2.0"
head "https://github.com/envoyproxy/envoy.git", branch: "main"
livecheck do
url :stable
# This script produces SOURCE_VERSION file with content from current version commit hash. As a
# reminder,SOURCE_VERSION is required when building Envoy from an extracted release tarball
# (non-git). See: bazel/get_workspace_status for more information.
#
# The SOURCE_VERSION file is produced by reading current version tag from VERSION.txt file then
# fetch the corresponding commit hash from GitHub.
#
# Note: This script can only be executed from project root directory of an extracted "release"
# tarball.
@dio
dio / a.patch
Created October 19, 2022 06:56
diff --git a/bazel/v8.patch b/bazel/v8.patch
index 03c849156a..1b7a8f27b1 100644
--- a/bazel/v8.patch
+++ b/bazel/v8.patch
@@ -363,3 +363,16 @@ index 131ff9614e..6455f8757d 100644
char filename[] = "/tmp/v8_tmp_file_for_testing_XXXXXX";
fd = mkstemp(filename);
if (fd != -1) CHECK_EQ(0, unlink(filename));
+diff --git a/src/compiler/js-native-context-specialization.cc b/src/compiler/js-native-context-specialization.cc
+index 729d8ac99f..c1b0f7e0ba 100644
@dio
dio / v8-log.txt
Created September 25, 2022 09:12
#
# Fatal error in external/v8/src/base/platform/platform-posix.cc, line 478
# Check failed: 12 == (*__error()) (12 vs. 13).
#
#
#
#FailureMessage Object: 0x16b63df60
==== C stack trace ===============================
0 envoy-static 0x000000010a935be4 v8::base::debug::StackTrace::StackTrace() + 32
==> Summary
🍺 /opt/homebrew/Cellar/cmake/3.24.2: 3,106 files, 43.8MB
==> Running `brew cleanup cmake`...
==> Pouring go--1.19.1.arm64_monterey.bottle.tar.gz
🍺 /opt/homebrew/Cellar/go/1.19.1: 12,436 files, 629.0MB
==> Running `brew cleanup go`...
Error: Cannot install bazel because conflicting formulae are installed.
bazelisk: because Bazelisk replaces the bazel binary
Please `brew unlink bazelisk` before continuing.