Files
taxbaik/job1552.zip
T
kjh2064 6b0bf5b78e
TaxBaik CI/CD / build-and-deploy (push) Successful in 5m37s
🔍 Analysis: Identified WASM loading failure and loading UI issue
Root cause discovered via Playwright automation testing:

1. **WASM Bootstrap Script**:  Loads correctly
   - Script path: _framework/blazor.webassembly.js
   - Resolves to: /taxbaik/admin/_framework/blazor.webassembly.js

2. **WASM Assemblies**:  Not loading (404)
   - TaxBaik.Application.*.wasm: 404 (SRI check failed)
   - TaxBaik.Domain.*.wasm: 404 (SRI check failed)
   - TaxBaik.Web.Client.*.wasm: 404 (SRI check failed)
   - .pdb files: 404 (SRI check failed)

3. **Result**: WASM runtime fails to initialize
   - C# code never executes
   - AdminShell component never renders
   - hideLoading() never called
   - Loading UI remains visible permanently

4. **Loading UI Issue** (User-identified)
   - blazor-loading-overlay.show covers entire screen
   - Should be hidden once WASM completes, but never does
   - Creates perception of frozen/broken app

**Next Step**: Investigate static file serving configuration
- Check if _framework directory is accessible
- Verify SRI (Subresource Integrity) configuration
- Test direct WASM file access

**Testing Method**: Playwright automated browser testing
- Can execute JavaScript (unlike curl)
- Captures browser console errors
- Tracks resource loading failures
- Validates final rendering state

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-07-04 20:57:25 +09:00

946 lines
80 KiB
Plaintext

2026-07-04T11:42:30.0567403Z hz-prod-runner(version:v0.6.1) received task 1516 of job build-and-deploy, be triggered by event: push
2026-07-04T11:42:30.0580621Z workflow prepared
2026-07-04T11:42:30.0581689Z evaluating expression 'success()'
2026-07-04T11:42:30.0583931Z expression 'success()' evaluated to 'true'
2026-07-04T11:42:30.0584883Z 🚀 Start image=docker.gitea.com/runner-images:ubuntu-latest
2026-07-04T11:42:30.0906041Z 🐳 docker pull image=docker.gitea.com/runner-images:ubuntu-latest platform= username= forcePull=false
2026-07-04T11:42:30.0906469Z 🐳 docker pull docker.gitea.com/runner-images:ubuntu-latest
2026-07-04T11:42:30.1729089Z Image exists? true
2026-07-04T11:42:30.3287757Z 🐳 docker create image=docker.gitea.com/runner-images:ubuntu-latest platform= entrypoint=["/bin/sleep" "10800"] cmd=[] network="gitea_default"
2026-07-04T11:42:30.4959124Z Created container name=GITEA-ACTIONS-TASK-1516-WORKFLOW-TaxBaik-CI-CD-JOB-build-and-de-2a7daee2084bff91b11c6ea9ee980c5a04abe542a26ee3bf5f0e0f5028069029 id=38a8f2573b175905af3061f62859a62215b44ac231968fbb4eeafac8bd92afd1 from image docker.gitea.com/runner-images:ubuntu-latest (platform: )
2026-07-04T11:42:30.4959600Z ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_ARCH=X64 RUNNER_TEMP=/tmp LANG=C.UTF-8]
2026-07-04T11:42:30.4959977Z 🐳 docker run image=docker.gitea.com/runner-images:ubuntu-latest platform= entrypoint=["/bin/sleep" "10800"] cmd=[] network="gitea_default"
2026-07-04T11:42:30.4960192Z Starting container: 38a8f2573b175905af3061f62859a62215b44ac231968fbb4eeafac8bd92afd1
2026-07-04T11:42:30.8295114Z Started container: 38a8f2573b175905af3061f62859a62215b44ac231968fbb4eeafac8bd92afd1
2026-07-04T11:42:31.0136476Z Writing entry to tarball workflow/event.json len:4880
2026-07-04T11:42:31.0137207Z Writing entry to tarball workflow/envs.txt len:0
2026-07-04T11:42:31.0137409Z Extracting content to '/var/run/act/'
2026-07-04T11:42:31.0383095Z ☁ git clone 'https://github.com/actions/checkout' # ref=v4
2026-07-04T11:42:31.0383883Z cloning https://github.com/actions/checkout to /root/.cache/act/c3fe249fe73091a17d6638fe1341e7bd0bcc3466ce52323c0688e83e2463a4ab
2026-07-04T11:42:31.9691400Z Unable to pull refs/heads/v4: non-fast-forward update
2026-07-04T11:42:31.9691832Z Cloned https://github.com/actions/checkout to /root/.cache/act/c3fe249fe73091a17d6638fe1341e7bd0bcc3466ce52323c0688e83e2463a4ab
2026-07-04T11:42:31.9871765Z Checked out v4
2026-07-04T11:42:31.9979951Z ☁ git clone 'https://github.com/actions/setup-dotnet' # ref=v4
2026-07-04T11:42:31.9980390Z cloning https://github.com/actions/setup-dotnet to /root/.cache/act/2d637816dd86ec9ff59dad9ec3547bf90b88133b3029538a91ec96ac7f316336
2026-07-04T11:42:33.0268700Z Unable to pull refs/heads/v4: worktree contains unstaged changes
2026-07-04T11:42:33.0269261Z Cloned https://github.com/actions/setup-dotnet to /root/.cache/act/2d637816dd86ec9ff59dad9ec3547bf90b88133b3029538a91ec96ac7f316336
2026-07-04T11:42:33.0686790Z Checked out v4
2026-07-04T11:42:33.0985282Z evaluating expression ''
2026-07-04T11:42:33.0985874Z expression '' evaluated to 'true'
2026-07-04T11:42:33.0986000Z ⭐ Run Main Checkout code
2026-07-04T11:42:33.0986497Z Writing entry to tarball workflow/outputcmd.txt len:0
2026-07-04T11:42:33.0986684Z Writing entry to tarball workflow/statecmd.txt len:0
2026-07-04T11:42:33.0986797Z Writing entry to tarball workflow/pathcmd.txt len:0
2026-07-04T11:42:33.0986911Z Writing entry to tarball workflow/envs.txt len:0
2026-07-04T11:42:33.0987001Z Writing entry to tarball workflow/SUMMARY.md len:0
2026-07-04T11:42:33.0987094Z Extracting content to '/var/run/act'
2026-07-04T11:42:33.1014520Z ::group::Run Checkout code
2026-07-04T11:42:34.5549758Z ::add-matcher::/run/act/actions/c3fe249fe73091a17d6638fe1341e7bd0bcc3466ce52323c0688e83e2463a4ab/dist/problem-matcher.json
2026-07-04T11:42:34.5549935Z Syncing repository: ***/taxbaik
2026-07-04T11:42:34.5550128Z ::group::Getting Git version info
2026-07-04T11:42:34.5551164Z Working directory is '/workspace/***/taxbaik'
2026-07-04T11:42:34.5744535Z [command]/usr/bin/git version
2026-07-04T11:42:34.6429840Z git version 2.54.0
2026-07-04T11:42:34.6621090Z ::endgroup::
2026-07-04T11:42:34.6691754Z Temporarily overriding HOME='/tmp/b488b9f6-1242-4dfe-a2ed-134d2c3815d4' before making global git config changes
2026-07-04T11:42:34.6696992Z Adding repository directory to the temporary git global config as a safe directory
2026-07-04T11:42:34.6705685Z [command]/usr/bin/git config --global --add safe.directory /workspace/***/taxbaik
2026-07-04T11:42:34.7021178Z Deleting the contents of '/workspace/***/taxbaik'
2026-07-04T11:42:34.7032551Z ::group::Initializing the repository
2026-07-04T11:42:34.7080076Z [command]/usr/bin/git init /workspace/***/taxbaik
2026-07-04T11:42:34.7367355Z hint: Using 'master' as the name for the initial branch. This default branch name
2026-07-04T11:42:34.7367795Z hint: will change to "main" in Git 3.0. To configure the initial branch name
2026-07-04T11:42:34.7367943Z hint: to use in all of your new repositories, which will suppress this warning,
2026-07-04T11:42:34.7368231Z hint: call:
2026-07-04T11:42:34.7368312Z hint:
2026-07-04T11:42:34.7368384Z hint: git config --global init.defaultBranch <name>
2026-07-04T11:42:34.7368486Z hint:
2026-07-04T11:42:34.7368557Z hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
2026-07-04T11:42:34.7368641Z hint: 'development'. The just-created branch can be renamed via this command:
2026-07-04T11:42:34.7368722Z hint:
2026-07-04T11:42:34.7368821Z hint: git branch -m <name>
2026-07-04T11:42:34.7368897Z hint:
2026-07-04T11:42:34.7368965Z hint: Disable this message with "git config set advice.defaultBranchName false"
2026-07-04T11:42:34.7369074Z Initialized empty Git repository in /workspace/***/taxbaik/.git/
2026-07-04T11:42:34.7369604Z [command]/usr/bin/git remote add origin http://gitea:3000/***/taxbaik
2026-07-04T11:42:34.7481134Z ::endgroup::
2026-07-04T11:42:34.7481611Z ::group::Disabling automatic garbage collection
2026-07-04T11:42:34.7481839Z [command]/usr/bin/git config --local gc.auto 0
2026-07-04T11:42:34.7482393Z ::endgroup::
2026-07-04T11:42:34.7482562Z ::group::Setting up auth
2026-07-04T11:42:34.7482655Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
2026-07-04T11:42:34.7483305Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
2026-07-04T11:42:34.8600664Z [command]/usr/bin/git config --local --name-only --get-regexp http\.http\:\/\/gitea\:3000\/\.extraheader
2026-07-04T11:42:34.8601700Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.http\:\/\/gitea\:3000\/\.extraheader' && git config --local --unset-all 'http.http://gitea:3000/.extraheader' || :"
2026-07-04T11:42:34.8959722Z [command]/usr/bin/git config --local --name-only --get-regexp ^includeIf\.gitdir:
2026-07-04T11:42:34.9019506Z [command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
2026-07-04T11:42:34.9298408Z [command]/usr/bin/git config --local http.http://gitea:3000/.extraheader AUTHORIZATION: basic ***
2026-07-04T11:42:34.9321056Z ::endgroup::
2026-07-04T11:42:34.9321266Z ::group::Fetching the repository
2026-07-04T11:42:34.9347156Z [command]/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +e1f3fc527061cd918a686804f62bc055a7664ca6:refs/remotes/origin/master
2026-07-04T11:42:47.2056813Z From http://gitea:3000/***/taxbaik
2026-07-04T11:42:47.2057565Z * [new ref] e1f3fc527061cd918a686804f62bc055a7664ca6 -> origin/master
2026-07-04T11:42:47.3028041Z ::endgroup::
2026-07-04T11:42:47.3028283Z ::group::Determining the checkout info
2026-07-04T11:42:47.3028670Z ::endgroup::
2026-07-04T11:42:47.3166773Z [command]/usr/bin/git sparse-checkout disable
2026-07-04T11:42:47.3332402Z [command]/usr/bin/git config --local --unset-all extensions.worktreeConfig
2026-07-04T11:42:47.3405025Z ::group::Checking out the ref
2026-07-04T11:42:47.3417157Z [command]/usr/bin/git checkout --progress --force -B master refs/remotes/origin/master
2026-07-04T11:42:49.3062166Z Updating files: 75% (991/1313)
Updating files: 76% (998/1313)
Updating files: 77% (1012/1313)
Updating files: 78% (1025/1313)
Updating files: 79% (1038/1313)
Updating files: 80% (1051/1313)
Updating files: 81% (1064/1313)
Updating files: 82% (1077/1313)
Updating files: 83% (1090/1313)
Updating files: 84% (1103/1313)
Updating files: 85% (1117/1313)
Updating files: 86% (1130/1313)
Updating files: 87% (1143/1313)
Updating files: 88% (1156/1313)
Updating files: 89% (1169/1313)
Updating files: 90% (1182/1313)
Updating files: 91% (1195/1313)
Updating files: 92% (1208/1313)
Updating files: 93% (1222/1313)
Updating files: 94% (1235/1313)
Updating files: 95% (1248/1313)
Updating files: 96% (1261/1313)
Updating files: 97% (1274/1313)
Updating files: 98% (1287/1313)
Updating files: 99% (1300/1313)
Updating files: 100% (1313/1313)
Updating files: 100% (1313/1313), done.
2026-07-04T11:42:49.3120498Z Reset branch 'master'
2026-07-04T11:42:49.3147914Z branch 'master' set up to track 'origin/master'.
2026-07-04T11:42:49.3191844Z ::endgroup::
2026-07-04T11:42:49.3302985Z [command]/usr/bin/git log -1 --format=%H
2026-07-04T11:42:49.3418285Z e1f3fc527061cd918a686804f62bc055a7664ca6
2026-07-04T11:42:49.3498697Z ::remove-matcher owner=checkout-git::
2026-07-04T11:42:49.3870591Z ::endgroup::
2026-07-04T11:42:49.5068685Z ::group::Run Setup .NET
2026-07-04T11:42:49.5068955Z with:
2026-07-04T11:42:49.5069121Z dotnet-version: 10.0
2026-07-04T11:42:51.7487272Z (node:141) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
2026-07-04T11:42:51.7487964Z (Use `node --trace-deprecation ...` to show where the warning was created)
2026-07-04T11:42:51.7658250Z [command]/run/act/actions/2d637816dd86ec9ff59dad9ec3547bf90b88133b3029538a91ec96ac7f316336/externals/install-dotnet.sh --skip-non-versioned-files --runtime dotnet --channel LTS
2026-07-04T11:42:52.8587260Z dotnet-install: Attempting to download using aka.ms link https://builds.dotnet.microsoft.com/dotnet/Runtime/10.0.9/dotnet-runtime-10.0.9-linux-x64.tar.gz
2026-07-04T11:42:53.3980686Z dotnet-install: Remote file https://builds.dotnet.microsoft.com/dotnet/Runtime/10.0.9/dotnet-runtime-10.0.9-linux-x64.tar.gz size is 36606251 bytes.
2026-07-04T11:42:53.4008884Z dotnet-install: Extracting archive from https://builds.dotnet.microsoft.com/dotnet/Runtime/10.0.9/dotnet-runtime-10.0.9-linux-x64.tar.gz
2026-07-04T11:42:55.9207278Z dotnet-install: Downloaded file size is 36606251 bytes.
2026-07-04T11:42:55.9207818Z dotnet-install: The remote and local file sizes are equal.
2026-07-04T11:42:55.9454913Z dotnet-install: Installed version is 10.0.9
2026-07-04T11:42:55.9543172Z dotnet-install: Adding to current process PATH: `/usr/share/dotnet`. Note: This change will be visible only when sourcing script.
2026-07-04T11:42:55.9543783Z dotnet-install: Note that the script does not resolve dependencies during installation.
2026-07-04T11:42:55.9543916Z dotnet-install: To check the list of dependencies, go to https://learn.microsoft.com/dotnet/core/install, select your operating system and check the "Dependencies" section.
2026-07-04T11:42:55.9544055Z dotnet-install: Installation finished successfully.
2026-07-04T11:42:55.9566967Z [command]/run/act/actions/2d637816dd86ec9ff59dad9ec3547bf90b88133b3029538a91ec96ac7f316336/externals/install-dotnet.sh --skip-non-versioned-files --channel 10.0
2026-07-04T11:42:56.6780669Z dotnet-install: Attempting to download using aka.ms link https://builds.dotnet.microsoft.com/dotnet/Sdk/10.0.301/dotnet-sdk-10.0.301-linux-x64.tar.gz
2026-07-04T11:42:58.1177288Z dotnet-install: Remote file https://builds.dotnet.microsoft.com/dotnet/Sdk/10.0.301/dotnet-sdk-10.0.301-linux-x64.tar.gz size is 235086718 bytes.
2026-07-04T11:42:58.1196866Z dotnet-install: Extracting archive from https://builds.dotnet.microsoft.com/dotnet/Sdk/10.0.301/dotnet-sdk-10.0.301-linux-x64.tar.gz
2026-07-04T11:43:14.1296924Z dotnet-install: Downloaded file size is 235086718 bytes.
2026-07-04T11:43:14.1297593Z dotnet-install: The remote and local file sizes are equal.
2026-07-04T11:43:14.3012045Z dotnet-install: Installed version is 10.0.301
2026-07-04T11:43:14.3106929Z dotnet-install: Adding to current process PATH: `/usr/share/dotnet`. Note: This change will be visible only when sourcing script.
2026-07-04T11:43:14.3107653Z dotnet-install: Note that the script does not resolve dependencies during installation.
2026-07-04T11:43:14.3108081Z dotnet-install: To check the list of dependencies, go to https://learn.microsoft.com/dotnet/core/install, select your operating system and check the "Dependencies" section.
2026-07-04T11:43:14.3108331Z dotnet-install: Installation finished successfully.
2026-07-04T11:43:14.3122021Z ##[add-matcher]/run/act/actions/2d637816dd86ec9ff59dad9ec3547bf90b88133b3029538a91ec96ac7f316336/.github/csc.json
2026-07-04T11:43:14.3596501Z ::endgroup::
2026-07-04T11:43:14.6005903Z ::group::Run dotnet restore src/TaxBaik.sln
2026-07-04T11:43:14.6006418Z dotnet restore src/TaxBaik.sln
2026-07-04T11:43:14.6006532Z shell: bash --noprofile --norc -e -o pipefail {0}
2026-07-04T11:43:14.6006720Z ::endgroup::
2026-07-04T11:43:15.1983220Z
2026-07-04T11:43:15.1993376Z Welcome to .NET 10.0!
2026-07-04T11:43:15.1993739Z ---------------------
2026-07-04T11:43:15.1993852Z SDK Version: 10.0.301
2026-07-04T11:43:15.1993939Z
2026-07-04T11:43:15.1994017Z Telemetry
2026-07-04T11:43:15.1994238Z ---------
2026-07-04T11:43:15.1994335Z The .NET tools collect usage data in order to help us improve your experience. It is collected by Microsoft and shared with the community. You can opt-out of telemetry by setting the DOTNET_CLI_TELEMETRY_OPTOUT environment variable to '1' or 'true' using your favorite shell.
2026-07-04T11:43:15.1994504Z
2026-07-04T11:43:15.1994587Z Read more about .NET CLI Tools telemetry: https://aka.ms/dotnet-cli-telemetry
2026-07-04T11:43:15.6166548Z
2026-07-04T11:43:15.6168560Z ----------------
2026-07-04T11:43:15.6168781Z Installed an ASP.NET Core HTTPS development certificate.
2026-07-04T11:43:15.6169045Z To trust the certificate, run 'dotnet dev-certs https --trust'
2026-07-04T11:43:15.6170166Z Learn about HTTPS: https://aka.ms/dotnet-https
2026-07-04T11:43:15.6171653Z
2026-07-04T11:43:15.6187095Z ----------------
2026-07-04T11:43:15.6187441Z Write your first app: https://aka.ms/dotnet-hello-world
2026-07-04T11:43:15.6187561Z Find out what's new: https://aka.ms/dotnet-whats-new
2026-07-04T11:43:15.6187695Z Explore documentation: https://aka.ms/dotnet-docs
2026-07-04T11:43:15.6187906Z Report issues and find source on GitHub: https://github.com/dotnet/core
2026-07-04T11:43:15.6188022Z Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli
2026-07-04T11:43:15.6188119Z --------------------------------------------------------------------------------------
2026-07-04T11:43:17.6127744Z Determining projects to restore...
2026-07-04T11:43:25.0109033Z Restored /workspace/***/taxbaik/src/TaxBaik.Infrastructure/TaxBaik.Infrastructure.csproj (in 5.86 sec).
2026-07-04T11:43:25.0112880Z Restored /workspace/***/taxbaik/src/TaxBaik.Web/TaxBaik.Web.csproj (in 5.86 sec).
2026-07-04T11:43:25.0327726Z Restored /workspace/***/taxbaik/src/TaxBaik.Domain/TaxBaik.Domain.csproj (in 9 ms).
2026-07-04T11:43:25.3129051Z Restored /workspace/***/taxbaik/src/TaxBaik.Application/TaxBaik.Application.csproj (in 262 ms).
2026-07-04T11:43:31.6801430Z Restored /workspace/***/taxbaik/src/TaxBaik.Application.Tests/TaxBaik.Application.Tests.csproj (in 6.31 sec).
2026-07-04T11:43:32.4593603Z Restored /workspace/***/taxbaik/src/TaxBaik.Web.Client/TaxBaik.Web.Client.csproj (in 7.43 sec).
2026-07-04T11:43:32.7525159Z ::group::Run dotnet build src/TaxBaik.sln -c Release --no-restore -p:ContinuousIntegrationBuild=true
2026-07-04T11:43:32.7525554Z dotnet build src/TaxBaik.sln -c Release --no-restore -p:ContinuousIntegrationBuild=true
2026-07-04T11:43:32.7525805Z shell: bash --noprofile --norc -e -o pipefail {0}
2026-07-04T11:43:32.7525993Z ::endgroup::
2026-07-04T11:43:53.4249034Z TaxBaik.Domain -> /workspace/***/taxbaik/src/TaxBaik.Domain/bin/Release/net10.0/TaxBaik.Domain.dll
2026-07-04T11:44:05.0763087Z TaxBaik.Application -> /workspace/***/taxbaik/src/TaxBaik.Application/bin/Release/net10.0/TaxBaik.Application.dll
2026-07-04T11:44:09.1168757Z TaxBaik.Infrastructure -> /workspace/***/taxbaik/src/TaxBaik.Infrastructure/bin/Release/net10.0/TaxBaik.Infrastructure.dll
2026-07-04T11:45:17.9673308Z TaxBaik.Web.Client -> /workspace/***/taxbaik/src/TaxBaik.Web.Client/bin/Debug/net10.0/TaxBaik.Web.Client.dll
2026-07-04T11:45:18.0118709Z TaxBaik.Web.Client (Blazor output) -> /workspace/***/taxbaik/src/TaxBaik.Web.Client/bin/Debug/net10.0/wwwroot
2026-07-04T11:45:54.8469841Z TaxBaik.Web -> /workspace/***/taxbaik/src/TaxBaik.Web/bin/Release/net10.0/TaxBaik.Web.dll
2026-07-04T11:45:58.7533019Z TaxBaik.Application.Tests -> /workspace/***/taxbaik/src/TaxBaik.Application.Tests/bin/Release/net10.0/TaxBaik.Application.Tests.dll
2026-07-04T11:45:58.9053066Z
2026-07-04T11:45:58.9054121Z Build succeeded.
2026-07-04T11:45:58.9054328Z 0 Warning(s)
2026-07-04T11:45:58.9054503Z 0 Error(s)
2026-07-04T11:45:58.9054957Z
2026-07-04T11:45:58.9055109Z Time Elapsed 00:02:24.73
2026-07-04T11:45:59.3909332Z ::group::Run dotnet test src/TaxBaik.sln -c Release --no-build
2026-07-04T11:45:59.3909711Z dotnet test src/TaxBaik.sln -c Release --no-build
2026-07-04T11:45:59.3909832Z shell: bash --noprofile --norc -e -o pipefail {0}
2026-07-04T11:45:59.3909955Z ::endgroup::
2026-07-04T11:46:06.7562907Z Test run for /workspace/***/taxbaik/src/TaxBaik.Application.Tests/bin/Release/net10.0/TaxBaik.Application.Tests.dll (.NETCoreApp,Version=v10.0)
2026-07-04T11:46:07.4871282Z A total of 1 test files matched the specified pattern.
2026-07-04T11:46:11.1428818Z
2026-07-04T11:46:11.2278716Z Passed! - Failed: 0, Passed: 26, Skipped: 0, Total: 26, Duration: 549 ms - TaxBaik.Application.Tests.dll (net10.0)
2026-07-04T11:46:11.7079415Z ::group::Run set -e
2026-07-04T11:46:11.7079754Z set -e
2026-07-04T11:46:11.7079872Z mkdir -p ./publish-logs
2026-07-04T11:46:11.7079963Z web_log="./publish-logs/publish-web.log"
2026-07-04T11:46:11.7080061Z start=$(date +%s)
2026-07-04T11:46:11.7080147Z # Web.Client needs a Release static-web-assets manifest for Web publish.
2026-07-04T11:46:11.7080239Z # Build it explicitly so publish can reuse the prepared outputs.
2026-07-04T11:46:11.7080328Z dotnet build src/TaxBaik.Web.Client/TaxBaik.Web.Client.csproj -c Release --no-restore -p:ContinuousIntegrationBuild=true
2026-07-04T11:46:11.7080428Z # Build the Web host in Release as well so publish has the same inputs
2026-07-04T11:46:11.7080514Z # the server uses in production.
2026-07-04T11:46:11.7080599Z dotnet build src/TaxBaik.Web/TaxBaik.Web.csproj -c Release --no-restore -p:ContinuousIntegrationBuild=true
2026-07-04T11:46:11.7080694Z echo "--- Web.Client Release artifacts ---"
2026-07-04T11:46:11.7080773Z ls -la src/TaxBaik.Web.Client/bin/Release/net10.0 || true
2026-07-04T11:46:11.7080858Z ls -la src/TaxBaik.Web.Client/obj/Release/net10.0 || true
2026-07-04T11:46:11.7080939Z if ! dotnet publish src/TaxBaik.Web/ \
2026-07-04T11:46:11.7081016Z -c Release \
2026-07-04T11:46:11.7081110Z -o ./publish \
2026-07-04T11:46:11.7081184Z --no-restore \
2026-07-04T11:46:11.7081258Z -p:SelfContained=false \
2026-07-04T11:46:11.7081332Z -p:PublishReadyToRun=false \
2026-07-04T11:46:11.7081410Z -p:PerformanceSummary=true \
2026-07-04T11:46:11.7081585Z -clp:Summary \
2026-07-04T11:46:11.7081673Z -bl:"./publish-logs/publish-web.binlog" >"$web_log" 2>&1; then
2026-07-04T11:46:11.7081765Z echo "=== Publish Web failed; tailing log ==="
2026-07-04T11:46:11.7081865Z tail -n 120 "$web_log" || true
2026-07-04T11:46:11.7081950Z exit 1
2026-07-04T11:46:11.7082038Z fi
2026-07-04T11:46:11.7082108Z end=$(date +%s)
2026-07-04T11:46:11.7082208Z echo "✓ Publish Web elapsed: $((end - start))s"
2026-07-04T11:46:11.7082314Z ls -lh ./publish-logs/publish-web.binlog
2026-07-04T11:46:11.7082407Z shell: bash --noprofile --norc -e -o pipefail {0}
2026-07-04T11:46:11.7082514Z ::endgroup::
2026-07-04T11:46:15.5308281Z TaxBaik.Domain -> /workspace/***/taxbaik/src/TaxBaik.Domain/bin/Release/net10.0/TaxBaik.Domain.dll
2026-07-04T11:46:16.2218336Z TaxBaik.Application -> /workspace/***/taxbaik/src/TaxBaik.Application/bin/Release/net10.0/TaxBaik.Application.dll
2026-07-04T11:47:07.0057046Z TaxBaik.Web.Client -> /workspace/***/taxbaik/src/TaxBaik.Web.Client/bin/Release/net10.0/TaxBaik.Web.Client.dll
2026-07-04T11:47:07.0057566Z TaxBaik.Web.Client (Blazor output) -> /workspace/***/taxbaik/src/TaxBaik.Web.Client/bin/Release/net10.0/wwwroot
2026-07-04T11:47:07.1355542Z
2026-07-04T11:47:07.1376553Z Build succeeded.
2026-07-04T11:47:07.1390711Z 0 Warning(s)
2026-07-04T11:47:07.1391205Z 0 Error(s)
2026-07-04T11:47:07.1391393Z
2026-07-04T11:47:07.1391776Z Time Elapsed 00:00:54.15
2026-07-04T11:47:14.7841475Z TaxBaik.Domain -> /workspace/***/taxbaik/src/TaxBaik.Domain/bin/Release/net10.0/TaxBaik.Domain.dll
2026-07-04T11:47:14.9093264Z TaxBaik.Infrastructure -> /workspace/***/taxbaik/src/TaxBaik.Infrastructure/bin/Release/net10.0/TaxBaik.Infrastructure.dll
2026-07-04T11:47:16.7126389Z TaxBaik.Application -> /workspace/***/taxbaik/src/TaxBaik.Application/bin/Release/net10.0/TaxBaik.Application.dll
2026-07-04T11:47:26.1349693Z TaxBaik.Web.Client -> /workspace/***/taxbaik/src/TaxBaik.Web.Client/bin/Release/net10.0/TaxBaik.Web.Client.dll
2026-07-04T11:47:26.1377350Z TaxBaik.Web.Client (Blazor output) -> /workspace/***/taxbaik/src/TaxBaik.Web.Client/bin/Release/net10.0/wwwroot
2026-07-04T11:47:45.8590530Z TaxBaik.Web -> /workspace/***/taxbaik/src/TaxBaik.Web/bin/Release/net10.0/TaxBaik.Web.dll
2026-07-04T11:47:46.1057603Z
2026-07-04T11:47:46.1058993Z Build succeeded.
2026-07-04T11:47:46.1106751Z 0 Warning(s)
2026-07-04T11:47:46.1107029Z 0 Error(s)
2026-07-04T11:47:46.1107202Z
2026-07-04T11:47:46.1317117Z Time Elapsed 00:00:36.73
2026-07-04T11:47:46.4310398Z --- Web.Client Release artifacts ---
2026-07-04T11:47:46.4667727Z total 42056
2026-07-04T11:47:46.4668992Z drwxr-xr-x 3 root root 20480 Jul 4 11:47 .
2026-07-04T11:47:46.4694723Z drwxr-xr-x 3 root root 4096 Jul 4 11:46 ..
2026-07-04T11:47:46.4695108Z -rwxr--r-- 1 root root 55632 May 20 20:19 Microsoft.AspNetCore.Authorization.dll
2026-07-04T11:47:46.4695685Z -rwxr--r-- 1 root root 34128 May 20 20:19 Microsoft.AspNetCore.Components.Authorization.dll
2026-07-04T11:47:46.4695976Z -rwxr--r-- 1 root root 47952 May 20 20:19 Microsoft.AspNetCore.Components.Forms.dll
2026-07-04T11:47:46.4696583Z -rwxr--r-- 1 root root 189264 May 20 20:19 Microsoft.AspNetCore.Components.Web.dll
2026-07-04T11:47:46.4696870Z -rwxr--r-- 1 root root 166736 May 20 20:20 Microsoft.AspNetCore.Components.WebAssembly.dll
2026-07-04T11:47:46.4697376Z -rwxr--r-- 1 root root 399184 May 20 20:19 Microsoft.AspNetCore.Components.dll
2026-07-04T11:47:46.4697743Z -rwxr--r-- 1 root root 16208 May 20 20:18 Microsoft.AspNetCore.Metadata.dll
2026-07-04T11:47:46.4697927Z -rwxr--r-- 1 root root 19248 Dec 12 2025 Microsoft.Bcl.Cryptography.dll
2026-07-04T11:47:46.4698489Z -rwxr--r-- 1 root root 311632 May 20 18:30 Microsoft.CSharp.dll
2026-07-04T11:47:46.4698771Z -rwxr--r-- 1 root root 38192 Oct 24 2025 Microsoft.Extensions.Caching.Abstractions.dll
2026-07-04T11:47:46.4699552Z -rwxr--r-- 1 root root 28496 May 20 19:29 Microsoft.Extensions.Configuration.Abstractions.dll
2026-07-04T11:47:46.4699752Z -rwxr--r-- 1 root root 43344 May 20 19:32 Microsoft.Extensions.Configuration.Binder.dll
2026-07-04T11:47:46.4699872Z -rwxr--r-- 1 root root 28496 May 20 19:34 Microsoft.Extensions.Configuration.FileExtensions.dll
2026-07-04T11:47:46.4700414Z -rwxr--r-- 1 root root 27984 May 20 19:36 Microsoft.Extensions.Configuration.Json.dll
2026-07-04T11:47:46.4700599Z -rwxr--r-- 1 root root 44880 May 20 19:29 Microsoft.Extensions.Configuration.dll
2026-07-04T11:47:46.4700693Z -rwxr--r-- 1 root root 65872 May 20 19:29 Microsoft.Extensions.DependencyInjection.Abstractions.dll
2026-07-04T11:47:46.4700787Z -rwxr--r-- 1 root root 95568 May 20 19:30 Microsoft.Extensions.DependencyInjection.dll
2026-07-04T11:47:46.4700895Z -rwxr--r-- 1 root root 31056 May 20 19:32 Microsoft.Extensions.Diagnostics.Abstractions.dll
2026-07-04T11:47:46.4700983Z -rwxr--r-- 1 root root 36176 May 20 19:34 Microsoft.Extensions.Diagnostics.dll
2026-07-04T11:47:46.4701400Z -rwxr--r-- 1 root root 23376 May 20 19:29 Microsoft.Extensions.FileProviders.Abstractions.dll
2026-07-04T11:47:46.4701559Z -rwxr--r-- 1 root root 45392 May 20 19:33 Microsoft.Extensions.FileProviders.Physical.dll
2026-07-04T11:47:46.4701682Z -rwxr--r-- 1 root root 47952 May 20 19:30 Microsoft.Extensions.FileSystemGlobbing.dll
2026-07-04T11:47:46.4702060Z -rwxr--r-- 1 root root 93008 May 20 19:37 Microsoft.Extensions.Http.dll
2026-07-04T11:47:46.4702248Z -rwxr--r-- 1 root root 19576 Mar 25 2023 Microsoft.Extensions.Localization.Abstractions.dll
2026-07-04T11:47:46.4702365Z -rwxr--r-- 1 root root 31872 Mar 25 2023 Microsoft.Extensions.Localization.dll
2026-07-04T11:47:46.4702453Z -rwxr--r-- 1 root root 66896 May 20 19:29 Microsoft.Extensions.Logging.Abstractions.dll
2026-07-04T11:47:46.4702541Z -rwxr--r-- 1 root root 51536 May 20 19:33 Microsoft.Extensions.Logging.dll
2026-07-04T11:47:46.4702846Z -rwxr--r-- 1 root root 21840 May 20 19:33 Microsoft.Extensions.Options.ConfigurationExtensions.dll
2026-07-04T11:47:46.4703042Z -rwxr--r-- 1 root root 65360 May 20 19:30 Microsoft.Extensions.Options.dll
2026-07-04T11:47:46.4703143Z -rwxr--r-- 1 root root 44880 May 20 19:29 Microsoft.Extensions.Primitives.dll
2026-07-04T11:47:46.4703226Z -rwxr--r-- 1 root root 43344 May 20 20:19 Microsoft.Extensions.Validation.dll
2026-07-04T11:47:46.4703337Z -rwxr--r-- 1 root root 19296 Jun 2 20:51 Microsoft.IdentityModel.Abstractions.dll
2026-07-04T11:47:46.4703427Z -rwxr--r-- 1 root root 172856 Jun 2 20:52 Microsoft.IdentityModel.JsonWebTokens.dll
2026-07-04T11:47:46.4704111Z -rwxr--r-- 1 root root 38200 Jun 2 20:51 Microsoft.IdentityModel.Logging.dll
2026-07-04T11:47:46.4704286Z -rwxr--r-- 1 root root 407352 Jun 2 20:51 Microsoft.IdentityModel.Tokens.dll
2026-07-04T11:47:46.4704476Z -rwxr--r-- 1 root root 24912 May 20 20:20 Microsoft.JSInterop.WebAssembly.dll
2026-07-04T11:47:46.4704857Z -rwxr--r-- 1 root root 75088 May 20 20:19 Microsoft.JSInterop.dll
2026-07-04T11:47:46.4704976Z -rwxr--r-- 1 root root 428880 May 20 18:30 Microsoft.VisualBasic.Core.dll
2026-07-04T11:47:46.4705099Z -rwxr--r-- 1 root root 17232 May 20 18:31 Microsoft.VisualBasic.dll
2026-07-04T11:47:46.4705201Z -rwxr--r-- 1 root root 15696 May 20 18:29 Microsoft.Win32.Primitives.dll
2026-07-04T11:47:46.4705472Z -rwxr--r-- 1 root root 33104 May 20 18:29 Microsoft.Win32.Registry.dll
2026-07-04T11:47:46.4705850Z -rwxr--r-- 1 root root 9108480 Sep 14 2023 MudBlazor.dll
2026-07-04T11:47:46.4705955Z -rwxr--r-- 1 root root 15184 May 20 18:31 System.AppContext.dll
2026-07-04T11:47:46.4706348Z -rwxr--r-- 1 root root 15184 May 20 18:30 System.Buffers.dll
2026-07-04T11:47:46.4706499Z -rwxr--r-- 1 root root 88912 May 20 18:29 System.Collections.Concurrent.dll
2026-07-04T11:47:46.4706619Z -rwxr--r-- 1 root root 251216 May 20 18:29 System.Collections.Immutable.dll
2026-07-04T11:47:46.4706709Z -rwxr--r-- 1 root root 47952 May 20 18:29 System.Collections.NonGeneric.dll
2026-07-04T11:47:46.4706812Z -rwxr--r-- 1 root root 47952 May 20 18:29 System.Collections.Specialized.dll
2026-07-04T11:47:46.4706922Z -rwxr--r-- 1 root root 112976 May 20 18:28 System.Collections.dll
2026-07-04T11:47:46.4707306Z -rwxr--r-- 1 root root 102736 May 20 18:31 System.ComponentModel.Annotations.dll
2026-07-04T11:47:46.4707413Z -rwxr--r-- 1 root root 16720 May 20 18:31 System.ComponentModel.DataAnnotations.dll
2026-07-04T11:47:46.4707499Z -rwxr--r-- 1 root root 26448 May 20 18:29 System.ComponentModel.EventBasedAsync.dll
2026-07-04T11:47:46.4707610Z -rwxr--r-- 1 root root 42320 May 20 18:29 System.ComponentModel.Primitives.dll
2026-07-04T11:47:46.4707692Z -rwxr--r-- 1 root root 316752 May 20 18:31 System.ComponentModel.TypeConverter.dll
2026-07-04T11:47:46.4714163Z -rwxr--r-- 1 root root 16208 May 20 18:29 System.ComponentModel.dll
2026-07-04T11:47:46.4714382Z -rwxr--r-- 1 root root 19280 May 20 18:31 System.Configuration.dll
2026-07-04T11:47:46.4715040Z -rwxr--r-- 1 root root 54096 May 20 18:31 System.Console.dll
2026-07-04T11:47:46.4715241Z -rwxr--r-- 1 root root 23376 May 20 18:31 System.Core.dll
2026-07-04T11:47:46.4715834Z -rwxr--r-- 1 root root 1018192 May 20 18:31 System.Data.Common.dll
2026-07-04T11:47:46.4716631Z -rwxr--r-- 1 root root 15696 May 20 18:31 System.Data.DataSetExtensions.dll
2026-07-04T11:47:46.4716921Z -rwxr--r-- 1 root root 25424 May 20 18:31 System.Data.dll
2026-07-04T11:47:46.4717074Z -rwxr--r-- 1 root root 16208 May 20 18:31 System.Diagnostics.Contracts.dll
2026-07-04T11:47:46.4717681Z -rwxr--r-- 1 root root 15696 May 20 18:30 System.Diagnostics.Debug.dll
2026-07-04T11:47:46.4718000Z -rwxr--r-- 1 root root 202576 May 20 18:29 System.Diagnostics.DiagnosticSource.dll
2026-07-04T11:47:46.4718570Z -rwxr--r-- 1 root root 22864 May 20 18:29 System.Diagnostics.FileVersionInfo.dll
2026-07-04T11:47:46.4718878Z -rwxr--r-- 1 root root 56656 May 20 18:29 System.Diagnostics.Process.dll
2026-07-04T11:47:46.4719100Z -rwxr--r-- 1 root root 25936 May 20 18:29 System.Diagnostics.StackTrace.dll
2026-07-04T11:47:46.4719801Z -rwxr--r-- 1 root root 31568 May 20 18:31 System.Diagnostics.TextWriterTraceListener.dll
2026-07-04T11:47:46.4719987Z -rwxr--r-- 1 root root 15184 May 20 18:30 System.Diagnostics.Tools.dll
2026-07-04T11:47:46.4724747Z -rwxr--r-- 1 root root 58704 May 20 18:29 System.Diagnostics.TraceSource.dll
2026-07-04T11:47:46.4725246Z -rwxr--r-- 1 root root 16208 May 20 18:28 System.Diagnostics.Tracing.dll
2026-07-04T11:47:46.4725363Z -rwxr--r-- 1 root root 64848 May 20 18:29 System.Drawing.Primitives.dll
2026-07-04T11:47:46.4725454Z -rwxr--r-- 1 root root 20304 May 20 18:31 System.Drawing.dll
2026-07-04T11:47:46.4725774Z -rwxr--r-- 1 root root 16208 May 20 18:30 System.Dynamic.Runtime.dll
2026-07-04T11:47:46.4725920Z -rwxr--r-- 1 root root 97104 May 20 18:29 System.Formats.Asn1.dll
2026-07-04T11:47:46.4726008Z -rwxr--r-- 1 root root 38736 May 20 18:29 System.Formats.Tar.dll
2026-07-04T11:47:46.4726397Z -rwxr--r-- 1 root root 15696 May 20 18:30 System.Globalization.Calendars.dll
2026-07-04T11:47:46.4726550Z -rwxr--r-- 1 root root 15184 May 20 18:30 System.Globalization.Extensions.dll
2026-07-04T11:47:46.4726642Z -rwxr--r-- 1 root root 15696 May 20 18:30 System.Globalization.dll
2026-07-04T11:47:46.4726740Z -rwxr--r-- 1 root root 28496 May 20 18:29 System.IO.Compression.Brotli.dll
2026-07-04T11:47:46.4726846Z -rwxr--r-- 1 root root 15184 May 20 18:31 System.IO.Compression.FileSystem.dll
2026-07-04T11:47:46.4727134Z -rwxr--r-- 1 root root 53584 May 20 18:29 System.IO.Compression.ZipFile.dll
2026-07-04T11:47:46.4727322Z -rwxr--r-- 1 root root 167760 May 20 18:31 System.IO.Compression.dll
2026-07-04T11:47:46.4727437Z -rwxr--r-- 1 root root 32080 May 20 18:29 System.IO.FileSystem.AccessControl.dll
2026-07-04T11:47:46.4727525Z -rwxr--r-- 1 root root 23888 May 20 18:29 System.IO.FileSystem.DriveInfo.dll
2026-07-04T11:47:46.4727697Z -rwxr--r-- 1 root root 15184 May 20 18:30 System.IO.FileSystem.Primitives.dll
2026-07-04T11:47:46.4728370Z -rwxr--r-- 1 root root 33104 May 20 18:29 System.IO.FileSystem.Watcher.dll
2026-07-04T11:47:46.4731239Z -rwxr--r-- 1 root root 15696 May 20 18:30 System.IO.FileSystem.dll
2026-07-04T11:47:46.4731474Z -rwxr--r-- 1 root root 35152 May 20 18:30 System.IO.IsolatedStorage.dll
2026-07-04T11:47:46.4731757Z -rwxr--r-- 1 root root 50000 May 20 18:31 System.IO.MemoryMappedFiles.dll
2026-07-04T11:47:46.4731888Z -rwxr--r-- 1 root root 78160 May 20 18:29 System.IO.Pipelines.dll
2026-07-04T11:47:46.4731992Z -rwxr--r-- 1 root root 23376 May 20 18:29 System.IO.Pipes.AccessControl.dll
2026-07-04T11:47:46.4732083Z -rwxr--r-- 1 root root 42320 May 20 18:29 System.IO.Pipes.dll
2026-07-04T11:47:46.4732167Z -rwxr--r-- 1 root root 15696 May 20 18:30 System.IO.UnmanagedMemoryStream.dll
2026-07-04T11:47:46.4732269Z -rwxr--r-- 1 root root 15696 May 20 18:30 System.IO.dll
2026-07-04T11:47:46.4732362Z -rwxr--r-- 1 root root 92000 Jun 2 20:51 System.IdentityModel.Tokens.Jwt.dll
2026-07-04T11:47:46.4732446Z -rwxr--r-- 1 root root 456528 May 20 18:29 System.Linq.AsyncEnumerable.dll
2026-07-04T11:47:46.4732551Z -rwxr--r-- 1 root root 575312 May 20 18:29 System.Linq.Expressions.dll
2026-07-04T11:47:46.4732640Z -rwxr--r-- 1 root root 223056 May 20 18:31 System.Linq.Parallel.dll
2026-07-04T11:47:46.4732725Z -rwxr--r-- 1 root root 78672 May 20 18:31 System.Linq.Queryable.dll
2026-07-04T11:47:46.4732809Z -rwxr--r-- 1 root root 201040 May 20 18:29 System.Linq.dll
2026-07-04T11:47:46.4732905Z -rwxr--r-- 1 root root 55632 May 20 18:28 System.Memory.dll
2026-07-04T11:47:46.4733047Z -rwxr--r-- 1 root root 56144 May 20 18:30 System.Net.Http.Json.dll
2026-07-04T11:47:46.4733211Z -rwxr--r-- 1 root root 296272 May 20 18:31 System.Net.Http.dll
2026-07-04T11:47:46.4733432Z -rwxr--r-- 1 root root 56144 May 20 18:30 System.Net.HttpListener.dll
2026-07-04T11:47:46.4733752Z -rwxr--r-- 1 root root 105296 May 20 18:31 System.Net.Mail.dll
2026-07-04T11:47:46.4733914Z -rwxr--r-- 1 root root 24400 May 20 18:31 System.Net.NameResolution.dll
2026-07-04T11:47:46.4737427Z -rwxr--r-- 1 root root 42320 May 20 18:29 System.Net.NetworkInformation.dll
2026-07-04T11:47:46.4737629Z -rwxr--r-- 1 root root 27984 May 20 18:29 System.Net.Ping.dll
2026-07-04T11:47:46.4737758Z -rwxr--r-- 1 root root 107344 May 20 18:31 System.Net.Primitives.dll
2026-07-04T11:47:46.4749705Z -rwxr--r-- 1 root root 39248 May 20 18:30 System.Net.Quic.dll
2026-07-04T11:47:46.4749969Z -rwxr--r-- 1 root root 65872 May 20 18:30 System.Net.Requests.dll
2026-07-04T11:47:46.4750071Z -rwxr--r-- 1 root root 114512 May 20 18:30 System.Net.Security.dll
2026-07-04T11:47:46.4750164Z -rwxr--r-- 1 root root 40784 May 20 18:29 System.Net.ServerSentEvents.dll
2026-07-04T11:47:46.4755941Z -rwxr--r-- 1 root root 15184 May 20 18:31 System.Net.ServicePoint.dll
2026-07-04T11:47:46.4758836Z -rwxr--r-- 1 root root 74576 May 20 18:29 System.Net.Sockets.dll
2026-07-04T11:47:46.4758989Z -rwxr--r-- 1 root root 56144 May 20 18:31 System.Net.WebClient.dll
2026-07-04T11:47:46.4759110Z -rwxr--r-- 1 root root 33104 May 20 18:29 System.Net.WebHeaderCollection.dll
2026-07-04T11:47:46.4766505Z -rwxr--r-- 1 root root 21840 May 20 18:31 System.Net.WebProxy.dll
2026-07-04T11:47:46.4766734Z -rwxr--r-- 1 root root 52560 May 20 18:31 System.Net.WebSockets.Client.dll
2026-07-04T11:47:46.4777112Z -rwxr--r-- 1 root root 108880 May 20 18:31 System.Net.WebSockets.dll
2026-07-04T11:47:46.4777629Z -rwxr--r-- 1 root root 17232 May 20 18:31 System.Net.dll
2026-07-04T11:47:46.4777738Z -rwxr--r-- 1 root root 15696 May 20 18:28 System.Numerics.Vectors.dll
2026-07-04T11:47:46.4777835Z -rwxr--r-- 1 root root 15184 May 20 18:31 System.Numerics.dll
2026-07-04T11:47:46.4777927Z -rwxr--r-- 1 root root 41296 May 20 18:29 System.ObjectModel.dll
2026-07-04T11:47:46.4778031Z -rwxr--r-- 1 root root 4880208 May 20 18:19 System.Private.CoreLib.dll
2026-07-04T11:47:46.4778120Z -rwxr--r-- 1 root root 859472 May 20 18:31 System.Private.DataContractSerialization.dll
2026-07-04T11:47:46.4778225Z -rwxr--r-- 1 root root 105808 May 20 18:28 System.Private.Uri.dll
2026-07-04T11:47:46.4778315Z -rwxr--r-- 1 root root 153936 May 20 18:30 System.Private.Xml.Linq.dll
2026-07-04T11:47:46.4778406Z -rwxr--r-- 1 root root 3106128 May 20 18:30 System.Private.Xml.dll
2026-07-04T11:47:46.4778494Z -rwxr--r-- 1 root root 38224 May 20 18:31 System.Reflection.DispatchProxy.dll
2026-07-04T11:47:46.4778636Z -rwxr--r-- 1 root root 15696 May 20 18:29 System.Reflection.Emit.ILGeneration.dll
2026-07-04T11:47:46.4778754Z -rwxr--r-- 1 root root 15696 May 20 18:29 System.Reflection.Emit.Lightweight.dll
2026-07-04T11:47:46.4778869Z -rwxr--r-- 1 root root 133456 May 20 18:29 System.Reflection.Emit.dll
2026-07-04T11:47:46.4778954Z -rwxr--r-- 1 root root 15184 May 20 18:30 System.Reflection.Extensions.dll
2026-07-04T11:47:46.4779106Z -rwxr--r-- 1 root root 503632 May 20 18:29 System.Reflection.Metadata.dll
2026-07-04T11:47:46.4779280Z -rwxr--r-- 1 root root 15696 May 20 18:28 System.Reflection.Primitives.dll
2026-07-04T11:47:46.4779471Z -rwxr--r-- 1 root root 24400 May 20 18:31 System.Reflection.TypeExtensions.dll
2026-07-04T11:47:46.4779642Z -rwxr--r-- 1 root root 16208 May 20 18:31 System.Reflection.dll
2026-07-04T11:47:46.4779820Z -rwxr--r-- 1 root root 15184 May 20 18:31 System.Resources.Reader.dll
2026-07-04T11:47:46.4779997Z -rwxr--r-- 1 root root 15696 May 20 18:30 System.Resources.ResourceManager.dll
2026-07-04T11:47:46.4780159Z -rwxr--r-- 1 root root 26960 May 20 18:31 System.Resources.Writer.dll
2026-07-04T11:47:46.4780321Z -rwxr--r-- 1 root root 15184 May 20 18:30 System.Runtime.CompilerServices.Unsafe.dll
2026-07-04T11:47:46.4783015Z -rwxr--r-- 1 root root 17232 May 20 18:30 System.Runtime.CompilerServices.VisualC.dll
2026-07-04T11:47:46.4783246Z -rwxr--r-- 1 root root 17744 May 20 18:30 System.Runtime.Extensions.dll
2026-07-04T11:47:46.4783840Z -rwxr--r-- 1 root root 15696 May 20 18:30 System.Runtime.Handles.dll
2026-07-04T11:47:46.4784077Z -rwxr--r-- 1 root root 89936 May 20 18:31 System.Runtime.InteropServices.JavaScript.dll
2026-07-04T11:47:46.4784217Z -rwxr--r-- 1 root root 15184 May 20 18:31 System.Runtime.InteropServices.RuntimeInformation.dll
2026-07-04T11:47:46.4784315Z -rwxr--r-- 1 root root 64848 May 20 18:29 System.Runtime.InteropServices.dll
2026-07-04T11:47:46.4784408Z -rwxr--r-- 1 root root 17232 May 20 18:29 System.Runtime.Intrinsics.dll
2026-07-04T11:47:46.4784695Z -rwxr--r-- 1 root root 15696 May 20 18:29 System.Runtime.Loader.dll
2026-07-04T11:47:46.4784787Z -rwxr--r-- 1 root root 145232 May 20 18:29 System.Runtime.Numerics.dll
2026-07-04T11:47:46.4784881Z -rwxr--r-- 1 root root 65872 May 20 18:29 System.Runtime.Serialization.Formatters.dll
2026-07-04T11:47:46.4784980Z -rwxr--r-- 1 root root 15696 May 20 18:31 System.Runtime.Serialization.Json.dll
2026-07-04T11:47:46.4785088Z -rwxr--r-- 1 root root 23376 May 20 18:30 System.Runtime.Serialization.Primitives.dll
2026-07-04T11:47:46.4785255Z -rwxr--r-- 1 root root 16720 May 20 18:31 System.Runtime.Serialization.Xml.dll
2026-07-04T11:47:46.4787538Z -rwxr--r-- 1 root root 17232 May 20 18:31 System.Runtime.Serialization.dll
2026-07-04T11:47:46.4787714Z -rwxr--r-- 1 root root 44880 May 20 18:28 System.Runtime.dll
2026-07-04T11:47:46.4787807Z -rwxr--r-- 1 root root 58192 May 20 18:29 System.Security.AccessControl.dll
2026-07-04T11:47:46.4787894Z -rwxr--r-- 1 root root 55120 May 20 18:29 System.Security.Claims.dll
2026-07-04T11:47:46.4792248Z -rwxr--r-- 1 root root 17232 May 20 18:31 System.Security.Cryptography.Algorithms.dll
2026-07-04T11:47:46.4792484Z -rwxr--r-- 1 root root 16208 May 20 18:31 System.Security.Cryptography.Cng.dll
2026-07-04T11:47:46.4792596Z -rwxr--r-- 1 root root 16208 May 20 18:31 System.Security.Cryptography.Csp.dll
2026-07-04T11:47:46.4792684Z -rwxr--r-- 1 root root 15696 May 20 18:31 System.Security.Cryptography.Encoding.dll
2026-07-04T11:47:46.4793025Z -rwxr--r-- 1 root root 15696 May 20 18:31 System.Security.Cryptography.OpenSsl.dll
2026-07-04T11:47:46.4793131Z -rwxr--r-- 1 root root 15696 May 20 18:31 System.Security.Cryptography.Primitives.dll
2026-07-04T11:47:46.4793235Z -rwxr--r-- 1 root root 16720 May 20 18:31 System.Security.Cryptography.X509Certificates.dll
2026-07-04T11:47:46.4793349Z -rwxr--r-- 1 root root 654160 May 20 18:31 System.Security.Cryptography.dll
2026-07-04T11:47:46.4793439Z -rwxr--r-- 1 root root 37712 May 20 18:29 System.Security.Principal.Windows.dll
2026-07-04T11:47:46.4797422Z -rwxr--r-- 1 root root 15184 May 20 18:31 System.Security.Principal.dll
2026-07-04T11:47:46.4797641Z -rwxr--r-- 1 root root 15696 May 20 18:30 System.Security.SecureString.dll
2026-07-04T11:47:46.4797736Z -rwxr--r-- 1 root root 18256 May 20 18:31 System.Security.dll
2026-07-04T11:47:46.4797820Z -rwxr--r-- 1 root root 16720 May 20 18:31 System.ServiceModel.Web.dll
2026-07-04T11:47:46.4797907Z -rwxr--r-- 1 root root 15696 May 20 18:31 System.ServiceProcess.dll
2026-07-04T11:47:46.4798463Z -rwxr--r-- 1 root root 742736 May 20 18:29 System.Text.Encoding.CodePages.dll
2026-07-04T11:47:46.4798577Z -rwxr--r-- 1 root root 15696 May 20 18:28 System.Text.Encoding.Extensions.dll
2026-07-04T11:47:46.4798664Z -rwxr--r-- 1 root root 15696 May 20 18:30 System.Text.Encoding.dll
2026-07-04T11:47:46.4798753Z -rwxr--r-- 1 root root 65872 May 20 18:32 System.Text.Encodings.Web.dll
2026-07-04T11:47:46.4800698Z -rwxr--r-- 1 root root 649040 May 20 18:30 System.Text.Json.dll
2026-07-04T11:47:46.4800902Z -rwxr--r-- 1 root root 384848 May 20 18:30 System.Text.RegularExpressions.dll
2026-07-04T11:47:46.4801000Z -rwxr--r-- 1 root root 33616 May 20 18:29 System.Threading.AccessControl.dll
2026-07-04T11:47:46.4801108Z -rwxr--r-- 1 root root 66384 May 20 18:29 System.Threading.Channels.dll
2026-07-04T11:47:46.4801200Z -rwxr--r-- 1 root root 15696 May 20 18:28 System.Threading.Overlapped.dll
2026-07-04T11:47:46.4803346Z -rwxr--r-- 1 root root 185680 May 20 18:29 System.Threading.Tasks.Dataflow.dll
2026-07-04T11:47:46.4803652Z -rwxr--r-- 1 root root 15696 May 20 18:30 System.Threading.Tasks.Extensions.dll
2026-07-04T11:47:46.4803778Z -rwxr--r-- 1 root root 61264 May 20 18:31 System.Threading.Tasks.Parallel.dll
2026-07-04T11:47:46.4803883Z -rwxr--r-- 1 root root 16720 May 20 18:31 System.Threading.Tasks.dll
2026-07-04T11:47:46.4826592Z -rwxr--r-- 1 root root 15696 May 20 18:28 System.Threading.Thread.dll
2026-07-04T11:47:46.4826923Z -rwxr--r-- 1 root root 15696 May 20 18:28 System.Threading.ThreadPool.dll
2026-07-04T11:47:46.4827478Z -rwxr--r-- 1 root root 15184 May 20 18:30 System.Threading.Timer.dll
2026-07-04T11:47:46.4827621Z -rwxr--r-- 1 root root 44880 May 20 18:28 System.Threading.dll
2026-07-04T11:47:46.4827719Z -rwxr--r-- 1 root root 175952 May 20 18:30 System.Transactions.Local.dll
2026-07-04T11:47:46.4827816Z -rwxr--r-- 1 root root 16720 May 20 18:31 System.Transactions.dll
2026-07-04T11:47:46.4827907Z -rwxr--r-- 1 root root 15696 May 20 18:30 System.ValueTuple.dll
2026-07-04T11:47:46.4827990Z -rwxr--r-- 1 root root 30032 May 20 18:31 System.Web.HttpUtility.dll
2026-07-04T11:47:46.4828302Z -rwxr--r-- 1 root root 15184 May 20 18:31 System.Web.dll
2026-07-04T11:47:46.4828408Z -rwxr--r-- 1 root root 15696 May 20 18:31 System.Windows.dll
2026-07-04T11:47:46.4828498Z -rwxr--r-- 1 root root 15696 May 20 18:31 System.Xml.Linq.dll
2026-07-04T11:47:46.4828583Z -rwxr--r-- 1 root root 21840 May 20 18:30 System.Xml.ReaderWriter.dll
2026-07-04T11:47:46.4828673Z -rwxr--r-- 1 root root 16208 May 20 18:31 System.Xml.Serialization.dll
2026-07-04T11:47:46.4828756Z -rwxr--r-- 1 root root 15696 May 20 18:31 System.Xml.XDocument.dll
2026-07-04T11:47:46.4828835Z -rwxr--r-- 1 root root 15696 May 20 18:31 System.Xml.XPath.XDocument.dll
2026-07-04T11:47:46.4836968Z -rwxr--r-- 1 root root 15696 May 20 18:30 System.Xml.XPath.dll
2026-07-04T11:47:46.4837091Z -rwxr--r-- 1 root root 15696 May 20 18:31 System.Xml.XmlDocument.dll
2026-07-04T11:47:46.4837181Z -rwxr--r-- 1 root root 17744 May 20 18:31 System.Xml.XmlSerializer.dll
2026-07-04T11:47:46.4837469Z -rwxr--r-- 1 root root 23376 May 20 18:31 System.Xml.dll
2026-07-04T11:47:46.4837572Z -rwxr--r-- 1 root root 50000 May 20 18:32 System.dll
2026-07-04T11:47:46.4837654Z -rw-r--r-- 1 root root 156672 Jul 4 11:44 TaxBaik.Application.dll
2026-07-04T11:47:46.4837741Z -rw-r--r-- 1 root root 38472 Jul 4 11:44 TaxBaik.Application.pdb
2026-07-04T11:47:46.4837836Z -rw-r--r-- 1 root root 37888 Jul 4 11:43 TaxBaik.Domain.dll
2026-07-04T11:47:46.4837919Z -rw-r--r-- 1 root root 24100 Jul 4 11:43 TaxBaik.Domain.pdb
2026-07-04T11:47:46.4838004Z -rw-r--r-- 1 root root 713216 Jul 4 11:46 TaxBaik.Web.Client.dll
2026-07-04T11:47:46.4838087Z -rw-r--r-- 1 root root 373136 Jul 4 11:46 TaxBaik.Web.Client.pdb
2026-07-04T11:47:46.4838338Z -rw-r--r-- 1 root root 2546 Jul 4 11:46 TaxBaik.Web.Client.runtimeconfig.json
2026-07-04T11:47:46.4838449Z -rw-r--r-- 1 root root 1007340 Jul 4 11:47 TaxBaik.Web.Client.staticwebassets.endpoints.json
2026-07-04T11:47:46.4838556Z -rw-r--r-- 1 root root 78064 Jul 4 11:47 TaxBaik.Web.Client.staticwebassets.runtime.json
2026-07-04T11:47:46.4838657Z -rwxr--r-- 1 root root 16208 May 20 18:31 WindowsBase.dll
2026-07-04T11:47:46.4838745Z -rwxr--r-- 1 root root 37898 May 20 18:42 dotnet.js
2026-07-04T11:47:46.4838826Z -rwxr--r-- 1 root root 51818 May 20 18:42 dotnet.js.map
2026-07-04T11:47:46.4838909Z -rwxr--r-- 1 root root 145050 May 20 18:43 dotnet.native.js
2026-07-04T11:47:46.4839142Z -rwxr--r-- 1 root root 3002101 May 20 18:43 dotnet.native.wasm
2026-07-04T11:47:46.4854365Z -rwxr--r-- 1 root root 198479 May 20 18:42 dotnet.runtime.js
2026-07-04T11:47:46.4854700Z -rwxr--r-- 1 root root 276757 May 20 18:42 dotnet.runtime.js.map
2026-07-04T11:47:46.4856315Z -rwxr--r-- 1 root root 956416 Apr 2 19:04 icudt_CJK.dat
2026-07-04T11:47:46.4856510Z -rwxr--r-- 1 root root 550832 Apr 2 19:04 icudt_EFIGS.dat
2026-07-04T11:47:46.4856618Z -rwxr--r-- 1 root root 1107168 Apr 2 19:04 icudt_no_CJK.dat
2026-07-04T11:47:46.4856712Z -rwxr--r-- 1 root root 59728 May 20 18:31 mscorlib.dll
2026-07-04T11:47:46.4856802Z -rwxr--r-- 1 root root 100688 May 20 18:32 netstandard.dll
2026-07-04T11:47:46.4856882Z drwxr-xr-x 3 root root 4096 Jul 4 11:47 wwwroot
2026-07-04T11:47:46.5011624Z total 4356
2026-07-04T11:47:46.5012214Z drwxr-xr-x 8 root root 4096 Jul 4 11:47 .
2026-07-04T11:47:46.5012363Z drwxr-xr-x 3 root root 4096 Jul 4 11:46 ..
2026-07-04T11:47:46.5012540Z -rw-r--r-- 1 root root 196 Jul 4 11:46 .NETCoreApp,Version=v10.0.AssemblyAttributes.cs
2026-07-04T11:47:46.5012747Z -rw-r--r-- 1 root root 137 Jul 4 11:46 EmbeddedAttribute.cs
2026-07-04T11:47:46.5012869Z -rw-r--r-- 1 root root 0 Jul 4 11:47 TaxBaik..C36EE7CA.Up2Date
2026-07-04T11:47:46.5012966Z -rw-r--r-- 1 root root 1008 Jul 4 11:46 TaxBaik.Web.Client.AssemblyInfo.cs
2026-07-04T11:47:46.5013067Z -rw-r--r-- 1 root root 65 Jul 4 11:46 TaxBaik.Web.Client.AssemblyInfoInputs.cache
2026-07-04T11:47:46.5013226Z -rw-r--r-- 1 root root 16355 Jul 4 11:46 TaxBaik.Web.Client.GeneratedMSBuildEditorConfig.editorconfig
2026-07-04T11:47:46.5013330Z -rw-r--r-- 1 root root 433 Jul 4 11:46 TaxBaik.Web.Client.GlobalUsings.g.cs
2026-07-04T11:47:46.5013418Z -rw-r--r-- 1 root root 0 Jul 4 11:46 TaxBaik.Web.Client.MvcApplicationPartsAssemblyInfo.cache
2026-07-04T11:47:46.5013674Z -rw-r--r-- 1 root root 27329 Jul 4 11:46 TaxBaik.Web.Client.assets.cache
2026-07-04T11:47:46.5013797Z -rw-r--r-- 1 root root 20456 Jul 4 11:46 TaxBaik.Web.Client.csproj.AssemblyReference.cache
2026-07-04T11:47:46.5013898Z -rw-r--r-- 1 root root 65 Jul 4 11:46 TaxBaik.Web.Client.csproj.CoreCompileInputs.cache
2026-07-04T11:47:46.5014122Z -rw-r--r-- 1 root root 136894 Jul 4 11:47 TaxBaik.Web.Client.csproj.FileListAbsolute.txt
2026-07-04T11:47:46.5014229Z -rw-r--r-- 1 root root 713216 Jul 4 11:46 TaxBaik.Web.Client.dll
2026-07-04T11:47:46.5014324Z -rw-r--r-- 1 root root 65 Jul 4 11:46 TaxBaik.Web.Client.genruntimeconfig.cache
2026-07-04T11:47:46.5014437Z -rw-r--r-- 1 root root 373136 Jul 4 11:46 TaxBaik.Web.Client.pdb
2026-07-04T11:47:46.5014522Z -rw-r--r-- 1 root root 276 Jul 4 11:46 ValidatableTypeAttribute.cs
2026-07-04T11:47:46.5014623Z -rw-r--r-- 1 root root 3 Jul 4 11:47 blazor.build.boot-extension.json
2026-07-04T11:47:46.5014709Z drwxr-xr-x 2 root root 20480 Jul 4 11:47 compressed
2026-07-04T11:47:46.5014796Z -rw-r--r-- 1 root root 93392 Jul 4 11:46 dotnet.js
2026-07-04T11:47:46.5014882Z -rw-r--r-- 1 root root 276707 Jul 4 11:47 rbcswa.dswa.cache.json
2026-07-04T11:47:46.5014965Z drwxr-xr-x 2 root root 4096 Jul 4 11:47 ref
2026-07-04T11:47:46.5015048Z drwxr-xr-x 2 root root 4096 Jul 4 11:46 refint
2026-07-04T11:47:46.5015127Z -rw-r--r-- 1 root root 322 Jul 4 11:46 rjimswa.dswa.cache.json
2026-07-04T11:47:46.5015214Z -rw-r--r-- 1 root root 3374 Jul 4 11:46 rjsmcshtml.dswa.cache.json
2026-07-04T11:47:46.5015311Z -rw-r--r-- 1 root root 3374 Jul 4 11:46 rjsmrazor.dswa.cache.json
2026-07-04T11:47:46.5015409Z -rw-r--r-- 1 root root 4157 Jul 4 11:46 rpswa.dswa.cache.json
2026-07-04T11:47:46.5015507Z drwxr-xr-x 2 root root 4096 Jul 4 11:46 staticwebassets
2026-07-04T11:47:46.5015589Z -rw-r--r-- 1 root root 1007340 Jul 4 11:47 staticwebassets.build.endpoints.json
2026-07-04T11:47:46.5015678Z -rw-r--r-- 1 root root 1564906 Jul 4 11:47 staticwebassets.build.json
2026-07-04T11:47:46.5015781Z -rw-r--r-- 1 root root 44 Jul 4 11:47 staticwebassets.build.json.cache
2026-07-04T11:47:46.5015869Z -rw-r--r-- 1 root root 78064 Jul 4 11:47 staticwebassets.development.json
2026-07-04T11:47:46.5015953Z -rw-r--r-- 1 root root 0 Jul 4 11:47 swae.build.ex.cache
2026-07-04T11:47:46.5016051Z drwxr-xr-x 2 root root 4096 Jul 4 11:47 tmp-webcil
2026-07-04T11:47:46.5016368Z drwxr-xr-x 2 root root 20480 Jul 4 11:46 webcil
2026-07-04T11:52:06.9293539Z ✓ Publish Web elapsed: 355s
2026-07-04T11:52:06.9355856Z -rw-r--r-- 1 root root 2.2M Jul 4 11:52 ./publish-logs/publish-web.binlog
2026-07-04T11:52:07.1179623Z ::group::Run set -e
2026-07-04T11:52:07.1179966Z set -e
2026-07-04T11:52:07.1180076Z mkdir -p ./publish-logs
2026-07-04T11:52:07.1180177Z # Proxy is not part of the solution restore graph, so restore it once
2026-07-04T11:52:07.1180269Z # here before publishing to avoid NETSDK1004 in CI.
2026-07-04T11:52:07.1180375Z dotnet restore src/TaxBaik.Proxy/
2026-07-04T11:52:07.1180458Z dotnet build src/TaxBaik.Proxy/TaxBaik.Proxy.csproj -c Release --no-restore
2026-07-04T11:52:07.1180545Z start=$(date +%s)
2026-07-04T11:52:07.1180618Z dotnet publish src/TaxBaik.Proxy/ \
2026-07-04T11:52:07.1180693Z -c Release \
2026-07-04T11:52:07.1180763Z -o ./publish/proxy \
2026-07-04T11:52:07.1180877Z --no-restore \
2026-07-04T11:52:07.1180947Z --no-build \
2026-07-04T11:52:07.1181021Z -p:PublishReadyToRun=false \
2026-07-04T11:52:07.1181106Z -p:PerformanceSummary=true \
2026-07-04T11:52:07.1181197Z -clp:Summary \
2026-07-04T11:52:07.1181269Z -bl:./publish-logs/publish-proxy.binlog
2026-07-04T11:52:07.1181341Z end=$(date +%s)
2026-07-04T11:52:07.1181433Z echo "✓ Publish Proxy elapsed: $((end - start))s"
2026-07-04T11:52:07.1181524Z ls -lh ./publish-logs/publish-proxy.binlog
2026-07-04T11:52:07.1181605Z shell: bash --noprofile --norc -e -o pipefail {0}
2026-07-04T11:52:07.1181716Z ::endgroup::
2026-07-04T11:52:09.6375394Z Determining projects to restore...
2026-07-04T11:52:10.7577763Z Restored /workspace/***/taxbaik/src/TaxBaik.Proxy/TaxBaik.Proxy.csproj (in 218 ms).
2026-07-04T11:52:15.5113205Z TaxBaik.Proxy -> /workspace/***/taxbaik/src/TaxBaik.Proxy/bin/Release/net10.0/TaxBaik.Proxy.dll
2026-07-04T11:52:15.6377985Z
2026-07-04T11:52:15.6378518Z Build succeeded.
2026-07-04T11:52:15.6547716Z 0 Warning(s)
2026-07-04T11:52:15.6548226Z 0 Error(s)
2026-07-04T11:52:15.6548404Z
2026-07-04T11:52:15.6548492Z Time Elapsed 00:00:03.35
2026-07-04T11:52:19.1638052Z TaxBaik.Proxy -> /workspace/***/taxbaik/publish/proxy/
2026-07-04T11:52:19.1887325Z
2026-07-04T11:52:19.1911472Z Build succeeded.
2026-07-04T11:52:19.1938777Z 0 Warning(s)
2026-07-04T11:52:19.1940392Z 0 Error(s)
2026-07-04T11:52:19.1943224Z
2026-07-04T11:52:19.1944917Z Time Elapsed 00:00:01.93
2026-07-04T11:52:19.2978414Z ✓ Publish Proxy elapsed: 4s
2026-07-04T11:52:19.3007702Z -rw-r--r-- 1 root root 335K Jul 4 11:52 ./publish-logs/publish-proxy.binlog
2026-07-04T11:52:19.4718601Z ::group::Run set -e
2026-07-04T11:52:19.4719182Z set -e
2026-07-04T11:52:19.4719307Z JWT_SECRET_KEY="***"
2026-07-04T11:52:19.4719410Z TELEGRAM_BOT_TOKEN="***"
2026-07-04T11:52:19.4719510Z TELEGRAM_CHAT_ID="***"
2026-07-04T11:52:19.4719587Z TELEGRAM_INQUIRY_CHAT_ID=""
2026-07-04T11:52:19.4719740Z TELEGRAM_SYSTEM_CHAT_ID=""
2026-07-04T11:52:19.4719815Z [ -z "$JWT_SECRET_KEY" ] && { echo "Missing TAXBAIK_JWT_SECRET_KEY" >&2; exit 1; }
2026-07-04T11:52:19.4719926Z [ -z "$TELEGRAM_BOT_TOKEN" ] && { echo "Missing TAXBAIK_TELEGRAM_BOT_TOKEN" >&2; exit 1; }
2026-07-04T11:52:19.4720014Z [ -z "$TELEGRAM_CHAT_ID" ] && { echo "Missing TAXBAIK_TELEGRAM_CHAT_ID" >&2; exit 1; }
2026-07-04T11:52:19.4720103Z [ -z "$TELEGRAM_INQUIRY_CHAT_ID" ] && TELEGRAM_INQUIRY_CHAT_ID="$TELEGRAM_CHAT_ID"
2026-07-04T11:52:19.4720235Z [ -z "$TELEGRAM_SYSTEM_CHAT_ID" ] && TELEGRAM_SYSTEM_CHAT_ID="-5585148480"
2026-07-04T11:52:19.4720321Z JWT_SECRET_KEY="$JWT_SECRET_KEY" \
2026-07-04T11:52:19.4720412Z TELEGRAM_BOT_TOKEN="$TELEGRAM_BOT_TOKEN" \
2026-07-04T11:52:19.4720488Z TELEGRAM_CHAT_ID="$TELEGRAM_CHAT_ID" \
2026-07-04T11:52:19.4720567Z TELEGRAM_INQUIRY_CHAT_ID="$TELEGRAM_INQUIRY_CHAT_ID" \
2026-07-04T11:52:19.4720641Z TELEGRAM_SYSTEM_CHAT_ID="$TELEGRAM_SYSTEM_CHAT_ID" \
2026-07-04T11:52:19.4720730Z python3 -c '
2026-07-04T11:52:19.4720814Z import json, os, pathlib
2026-07-04T11:52:19.4720884Z pathlib.Path("./publish/appsettings.Production.json").write_text(
2026-07-04T11:52:19.4720964Z json.dumps({
2026-07-04T11:52:19.4721057Z "Jwt": {"SecretKey": os.environ["JWT_SECRET_KEY"]},
2026-07-04T11:52:19.4721142Z "Telegram": {
2026-07-04T11:52:19.4721214Z "BotToken": os.environ["TELEGRAM_BOT_TOKEN"],
2026-07-04T11:52:19.4721307Z "ChatId": os.environ["TELEGRAM_CHAT_ID"],
2026-07-04T11:52:19.4721379Z "InquiryChatId": os.environ["TELEGRAM_INQUIRY_CHAT_ID"],
2026-07-04T11:52:19.4721452Z "SystemChatId": os.environ["TELEGRAM_SYSTEM_CHAT_ID"]
2026-07-04T11:52:19.4721532Z }
2026-07-04T11:52:19.4721614Z }, ensure_ascii=False, indent=2),
2026-07-04T11:52:19.4721684Z encoding="utf-8"
2026-07-04T11:52:19.4721970Z )'
2026-07-04T11:52:19.4722065Z test -s ./publish/appsettings.Production.json || { echo "appsettings.Production.json is empty" >&2; exit 1; }
2026-07-04T11:52:19.4722178Z shell: bash --noprofile --norc -e -o pipefail {0}
2026-07-04T11:52:19.4722271Z ::endgroup::
2026-07-04T11:52:19.9176988Z ::group::Run test -s ./publish/proxy/TaxBaik.Proxy.dll || { echo "TaxBaik.Proxy.dll missing" >&2; exit 1; }
2026-07-04T11:52:19.9177419Z test -s ./publish/proxy/TaxBaik.Proxy.dll || { echo "TaxBaik.Proxy.dll missing" >&2; exit 1; }
2026-07-04T11:52:19.9177566Z test -s ./publish/proxy/TaxBaik.Proxy.runtimeconfig.json || { echo "TaxBaik.Proxy.runtimeconfig.json missing" >&2; exit 1; }
2026-07-04T11:52:19.9177671Z shell: bash --noprofile --norc -e -o pipefail {0}
2026-07-04T11:52:19.9177787Z ::endgroup::
2026-07-04T11:52:20.3760171Z ::group::Run mkdir -p ./publish/db && cp -r db/migrations ./publish/db/ || true
2026-07-04T11:52:20.3760511Z mkdir -p ./publish/db && cp -r db/migrations ./publish/db/ || true
2026-07-04T11:52:20.3760638Z shell: bash --noprofile --norc -e -o pipefail {0}
2026-07-04T11:52:20.3760752Z ::endgroup::
2026-07-04T11:52:20.7524276Z ::group::Run bash scripts/validate_migrations.sh db/migrations
2026-07-04T11:52:20.7524614Z bash scripts/validate_migrations.sh db/migrations
2026-07-04T11:52:20.7524730Z shell: bash --noprofile --norc -e -o pipefail {0}
2026-07-04T11:52:20.7524834Z ::endgroup::
2026-07-04T11:52:21.0212173Z Duplicate version check passed.
2026-07-04T11:52:21.2645086Z ::group::Run bash scripts/validate_kst_timestamps.sh
2026-07-04T11:52:21.2645607Z bash scripts/validate_kst_timestamps.sh
2026-07-04T11:52:21.2645807Z shell: bash --noprofile --norc -e -o pipefail {0}
2026-07-04T11:52:21.2646008Z ::endgroup::
2026-07-04T11:52:21.4225050Z KST timestamp harness passed.
2026-07-04T11:52:21.6127869Z ::group::Run COMMIT_HASH=$(git rev-parse --short HEAD)
2026-07-04T11:52:21.6128385Z COMMIT_HASH=$(git rev-parse --short HEAD)
2026-07-04T11:52:21.6128574Z BUILD_TIME=$(TZ=Asia/Seoul date +'%Y-%m-%d %H:%M:%S KST')
2026-07-04T11:52:21.6128771Z mkdir -p ./publish/wwwroot
2026-07-04T11:52:21.6128924Z printf '{\n "version": "%s",\n "built": "%s"\n}\n' "$COMMIT_HASH" "$BUILD_TIME" > ./publish/wwwroot/version.json
2026-07-04T11:52:21.6129152Z echo "✓ Build: $COMMIT_HASH @ $BUILD_TIME"
2026-07-04T11:52:21.6129314Z shell: bash --noprofile --norc -e -o pipefail {0}
2026-07-04T11:52:21.6129472Z ::endgroup::
2026-07-04T11:52:21.7777206Z ✓ Build: e1f3fc5 @ 2026-07-04 20:52:21 KST
2026-07-04T11:52:22.0137274Z ::group::Run mkdir -p ~/.ssh
2026-07-04T11:52:22.0137680Z mkdir -p ~/.ssh
2026-07-04T11:52:22.0139108Z SSH_KEY_B64="***"
2026-07-04T11:52:22.0143588Z SSH_KEY_RAW="***"
2026-07-04T11:52:22.0143927Z if [ -n "$SSH_KEY_B64" ]; then
2026-07-04T11:52:22.0144399Z printf '%s' "$SSH_KEY_B64" | base64 -d > ~/.ssh/id_ed25519
2026-07-04T11:52:22.0144705Z elif [ -n "$SSH_KEY_RAW" ]; then
2026-07-04T11:52:22.0144952Z if printf '%s' "$SSH_KEY_RAW" | grep -q 'BEGIN .*PRIVATE KEY'; then
2026-07-04T11:52:22.0145249Z printf '%b\n' "$SSH_KEY_RAW" > ~/.ssh/id_ed25519
2026-07-04T11:52:22.0145595Z else
2026-07-04T11:52:22.0145844Z printf '%s' "$SSH_KEY_RAW" | base64 -d > ~/.ssh/id_ed25519
2026-07-04T11:52:22.0146316Z fi
2026-07-04T11:52:22.0146584Z else
2026-07-04T11:52:22.0146852Z echo "Missing DEPLOY_SSH_KEY_B64 or DEPLOY_SSH_KEY" >&2; exit 1
2026-07-04T11:52:22.0147082Z fi
2026-07-04T11:52:22.0147278Z sed -i 's/\r$//' ~/.ssh/id_ed25519
2026-07-04T11:52:22.0147740Z chmod 600 ~/.ssh/id_ed25519
2026-07-04T11:52:22.0152024Z ssh-keyscan -H "***" >> ~/.ssh/known_hosts 2>/dev/null || true
2026-07-04T11:52:22.0152288Z shell: bash --noprofile --norc -e -o pipefail {0}
2026-07-04T11:52:22.0153027Z ::endgroup::
2026-07-04T11:52:22.9382983Z ::group::Run cp deploy_gb.sh ./publish/deploy_gb.sh
2026-07-04T11:52:22.9383396Z cp deploy_gb.sh ./publish/deploy_gb.sh
2026-07-04T11:52:22.9383581Z mkdir -p ./publish/scripts
2026-07-04T11:52:22.9383680Z cp scripts/validate_migrations.sh ./publish/scripts/validate_migrations.sh
2026-07-04T11:52:22.9383785Z chmod +x ./publish/scripts/validate_migrations.sh
2026-07-04T11:52:22.9383881Z tar -czf taxbaik_deploy.tgz -C ./publish .
2026-07-04T11:52:22.9383964Z echo "✓ Package: $(du -sh taxbaik_deploy.tgz | cut -f1)"
2026-07-04T11:52:22.9384065Z shell: bash --noprofile --norc -e -o pipefail {0}
2026-07-04T11:52:22.9384317Z ::endgroup::
2026-07-04T11:52:28.6175249Z ✓ Package: 23M
2026-07-04T11:52:28.7799681Z ::group::Run set -e
2026-07-04T11:52:28.7800041Z set -e
2026-07-04T11:52:28.7800157Z export TAXBAIK_DEPLOY_FROM_CI=1
2026-07-04T11:52:28.7800254Z TIMESTAMP=$(TZ=Asia/Seoul date +%Y%m%d_%H%M%S)
2026-07-04T11:52:28.7800346Z COMMIT=$(git rev-parse --short HEAD)
2026-07-04T11:52:28.7800425Z DEPLOY_HOST="***"
2026-07-04T11:52:28.7800511Z DEPLOY_USER="***"
2026-07-04T11:52:28.7800595Z TELEGRAM_BOT_TOKEN="***"
2026-07-04T11:52:28.7800681Z TELEGRAM_SYSTEM_CHAT_ID=""
2026-07-04T11:52:28.7800765Z TELEGRAM_CHAT_ID="${TELEGRAM_SYSTEM_CHAT_ID:--5585148480}"
2026-07-04T11:52:28.7800854Z
2026-07-04T11:52:28.7800924Z send_telegram() {
2026-07-04T11:52:28.7800996Z local text="$1"
2026-07-04T11:52:28.7801070Z if [ -z "$TELEGRAM_BOT_TOKEN" ]; then
2026-07-04T11:52:28.7801161Z echo "Skipping Telegram notification: missing TAXBAIK_TELEGRAM_BOT_TOKEN" >&2
2026-07-04T11:52:28.7801258Z return 0
2026-07-04T11:52:28.7801329Z fi
2026-07-04T11:52:28.7801392Z
2026-07-04T11:52:28.7801454Z curl -fsS -X POST "https://api.telegram.org/bot${TELEGRAM_BOT_TOKEN}/sendMessage" \
2026-07-04T11:52:28.7801542Z -d "chat_id=${TELEGRAM_CHAT_ID}" \
2026-07-04T11:52:28.7801613Z --data-urlencode "text=${text}" \
2026-07-04T11:52:28.7801709Z -d "parse_mode=HTML" >/dev/null || true
2026-07-04T11:52:28.7801784Z }
2026-07-04T11:52:28.7801849Z
2026-07-04T11:52:28.7801914Z notify_failure() {
2026-07-04T11:52:28.7801984Z local exit_code=$?
2026-07-04T11:52:28.7802055Z send_telegram "❌ <b>TaxBaik 배포 실패</b>
2026-07-04T11:52:28.7802145Z
2026-07-04T11:52:28.7802217Z 커밋: <code>${COMMIT}</code>
2026-07-04T11:52:28.7802291Z 시간: <code>${TIMESTAMP}</code>
2026-07-04T11:52:28.7802375Z 단계: CI/CD deploy"
2026-07-04T11:52:28.7802446Z exit "$exit_code"
2026-07-04T11:52:28.7802513Z }
2026-07-04T11:52:28.7802578Z
2026-07-04T11:52:28.7802636Z trap notify_failure ERR
2026-07-04T11:52:28.7802710Z
2026-07-04T11:52:28.7802784Z echo "=== Deploying TaxBaik $COMMIT ($TIMESTAMP) ==="
2026-07-04T11:52:28.7802862Z
2026-07-04T11:52:28.7802922Z # 1. 아티팩트 업로드
2026-07-04T11:52:28.7802996Z scp -i ~/.ssh/id_ed25519 -o StrictHostKeyChecking=yes \
2026-07-04T11:52:28.7803076Z taxbaik_deploy.tgz "$DEPLOY_USER@$DEPLOY_HOST:/tmp/taxbaik_${TIMESTAMP}.tgz"
2026-07-04T11:52:28.7803156Z
2026-07-04T11:52:28.7803251Z # 2. 서버에서 배포 + 헬스 체크 (SSH 1회 연결로 처리, Green-Blue 지원)
2026-07-04T11:52:28.7803340Z ssh -i ~/.ssh/id_ed25519 -o StrictHostKeyChecking=yes \
2026-07-04T11:52:28.7803414Z -o ServerAliveInterval=10 \
2026-07-04T11:52:28.7803496Z "$DEPLOY_USER@$DEPLOY_HOST" TAXBAIK_DEPLOY_FROM_CI=1 bash << REMOTE
2026-07-04T11:52:28.7803579Z set -e
2026-07-04T11:52:28.7803647Z DEPLOY_HOME="/home/***"
2026-07-04T11:52:28.7803720Z DEPLOY_DIR="\$DEPLOY_HOME/deployments/taxbaik_${TIMESTAMP}"
2026-07-04T11:52:28.7803822Z TIMESTAMP="${TIMESTAMP}"
2026-07-04T11:52:28.7803892Z COMMIT="${COMMIT}"
2026-07-04T11:52:28.7803960Z
2026-07-04T11:52:28.7804034Z echo "--- [1/5] 압축 해제 ---"
2026-07-04T11:52:28.7804109Z mkdir -p "\$DEPLOY_DIR"
2026-07-04T11:52:28.7804421Z tar -xzf "/tmp/taxbaik_\${TIMESTAMP}.tgz" -C "\$DEPLOY_DIR"
2026-07-04T11:52:28.7804504Z rm -f "/tmp/taxbaik_\${TIMESTAMP}.tgz"
2026-07-04T11:52:28.7804586Z
2026-07-04T11:52:28.7804649Z echo "--- [2/5] 운영 설정 검증 ---"
2026-07-04T11:52:28.7804724Z test -s "\$DEPLOY_DIR/appsettings.Production.json" \
2026-07-04T11:52:28.7804802Z || { echo "FATAL: appsettings.Production.json 없음" >&2; exit 1; }
2026-07-04T11:52:28.7804887Z test -s "\$DEPLOY_DIR/proxy/TaxBaik.Proxy.dll" \
2026-07-04T11:52:28.7804962Z || { echo "FATAL: TaxBaik.Proxy.dll 없음" >&2; exit 1; }
2026-07-04T11:52:28.7805035Z
2026-07-04T11:52:28.7805102Z echo "--- [3/5] 마이그레이션 사전 검증 ---"
2026-07-04T11:52:28.7805177Z test -x "\$DEPLOY_DIR/scripts/validate_migrations.sh" \
2026-07-04T11:52:28.7805250Z || { echo "FATAL: validate_migrations.sh 없음" >&2; exit 1; }
2026-07-04T11:52:28.7805338Z "\$DEPLOY_DIR/scripts/validate_migrations.sh" "\$DEPLOY_DIR/db/migrations" "postgresql://taxbaik:taxbaik123@localhost:5432/taxbaikdb"
2026-07-04T11:52:28.7805434Z
2026-07-04T11:52:28.7805499Z echo "--- [4/5] Green-Blue 배포 실행 ---"
2026-07-04T11:52:28.7805592Z chmod +x "\$DEPLOY_DIR/deploy_gb.sh"
2026-07-04T11:52:28.7805669Z "\$DEPLOY_DIR/deploy_gb.sh" "\$DEPLOY_DIR"
2026-07-04T11:52:28.7805741Z
2026-07-04T11:52:28.7805801Z echo "--- [4.5/5] Nginx 설정 검증 ---"
2026-07-04T11:52:28.7805881Z # 실제 로드되는 파일은 sites-enabled/의 심볼릭 링크 대상만이다.
2026-07-04T11:52:28.7805964Z # sites-available/에 다른 파일(예: default)이 있어도 sites-enabled에
2026-07-04T11:52:28.7806045Z # 링크되어 있지 않으면 nginx는 그 내용을 절대 읽지 않는다.
2026-07-04T11:52:28.7806281Z NGINX_CONF=""
2026-07-04T11:52:28.7806362Z for f in /etc/nginx/sites-enabled/*; do
2026-07-04T11:52:28.7806437Z if [ -e "\$f" ] && grep -q "location /taxbaik" "\$f" 2>/dev/null; then
2026-07-04T11:52:28.7806520Z NGINX_CONF=\$(readlink -f "\$f")
2026-07-04T11:52:28.7806592Z break
2026-07-04T11:52:28.7806658Z fi
2026-07-04T11:52:28.7806721Z done
2026-07-04T11:52:28.7806784Z
2026-07-04T11:52:28.7806849Z if [ -z "\$NGINX_CONF" ]; then
2026-07-04T11:52:28.7806924Z echo "❌ FATAL: sites-enabled/ 안에서 'location /taxbaik'를 정의한 파일을 찾을 수 없음" >&2
2026-07-04T11:52:28.7807034Z echo " sites-available/에 파일을 수정해도 sites-enabled에 심볼릭 링크되어 있지 않으면 반영되지 않는다." >&2
2026-07-04T11:52:28.7807140Z exit 1
2026-07-04T11:52:28.7807210Z fi
2026-07-04T11:52:28.7807275Z echo "실제 로드되는 설정 파일: \$NGINX_CONF"
2026-07-04T11:52:28.7807354Z
2026-07-04T11:52:28.7807443Z # 불변식: '/'와 '/taxbaik' location 모두 반드시 127.0.0.1:5001 (TaxBaik.Proxy)을
2026-07-04T11:52:28.7807530Z # 가리켜야 한다. 5003/5004를 직접 하드코딩하면 Green-Blue 포트 전환 시
2026-07-04T11:52:28.7807620Z # 죽은 포트를 가리키게 되어 502/404가 발생한다 (실제 발생했던 장애).
2026-07-04T11:52:28.7807706Z if grep -E "proxy_pass\s+http://127\.0\.0\.1:500[34]" "\$NGINX_CONF" > /dev/null 2>&1; then
2026-07-04T11:52:28.7807801Z echo "❌ FATAL: \$NGINX_CONF 가 포트 5003/5004를 직접 참조함 (Green-Blue 전환 시 502 발생)" >&2
2026-07-04T11:52:28.7807898Z echo " 수정: sudo sed -i 's|127.0.0.1:500[34]|127.0.0.1:5001|g' \$NGINX_CONF && sudo nginx -t && sudo systemctl reload nginx" >&2
2026-07-04T11:52:28.7807998Z exit 1
2026-07-04T11:52:28.7808077Z fi
2026-07-04T11:52:28.7808142Z
2026-07-04T11:52:28.7808205Z # proxy_pass에 URI(끝 슬래시)가 있으면 nginx가 요청 경로를 재작성하며,
2026-07-04T11:52:28.7808285Z # location 접두사와 슬래시 개수가 안 맞으면 백엔드로 이중 슬래시(//)가
2026-07-04T11:52:28.7808367Z # 전달되어 404가 발생한다 (실제 발생했던 장애). 접두사 location에서는
2026-07-04T11:52:28.7808456Z # proxy_pass에 URI를 붙이지 않는다.
2026-07-04T11:52:28.7808539Z if grep -E "location\s+/taxbaik\s*\{" -A 1 "\$NGINX_CONF" | grep -qE "proxy_pass\s+http://127\.0\.0\.1:5001/;"; then
2026-07-04T11:52:28.7808645Z echo "❌ FATAL: location /taxbaik 의 proxy_pass 에 불필요한 trailing slash가 있음 (이중 슬래시로 인한 404 위험)" >&2
2026-07-04T11:52:28.7808737Z exit 1
2026-07-04T11:52:28.7808805Z fi
2026-07-04T11:52:28.7808870Z
2026-07-04T11:52:28.7808940Z echo "✓ Nginx 설정 검증 통과 (실제 로드 파일 확인 + 포트 5001 고정 + trailing slash 없음)"
2026-07-04T11:52:28.7809025Z
2026-07-04T11:52:28.7809085Z echo "--- [5/5] 헬스 체크 (최대 60초) ---"
2026-07-04T11:52:28.7809184Z ATTEMPTS=20
2026-07-04T11:52:28.7809251Z for i in \$(seq 1 \$ATTEMPTS); do
2026-07-04T11:52:28.7809323Z STATUS=\$(curl -sf -o /dev/null -w '%{http_code}' http://127.0.0.1:5001/taxbaik/healthz 2>/dev/null || echo "000")
2026-07-04T11:52:28.7809421Z if [ "\$STATUS" = "200" ]; then
2026-07-04T11:52:28.7809497Z echo "✓ [1/6] 헬스 체크 완료"
2026-07-04T11:52:28.7809569Z
2026-07-04T11:52:28.7809636Z # 검증 1: 메인 페이지 로드. curl -L + -w 는 리다이렉트 체인의 상태코드를
2026-07-04T11:52:28.7809727Z # 이어붙이므로, 첫 응답 코드만 받아 200/3xx를 허용한다.
2026-07-04T11:52:28.7809808Z MAIN_STATUS=\$(curl -fsS -o /dev/null -w '%{http_code}' http://127.0.0.1:5001/taxbaik/ 2>/dev/null || echo "000")
2026-07-04T11:52:28.7809892Z if ! printf '%s' "\$MAIN_STATUS" | grep -Eq '^(200|301|302|307|308)$'; then
2026-07-04T11:52:28.7809974Z echo "❌ 메인 페이지 로드 실패 (상태: \$MAIN_STATUS)" >&2
2026-07-04T11:52:28.7810054Z exit 1
2026-07-04T11:52:28.7810122Z fi
2026-07-04T11:52:28.7810188Z echo "✓ [2/6] 메인 페이지 로드 완료"
2026-07-04T11:52:28.7810272Z
2026-07-04T11:52:28.7810331Z # 검증 2: CSS 파일 로드
2026-07-04T11:52:28.7810402Z CSS_STATUS=\$(curl -sf -o /dev/null -w '%{http_code}' http://127.0.0.1:5001/taxbaik/css/admin.css 2>/dev/null || echo "000")
2026-07-04T11:52:28.7810490Z if [ "\$CSS_STATUS" != "200" ]; then
2026-07-04T11:52:28.7810561Z echo "❌ CSS 파일 로드 실패 (상태: \$CSS_STATUS)" >&2
2026-07-04T11:52:28.7810639Z exit 1
2026-07-04T11:52:28.7810704Z fi
2026-07-04T11:52:28.7810774Z echo "✓ [3/6] CSS 파일 로드 완료"
2026-07-04T11:52:28.7810845Z
2026-07-04T11:52:28.7810905Z # 검증 3: 버전 정보. 파일 존재만 보면 5001이 잘못된 구 프로세스를
2026-07-04T11:52:28.7810994Z # 가리키는 장애를 놓치므로, HTTP 응답이 이번 커밋인지 확인한다.
2026-07-04T11:52:28.7811074Z if [ ! -s "\$DEPLOY_DIR/wwwroot/version.json" ]; then
2026-07-04T11:52:28.7811150Z echo "❌ version.json 누락" >&2
2026-07-04T11:52:28.7811226Z exit 1
2026-07-04T11:52:28.7811298Z fi
2026-07-04T11:52:28.7811362Z VERSION_JSON=\$(curl -fsS http://127.0.0.1:5001/taxbaik/version.json 2>/dev/null || true)
2026-07-04T11:52:28.7811465Z if ! printf '%s' "\$VERSION_JSON" | grep -q "\"version\": \"\$COMMIT\""; then
2026-07-04T11:52:28.7811544Z echo "❌ 5001 프록시가 이번 배포 버전을 제공하지 않음" >&2
2026-07-04T11:52:28.7811624Z echo " expected: \$COMMIT" >&2
2026-07-04T11:52:28.7811697Z echo " actual: \$VERSION_JSON" >&2
2026-07-04T11:52:28.7811767Z echo " 확인: 5001 포트가 TaxBaik.Proxy.dll인지, /home/***/taxbaik_port가 새 포트인지 점검" >&2
2026-07-04T11:52:28.7811873Z exit 1
2026-07-04T11:52:28.7811942Z fi
2026-07-04T11:52:28.7812006Z echo "✓ [4/6] 버전 정보 확인 완료"
2026-07-04T11:52:28.7812079Z
2026-07-04T11:52:28.7812139Z # 검증 4: 5001 프록시 확인
2026-07-04T11:52:28.7812212Z if ! ss -tlnp | grep -q ':5001 '; then
2026-07-04T11:52:28.7812288Z echo "❌ 5001 프록시가 실행 중이 아님" >&2
2026-07-04T11:52:28.7812370Z exit 1
2026-07-04T11:52:28.7812432Z fi
2026-07-04T11:52:28.7812494Z echo "✓ [5/6] 5001 프록시 확인 완료"
2026-07-04T11:52:28.7812568Z
2026-07-04T11:52:28.7812626Z # 검증 5: 관리자 로그인 페이지
2026-07-04T11:52:28.7812707Z LOGIN_STATUS=\$(curl -fsSL -o /dev/null -w '%{http_code}' http://127.0.0.1:5001/taxbaik/admin/login 2>/dev/null || echo "000")
2026-07-04T11:52:28.7812794Z if [ "\$LOGIN_STATUS" != "200" ]; then
2026-07-04T11:52:28.7812876Z echo "❌ 관리자 로그인 페이지 로드 실패 (상태: \$LOGIN_STATUS)" >&2
2026-07-04T11:52:28.7812957Z exit 1
2026-07-04T11:52:28.7813023Z fi
2026-07-04T11:52:28.7813089Z echo "✓ [6/6] 관리자 페이지 로드 완료"
2026-07-04T11:52:28.7813169Z
2026-07-04T11:52:28.7813240Z echo "✓ 서비스 정상 (시도 \$i/\$ATTEMPTS)"
2026-07-04T11:52:28.7813316Z # 구 배포 디렉토리 정리 (최근 5개 보존)
2026-07-04T11:52:28.7813404Z ls -1dt \$DEPLOY_HOME/deployments/taxbaik_* 2>/dev/null \
2026-07-04T11:52:28.7813486Z | tail -n +6 | xargs rm -rf 2>/dev/null || true
2026-07-04T11:52:28.7813567Z exit 0
2026-07-04T11:52:28.7813640Z fi
2026-07-04T11:52:28.7813712Z if [ "\$i" -eq "\$ATTEMPTS" ]; then
2026-07-04T11:52:28.7813789Z echo "=== FATAL: 서비스가 \$ATTEMPTS회 시도 후에도 응답하지 않음 ===" >&2
2026-07-04T11:52:28.7813878Z echo "--- 5001 listener ---" >&2
2026-07-04T11:52:28.7813956Z ss -tlnp 2>/dev/null | grep ':5001 ' >&2 || true
2026-07-04T11:52:28.7814035Z echo "--- active port file ---" >&2
2026-07-04T11:52:28.7814107Z cat "\$DEPLOY_HOME/taxbaik_port" >&2 || true
2026-07-04T11:52:28.7814361Z echo "--- 신규 앱 로그 ---" >&2
2026-07-04T11:52:28.7814436Z ACTIVE_PORT=\$(cat "\$DEPLOY_HOME/taxbaik_port" 2>/dev/null | tr -d '[:space:]' || true)
2026-07-04T11:52:28.7814523Z if [ -n "\$ACTIVE_PORT" ] && [ -s "\$DEPLOY_DIR/web_\${ACTIVE_PORT}.log" ]; then
2026-07-04T11:52:28.7814605Z tail -n 80 "\$DEPLOY_DIR/web_\${ACTIVE_PORT}.log" >&2
2026-07-04T11:52:28.7814689Z else
2026-07-04T11:52:28.7814756Z ls -la "\$DEPLOY_DIR" >&2 || true
2026-07-04T11:52:28.7814825Z fi
2026-07-04T11:52:28.7814895Z echo "--- proxy 로그 ---" >&2
2026-07-04T11:52:28.7814969Z tail -n 80 "\$DEPLOY_HOME/taxbaik_proxy.log" >&2 || true
2026-07-04T11:52:28.7815042Z exit 1
2026-07-04T11:52:28.7815107Z fi
2026-07-04T11:52:28.7815176Z echo " 대기 중... (\$i/\$ATTEMPTS, HTTP \$STATUS)"
2026-07-04T11:52:28.7815261Z sleep 3
2026-07-04T11:52:28.7815328Z done
2026-07-04T11:52:28.7815389Z REMOTE
2026-07-04T11:52:28.7815451Z
2026-07-04T11:52:28.7815507Z echo "✓ 배포 완료: taxbaik_${TIMESTAMP} @ $DEPLOY_HOST"
2026-07-04T11:52:28.7815586Z
2026-07-04T11:52:28.7815660Z echo "--- 실제 공개 도메인 종단 간 검증 (Nginx/Cloudflare 경유, 최대 3회 재시도) ---"
2026-07-04T11:52:28.7815753Z ROOT_URL="https://www.taxbaik.com/" \
2026-07-04T11:52:28.7815826Z ADMIN_URL="https://www.taxbaik.com/taxbaik/admin/login" \
2026-07-04T11:52:28.7815904Z PUBLIC_MARKER="백원숙 세무회계" \
2026-07-04T11:52:28.7815979Z PUBLIC_FORBIDDEN="관리자" \
2026-07-04T11:52:28.7816050Z ADMIN_MARKER="TaxBaik Admin" \
2026-07-04T11:52:28.7817569Z MAX_RETRIES=3 \
2026-07-04T11:52:28.7817668Z RETRY_SLEEP_SECONDS=5 \
2026-07-04T11:52:28.7817749Z bash ./scripts/taxbaik-smoke.sh
2026-07-04T11:52:28.7817825Z echo "✓ 실제 공개 도메인 전체 정상"
2026-07-04T11:52:28.7817906Z
2026-07-04T11:52:28.7817969Z send_telegram "✅ <b>TaxBaik 배포 완료</b>
2026-07-04T11:52:28.7818045Z
2026-07-04T11:52:28.7818272Z 커밋: <code>${COMMIT}</code>
2026-07-04T11:52:28.7818362Z 시간: <code>${TIMESTAMP}</code>
2026-07-04T11:52:28.7818438Z 대상: <code>${DEPLOY_HOST}</code>
2026-07-04T11:52:28.7818512Z 채널: <code>${TELEGRAM_CHAT_ID}</code>"
2026-07-04T11:52:28.7818592Z shell: bash --noprofile --norc -e -o pipefail {0}
2026-07-04T11:52:28.7818689Z ::endgroup::
2026-07-04T11:52:28.9489242Z === Deploying TaxBaik e1f3fc5 (20260704_205228) ===
2026-07-04T11:52:30.4444950Z --- [1/5] 압축 해제 ---
2026-07-04T11:52:30.7457779Z --- [2/5] 운영 설정 검증 ---
2026-07-04T11:52:30.7458350Z --- [3/5] 마이그레이션 사전 검증 ---
2026-07-04T11:52:31.0393215Z Migration dry-run validation passed.
2026-07-04T11:52:31.0395081Z --- [4/5] Green-Blue 배포 실행 ---
2026-07-04T11:52:31.0513805Z ===== 🚀 TaxBaik Green/Blue Deployment Script =====
2026-07-04T11:52:31.1068289Z Active Port: 5003
2026-07-04T11:52:31.1068779Z Target Port: 5004
2026-07-04T11:52:31.1068908Z Deploy Directory: /home/***/deployments/taxbaik_20260704_205228
2026-07-04T11:52:31.3787302Z === Starting New App on Port 5004 ===
2026-07-04T11:52:33.5017487Z === Health Checking Port 5004 ===
2026-07-04T11:52:33.5528142Z Waiting for health check... (1/20, Status: 000000)
2026-07-04T11:52:35.8895619Z ✓ Health check passed on port 5004 (Attempt 2/20)
2026-07-04T11:52:35.8896295Z === Switching Traffic to Port 5004 ===
2026-07-04T11:52:35.8937475Z ✓ Traffic routed to 5004 (via TaxBaik.Proxy on 5001)
2026-07-04T11:52:35.8980173Z === Stopping Old App on Port 5003 ===
2026-07-04T11:52:35.9294467Z Killing old process PID: 3970431
2026-07-04T11:52:35.9294887Z ✓ Old process terminated
2026-07-04T11:52:35.9295040Z === Cleaning Up Old Deployments ===
2026-07-04T11:52:35.9720244Z ✓ Cleanup completed
2026-07-04T11:52:35.9720680Z ===== ✅ Green/Blue Deployment Completed Successfully =====
2026-07-04T11:52:35.9720931Z --- [4.5/5] Nginx 설정 검증 ---
2026-07-04T11:52:35.9721040Z 실제 로드되는 설정 파일: /etc/nginx/sites-available/taxbaik-domains.conf
2026-07-04T11:52:36.1177600Z ✓ Nginx 설정 검증 통과 (실제 로드 파일 확인 + 포트 5001 고정 + trailing slash 없음)
2026-07-04T11:52:36.1178058Z --- [5/5] 헬스 체크 (최대 60초) ---
2026-07-04T11:52:36.8462330Z ✓ [1/6] 헬스 체크 완료
2026-07-04T11:52:37.3198761Z ✓ [2/6] 메인 페이지 로드 완료
2026-07-04T11:52:37.3622167Z ✓ [3/6] CSS 파일 로드 완료
2026-07-04T11:52:37.3842090Z ✓ [4/6] 버전 정보 확인 완료
2026-07-04T11:52:37.4009776Z ✓ [5/6] 5001 프록시 확인 완료
2026-07-04T11:52:37.7008335Z ✓ [6/6] 관리자 페이지 로드 완료
2026-07-04T11:52:37.7009552Z ✓ 서비스 정상 (시도 1/20)
2026-07-04T11:52:37.7095915Z ✓ 배포 완료: taxbaik_20260704_205228 @ ***
2026-07-04T11:52:37.7096655Z --- 실제 공개 도메인 종단 간 검증 (Nginx/Cloudflare 경유, 최대 3회 재시도) ---
2026-07-04T11:52:38.4168297Z ✓ https://www.taxbaik.com/ -> HTTP 200
2026-07-04T11:52:39.0288516Z ✓ https://www.taxbaik.com/taxbaik/ -> HTTP 200
2026-07-04T11:52:39.4652055Z retrying... (1/3)
2026-07-04T11:52:39.4652895Z ✗ https://www.taxbaik.com/taxbaik/admin/login -> body missing required marker: TaxBaik Admin
2026-07-04T11:52:44.9397821Z ✓ https://www.taxbaik.com/ -> HTTP 200
2026-07-04T11:52:45.4377901Z ✓ https://www.taxbaik.com/taxbaik/ -> HTTP 200
2026-07-04T11:52:45.8309474Z ✗ https://www.taxbaik.com/taxbaik/admin/login -> body missing required marker: TaxBaik Admin
2026-07-04T11:52:45.8311857Z retrying... (2/3)
2026-07-04T11:52:51.3448083Z ✓ https://www.taxbaik.com/ -> HTTP 200
2026-07-04T11:52:51.8138236Z ✓ https://www.taxbaik.com/taxbaik/ -> HTTP 200
2026-07-04T11:52:52.2580780Z ✗ https://www.taxbaik.com/taxbaik/admin/login -> body missing required marker: TaxBaik Admin
2026-07-04T11:52:52.2581412Z ✗ smoke verification failed
2026-07-04T11:52:52.6357273Z ❌ Failure - Main Deploy & verify on server
2026-07-04T11:52:52.6665921Z exitcode '1': failure
2026-07-04T11:52:52.7268833Z evaluating expression 'success()'
2026-07-04T11:52:52.7269374Z expression 'success()' evaluated to 'false'
2026-07-04T11:52:52.7273889Z Skipping step 'Setup .NET' due to 'success()'
2026-07-04T11:52:52.7568989Z evaluating expression 'always()'
2026-07-04T11:52:52.7569542Z expression 'always()' evaluated to 'true'
2026-07-04T11:52:52.7569674Z ⭐ Run Post Checkout code
2026-07-04T11:52:52.7569861Z Writing entry to tarball workflow/outputcmd.txt len:0
2026-07-04T11:52:52.7570008Z Writing entry to tarball workflow/statecmd.txt len:0
2026-07-04T11:52:52.7570113Z Writing entry to tarball workflow/pathcmd.txt len:0
2026-07-04T11:52:52.7570212Z Writing entry to tarball workflow/envs.txt len:0
2026-07-04T11:52:52.7570293Z Writing entry to tarball workflow/SUMMARY.md len:0
2026-07-04T11:52:52.7570399Z Extracting content to '/var/run/act'
2026-07-04T11:52:52.7723808Z run post step for 'Checkout code'
2026-07-04T11:52:52.7724766Z executing remote job container: [node /var/run/act/actions/c3fe249fe73091a17d6638fe1341e7bd0bcc3466ce52323c0688e83e2463a4ab/dist/index.js]
2026-07-04T11:52:52.8072739Z 🐳 docker exec cmd=[node /var/run/act/actions/c3fe249fe73091a17d6638fe1341e7bd0bcc3466ce52323c0688e83e2463a4ab/dist/index.js] user= workdir=
2026-07-04T11:52:52.8073160Z Exec command '[node /var/run/act/actions/c3fe249fe73091a17d6638fe1341e7bd0bcc3466ce52323c0688e83e2463a4ab/dist/index.js]'
2026-07-04T11:52:52.8073577Z Working directory '/workspace/***/taxbaik'
2026-07-04T11:52:53.2666905Z [command]/usr/bin/git version
2026-07-04T11:52:53.2843687Z git version 2.54.0
2026-07-04T11:52:53.3237437Z ***
2026-07-04T11:52:53.3288443Z Temporarily overriding HOME='/tmp/4641a25d-7b5c-40bd-a2eb-f31a7fe204f3' before making global git config changes
2026-07-04T11:52:53.3288900Z Adding repository directory to the temporary git global config as a safe directory
2026-07-04T11:52:53.3289067Z [command]/usr/bin/git config --global --add safe.directory /workspace/***/taxbaik
2026-07-04T11:52:53.3435363Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
2026-07-04T11:52:53.3459079Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
2026-07-04T11:52:53.4496862Z [command]/usr/bin/git config --local --name-only --get-regexp http\.http\:\/\/gitea\:3000\/\.extraheader
2026-07-04T11:52:53.4639662Z http.http://gitea:3000/.extraheader
2026-07-04T11:52:53.4640963Z [command]/usr/bin/git config --local --unset-all http.http://gitea:3000/.extraheader
2026-07-04T11:52:53.4641689Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.http\:\/\/gitea\:3000\/\.extraheader' && git config --local --unset-all 'http.http://gitea:3000/.extraheader' || :"
2026-07-04T11:52:53.5029742Z [command]/usr/bin/git config --local --name-only --get-regexp ^includeIf\.gitdir:
2026-07-04T11:52:53.5068440Z [command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
2026-07-04T11:52:53.5587736Z ✅ Success - Post Checkout code
2026-07-04T11:52:53.5676536Z Cleaning up container for job build-and-deploy
2026-07-04T11:52:54.9274890Z Removed container: 38a8f2573b175905af3061f62859a62215b44ac231968fbb4eeafac8bd92afd1
2026-07-04T11:52:54.9348446Z 🐳 docker volume rm GITEA-ACTIONS-TASK-1516-WORKFLOW-TaxBaik-CI-CD-JOB-build-and-de-2a7daee2084bff91b11c6ea9ee980c5a04abe542a26ee3bf5f0e0f5028069029
2026-07-04T11:52:55.1953223Z 🐳 docker volume rm GITEA-ACTIONS-TASK-1516-WORKFLOW-TaxBaik-CI-CD-JOB-build-and-de-2a7daee2084bff91b11c6ea9ee980c5a04abe542a26ee3bf5f0e0f5028069029-env
2026-07-04T11:52:55.8798139Z 🏁 Job failed
2026-07-04T11:52:55.8975457Z Job 'build-and-deploy' failed