HackMD
    • Sharing Link copied
    • /edit
    • View mode
      • Edit mode
      • View mode
      • Book mode
      • Slide mode
      Edit mode View mode Book mode Slide mode
    • Note Permission
    • Read
      • Only me
      • Signed-in users
      • Everyone
      Only me Signed-in users Everyone
    • Write
      • Only me
      • Signed-in users
      • Everyone
      Only me Signed-in users Everyone
    • More (Comment, Invitee)
    • Publishing
    • Commenting Enable
      Disabled Forbidden Owners Signed-in users Everyone
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Invitee
    • No invitee
    • Options
    • Versions
    • Transfer ownership
    • Delete this note
    • Template
    • Save as template
    • Insert from template
    • Export
    • Google Drive Export to Google Drive
    • Gist
    • Import
    • Google Drive Import from Google Drive
    • Gist
    • Clipboard
    • Download
    • Markdown
    • HTML
    • Raw HTML
Menu Sharing Help
Menu
Options
Versions Transfer ownership Delete this note
Export
Google Drive Export to Google Drive Gist
Import
Google Drive Import from Google Drive Gist Clipboard
Download
Markdown HTML Raw HTML
Back
Sharing
Sharing Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
More (Comment, Invitee)
Publishing
More (Comment, Invitee)
Commenting Enable
Disabled Forbidden Owners Signed-in users Everyone
Permission
Owners
  • Forbidden
  • Owners
  • Signed-in users
  • Everyone
Invitee
No invitee
   owned this note    owned this note      
Published Linked with
Like BookmarkBookmarked
Subscribed
  • Any changes
    Be notified of any changes
  • Mention me
    Be notified of mention me
  • Unsubscribe
Subscribe
--- tags: cofacts, meeting note GA: UA-98468513-3 --- 20230921 會議記錄 ===== :::info - [所有會議記錄](https://g0v.hackmd.io/@mrorz/cofacts-meeting-notes/) - 線上出席: - https://gather.town/app/z3x18KQFgZCX8MeZ/cofacts ::: ## :potable_water: Release pipeline ### :star: Released to production #### :electric_plug: API - https://github.com/cofacts/rumors-db/releases/tag/release%2F20230913 - https://github.com/cofacts/rumors-api/releases/tag/release%2F20230913 #### :globe_with_meridians: Site - https://github.com/cofacts/collab-server/releases/tag/release%2F20230913 - https://github.com/cofacts/rumors-site/releases/tag/release%2F20230913 ## CCPRIP ### [Infra] Log cost saving API switched to Google cloud log on 2023/9/16 ![](https://s3-ap-northeast-1.amazonaws.com/g0v-hackmd-images/uploads/upload_1d25c378f879229bacd2bfe6c108b9b8.png) AWS cost estimates ![](https://s3-ap-northeast-1.amazonaws.com/g0v-hackmd-images/uploads/upload_288a284940e3a63ae29e482bcf68bf8b.png) - June: USD 60 in cloud watch ([previous assessment](https://g0v.hackmd.io/@cofacts/meetings/%2F5Pn97RTPTpmsrW4opnSKNA)) - 6/7 make log compact - 8/17 log cost saving deployed https://g0v.hackmd.io/Fmkhf62_SKGIlwwwLrRnAw#Infra-Log-cost-saving - 9/16 switch to GCP #### Google cloud log - 同一個 project 的 log 通通都放在同一個 bucket, 可 filter by instance ID - 30-day retention - May connect to BigQuery (but not yet activated) for free (?) #### Follow-up - Move chatbot log? - will be moved when we migrate line bot to cloudrun ### [Infra] Migrate to Cloudrun > https://g0v.hackmd.io/BRsJOevWSbyUMBSZEVVWrA#Phase-1-rumors-site-amp-rumors-line-bot-%E4%B8%8A-Google-cloud-run > #### Original (Web Request) --> Cloudflare --> Linode nginx --> Linode site Linode nginx handles: - map to correct site - adding link headers ([alternative](https://developers.google.com/search/docs/specialty/international/localized-versions?hl=zh-tw) tags, block robots to staging site) - redirect `/hack`, `/analytics` - cofacts.g0v.tw --301--> cofacts.tw - cofacts.g0v.tw SSL #### Now (Web Request) --> Cloudflare --> Cloud run (with [domain mapping](https://cloud.google.com/run/docs/mapping-custom-domains)) Now on Cloud Run: - Staging sites - Production EN & JA sites ![](https://s3-ap-northeast-1.amazonaws.com/g0v-hackmd-images/uploads/upload_dfe5a72c693f9b0fd2b5278250f3c276.png) - Connect zh.cofacts.tw to cloudflare; cofacts.tw still on Linode - All domains must turn on "Full SSL" on Cloudflare - because cloud run must be accesed with HTTPS; it will redirect HTTP requests - Under "flexible SSL", Cloudflare will always use HTTP to connect to upstream, causing infinite redirects - Added "Cloud run HTTPS" as Cloudflare configuration rules Nginx settings migrated to Cloudflare: - adding link headers ([alternative](https://developers.google.com/search/docs/specialty/international/localized-versions?hl=zh-tw) tags, block robots to staging site) - redirect `/hack`, `/analytics` ![](https://s3-ap-northeast-1.amazonaws.com/g0v-hackmd-images/uploads/upload_9bc1f69172e40f58d6fd6f6d6c79a8bd.png) #### Observing - CPU & RAM utilization ![](https://s3-ap-northeast-1.amazonaws.com/g0v-hackmd-images/uploads/upload_e956f5e83f44b3d972f86a59f98a33dd.png) ![](https://s3-ap-northeast-1.amazonaws.com/g0v-hackmd-images/uploads/upload_a0e058bc8bed688018bf8c7d60f3b743.png) - Instance count - Cost ![](https://s3-ap-northeast-1.amazonaws.com/g0v-hackmd-images/uploads/upload_57ef87ddaf5c5315b6aea6957bc249bf.png) #### TODO - Github action image build --> deploy to corresponding cloud run - Maybe use a dedicated service account for Github action deploys? ![](https://s3-ap-northeast-1.amazonaws.com/g0v-hackmd-images/uploads/upload_625877e01b5bc24c9fa6b37c3a81c0a6.png) - Move cofacts.tw to Cloud Run? - Have 30min ~ 60min downtime when setting Cloud Run domain mapping https://stackoverflow.com/a/60063505 - Observe billing on en & ja sites first ### [Comm] Transcript > https://g0v.hackmd.io/@cofacts/rd/%2FOhGIQzoxR5eF6audQuS_FQ > [name=nonumpa] #### AI: API 寫入 ydoc > Design doc https://g0v.hackmd.io/wkx286lmTDaFUpgRhnUawQ#CreateMediaArticle > Related discussion on 2023/8/2: https://g0v.hackmd.io/0tPABSZ6SRKswBYqAc1vZw#API > [name=mrorz] 繼續完成 https://github.com/cofacts/rumors-api/compare/master...write-ai-transcript #### Auth > [name=mrorz] No progress yet ## 小聚檢討 > 小松果 https://g0v.hackmd.io/lXd4Ypg_S12HLxs5z9wAkQ - 出席人數:11 / 報名:23 (出席率 50%) - 場地很好 - 好民場地不是最便宜的 [name=cai] - 苗栗~彰化、南投都算近 [name=cai] - 南園酒家再高價一點,二樓獨立樓梯上去,比較高價 [name=cai] - 可以看好民臉書他們辦在南園酒家的活動照片 - 對台北跟高雄來說超便宜,又在 1F、有交通 [name=bil] - 缺點是比較窄 [name=bil] - 前一週宣傳非常好,11 月比照辦理 [name=mrorz] - 減少「可以怎麼做」的 instruction、改成「希望如何」[name=bil] - 我會介紹「可以」然後再建議 [name=mrorz] ## 新營小聚 - 11/18, bil 不在, rosalind - 開 32 人 (場地 capacity) - 先改完海報過去給他們貼兩個月 [name=bil] - 前一週 LINE 宣傳:嘉義、台南 ## 檢舉處理 ### NX 多重帳號案 https://cofacts.tw/reply/Is-kVYoBrkRFoI6rzOOr - 處理投票時,應該一並考慮 category vote ### Ace chan https://cofacts.github.io/community-builder/#/editorworks?showAll=1&day=365&userId=K_RHp4oBAjOeMOklr6MS - 可以只讓登入的使用者看嗎 [name=bil] - 現在還沒有這個機制,除非刪掉他 [name=mrorz] - 那不要處理好了 - 未來可以討論要不要折疊負評的回應 [name=mrorz] ### 楊不梅 - https://cofacts.tw/user/%E6%A5%8A%E4%B8%8D%E6%82%94 - https://cofacts.github.io/community-builder/#/editorworks?showAll=1&day=365&userId=js8xZYoBrkRFoI6rjelx - 回得不好,但好像也沒有太違反使用者條款 [name=mrorz] - 社群討論 [name=bil] :::success Johnson 社群討論 ::: ## Rollbar over limit ![](https://s3-ap-northeast-1.amazonaws.com/g0v-hackmd-images/uploads/upload_302294981fe1d042444976fa047352a8.png) - 應該是因為我們把 `otherFields` 拿掉了? https://github.com/cofacts/rumors-line-bot/pull/361/files [name=mrorz] - First peak 9/2 --> due to [Release](https://github.com/cofacts/rumors-line-bot/releases/tag/release%2F20230902) ![](https://s3-ap-northeast-1.amazonaws.com/g0v-hackmd-images/uploads/upload_c6dbe250ababac3242a84640718ac735.png) - 有一個月的時間修 XD ![](https://s3-ap-northeast-1.amazonaws.com/g0v-hackmd-images/uploads/upload_5d2e578f8ce74f08ec5703793beca0b3.png) :::success nonumpa++ :::

Import from clipboard

Advanced permission required

Your current role can only read. Ask the system administrator to acquire write and comment permission.

This team is disabled

Sorry, this team is disabled. You can't edit this note.

This note is locked

Sorry, only owner can edit this note.

Reach the limit

Sorry, you've reached the max length this note can be.
Please reduce the content or divide it to more notes, thank you!

Import from Gist

Import from Snippet

or

Export to Snippet

Are you sure?

Do you really want to delete this note?
All users will lost their connection.

Create a note from template

Create a note from template

Oops...
This template has been removed or transferred.


Upgrade

All
  • All
  • Team
No template.

Create a template


Upgrade

Delete template

Do you really want to delete this template?

This page need refresh

You have an incompatible client version.
Refresh to update.
New version available!
See releases notes here
Refresh to enjoy new features.
Your user state has changed.
Refresh to load new user state.

Sign in

Forgot password

or

Sign in via GitHub

New to HackMD? Sign up

Help

  • English
  • 中文
  • 日本語

Documents

Tutorials

Book Mode Tutorial

Slide Example

YAML Metadata

Resources

Releases

Blog

Policy

Terms

Privacy

Cheatsheet

Syntax Example Reference
# Header Header 基本排版
- Unordered List
  • Unordered List
1. Ordered List
  1. Ordered List
- [ ] Todo List
  • Todo List
> Blockquote
Blockquote
**Bold font** Bold font
*Italics font* Italics font
~~Strikethrough~~ Strikethrough
19^th^ 19th
H~2~O H2O
++Inserted text++ Inserted text
==Marked text== Marked text
[link text](https:// "title") Link
![image alt](https:// "title") Image
`Code` Code 在筆記中貼入程式碼
```javascript
var i = 0;
```
var i = 0;
:smile: :smile: Emoji list
{%youtube youtube_id %} Externals
$L^aT_eX$ LaTeX
:::info
This is a alert area.
:::

This is a alert area.

Versions

Versions

Upgrade now

Version named by    

More Less
  • Edit
  • Delete

Note content is identical to the latest version.
Compare with
    Choose a version
    No search result
    Version not found

Feedback

Submission failed, please try again

Thanks for your support.

On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

Please give us some advice and help us improve HackMD.

 

Thanks for your feedback

Remove version name

Do you want to remove this version name and description?

Transfer ownership

Transfer to
    Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.