Skip to content

Fix: sporadic build errors caused by the build sequence of tailwind#738

Open
dk-qwq wants to merge 1 commit intosaicaca:mainfrom
dk-qwq:fix/issue-528
Open

Fix: sporadic build errors caused by the build sequence of tailwind#738
dk-qwq wants to merge 1 commit intosaicaca:mainfrom
dk-qwq:fix/issue-528

Conversation

@dk-qwq
Copy link
Copy Markdown

@dk-qwq dk-qwq commented Feb 20, 2026

Type of change

  • Bug fix (a non-breaking change that fixes an issue)
  • New feature (a non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Other (please describe):

Checklist

  • I have read the CONTRIBUTING document.
  • I have checked to ensure that this Pull Request is not for personal changes.
  • I have performed a self-review of my own code.
  • My changes generate no new warnings.

Related Issue

#528

Changes

Add import in markdown.css to fix the build sequence error

How To Test

You can use this script to test the failure rate

My result was 10% before the modification
After modification, it is 0%

#!/bin/bash

TOTAL=${1:-50}
SUCCESS=0
FAILURE=0

echo "开始执行 $TOTAL 次构建..."

for ((i=1; i<=TOTAL; i++))
do
  echo -n "进度: $i/$TOTAL ... "
  
  if pnpm astro build > /dev/null 2>&1; then
    echo "成功"
    ((SUCCESS++))
  else
    echo "失败"
    ((FAILURE++))
  fi
done

# 计算失败率
RATE=$(echo "scale=2; $FAILURE * 100 / $TOTAL" | bc)

echo "---------------------------------------"
echo "完成!"
echo "总计: $TOTAL"
echo "成功: $SUCCESS"
echo "失败: $FAILURE"
echo "失败率: $RATE%"

@vercel
Copy link
Copy Markdown

vercel bot commented Feb 20, 2026

@dk-qwq is attempting to deploy a commit to the zephyirdgmailcom's projects Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant